安装或更新至HP-UX 11.0 必读文档,2004 年 3 月
- 格式:pdf
- 大小:324.35 KB
- 文档页数:20
HP-UX 11.X Security设置在HP-UX 11i作业系统发行地同时,其实有少许HP-UX 11i作业系统上地系统安全功能已经悄悄地透过HP-UX作业系统地修正补强程式(patch)在HP-UX 11.0作业系统上慢慢地补强中,这些功能在系统管理上相当实用,但一般地系统管理者大多并未查觉这些功能地存在,有地功能甚至需要自行撰写Shell script来完成,如今透过这些功能可以省下系统管理者在系统安全管理地额外地工作。
这些功能地设定可以由一个设定档来完成-/etc/default/security。
在HP-UX 11i作业系统中,系统安全地功能已经存在于系统,在修改/etc/default/security地设定后即可生效运用;但在HP-UX 11.0作业系统中,需要再行安装以下地修正程式:修正程式编号说明PHCO_16127su(1) cumulative patchPHCO_25527libpam and libpam_unix cumulative patchPHCO_25590login(1) cumulative patch这些修正程式会因时间而有最新版地发行,建议安装相关修正程式地最新版本。
请运用HP-UX作业系统上软体安装程式「swinstall」来安装以上地修正程式,安装地方法请参照各修正程式所附之说明档案。
在准备好可以运用/etc/default/security地环境之后,我们要来介绍/etc/default/security档案地格式。
/etc/default/security是用来描述对于系统安全控管地行为。
在/etc/default/security中地每一行可以是注解或者是指定命令地设定资讯。
注解行是以「#」为开头,随后可以加注说明,例如:# The following parameter is to set the number of logins allowed非注解行则是以parameter = value地型式存在于/etc/default/security中,用来描述对于系统安全控管地行为,例如:NUMBER_OF_LOGINS_ALLOWED=3如果可运用地参数没有定义于/etc/default/security中,或者是运用「#」将该参数行标记为注解行,则HP-UX作业系统将会运用系统预设地值做为安全控管地行为。
2014 年 4 月尊敬的惠普客户:HP-UX 11i v3 操作环境更新发行版 (OEUR) – 2014 年 3 月最新版本的 HP-UX 11i v3 操作环境更新发行版(简称为“HP-UX OEUR 2014 年 3 月版”或 HP-UX 11i v3)现在可用于 HP Integrity(基于 Intel ® Itanium®)系统。
新版本提供了新的增强功能,进一步优化了系统,提高了可用性与效率,统一和简化了管理工作,同时提供了持久的投资保护。
HP-UX OEUR 2014 年 3 月版面向拥有有效支持协议的客户。
本文档中包含的信息旨在帮助您确定是否适合使用此版本。
这一 HP-UX11i v3 更新具有以下名称:名称使用HP-UX 11i v3 2014 年 3 月更新发行版标准名称和 DVD 标签HP-UX 11.31 VUF 名称重要变更和说明:电子软件通知和交付自 2012 年 6 月起,HP-UX 11i v3 电子软件交付模式的适用范围除美洲、欧洲、中东和亚洲之外,又增加了中国和日本。
下载包包括每个操作系统的 ISO 映像。
每个 ISO 映像都会在客户现场被刻录到 DVD 中,然后像使用物理 DVD 一样进行安装。
电子许可证和介质的报价和订购方式与物理许可证和介质相同。
自 2011 年 7 月起,所有软件更新通知和大部分交付都以电子形式提供。
由于软件转为以电子方式提供下载,因此惠普将不再普遍采用发送软件介质套件的方式。
注意:操作环境/操作系统产品(HP-UX 和 OpenVMS)将继续以物理和电子交付方式提供。
Firefox Web 浏览器此时将不会被淘汰,也不会从 OE 介质中删除正如先前 1203 客户信函所述,目前不会将 Firefox Web 浏览器和 Thunderbird 电子邮件客户端从 HP-UX OE 中删除。
但是,在未来的 OE 更新发行版中可能会考虑将其淘汰并删除。
HP-UX操作系统安装说明1 设置显示输出新出厂的hp rx2660机器输出默认定义到串行口,需要修改为正确的显卡,设置完保存以后不用再次设置。
1.1连接计算机所有电缆,加电,显示引导管理界面,选择‘Boot Configuration’选项。
1.2选择‘Console Configuration’选项。
1.2选择正确的显示卡输出,在其前设置“P”,其它的输出设备设置为“NC”。
一般情况主板上集成的显卡设备是“VGA Acpi(HWP0002,PNP0A03,0)/PCI(3|0)”,外加的显卡设备是“VGA Acpi(HWP0002,PNP0A03,300)/PCI(1|0)”。
设置完成后保存设置。
2 做SAS卡磁盘镜像(此步可选)如果不做镜像此步可以略高。
如果HP rx2660小机配置多块硬盘,并且没有配置raid卡,两块硬盘做镜像可以通过主板上的SAS卡进行配置。
2.1从引导菜单中选择EFI Shell (Built In)2.2回车进入shell界面,键入drvcfg –s命令。
2.3选择做镜像的SAS卡2.4选择“RAID Properties”2.4选择“RAID Properties”2.5默认“RAID DISK”为“NO”,用空格键将其改为“Yes”,键入“c”创建镜像盘,保存配置。
3做RAID卡磁盘镜像(此步可选)如果机器配置了RAID卡,用RAID卡做磁盘RAID 1或RAID 5。
3.1 在机器启动期间看屏幕提示按“F8”键,进入设置界面,根据屏幕提示操作。
3 操作系统安装3.1 准备HP-UX操作系统光盘(两张DVD),版本2007年12月份以后(HP-UX 11i V2B.11.23)。
3.2 连接计算机所有电缆,加电,把可引导的第一张DVD光盘放入光驱3.3 系统开始引导,(如果系统没有自动引导)它会转到引导菜单。
这是一个限时菜单,按任意键可以使计时器停止运行。
3.4 可以按下列步骤从EFI shell 手动进行安装。
HP-UX 参考手册第 1 节:用户命令(A-M)HP-UX 11i v3第 1 卷(共 10 卷)生产部件号:B2355-91037E0207© 版权所有 1983-2007 Hewlett-Packard Development Company L.P.法律声明本文档中的信息如有更改,恕不另行通知。
担保随 HP 产品及服务提供的明示性担保声明中列出了适用于此 HP 产品及服务的专用担保条款。
本文中的任何内容均不构成额外的担保。
HP 对本文中的技术或编辑错误以及缺漏不负任何责任。
美国政府许可机密计算机软件。
必须有 HP 授予的有效许可证,方可拥有、使用或复制本软件。
根据供应商的标准商业许可证的规定,美国政府应遵守 FAR 12.211 和12.212 中有关“商业计算机软件”、“计算机软件文档”与“商业货物技术数据”条款的规定。
附加版权声明本文档及其所涉及的软件可能同时受到下述一项或多项版权的保护。
某些单独的联机帮助页将对这些附加版权加以认可。
版权所有 1979, 1980, 1983, 1985-1993 Regents of the University of California版权所有 1980, 1984, 1986 Novell, Inc.版权所有 1985, 1986, 1988 Massachusetts Institute of Technology版权所有 1986-2000 Sun Microsystems, Inc.版权所有 1988 Carnegie Mellon University版权所有 1989-1991 The University of Maryland版权所有 1989-1993 The Open Software Foundation, Inc.版权所有 1990 Motorola, Inc.版权所有 1990-1992 Cornell University版权所有 1991-2003 Mentat Inc.版权所有 1996 Morning Star Technologies, Inc.版权所有 1996 Progressive Systems, Inc.II商标声明Intel 和 Itanium 均为 Intel Corporation 在美国和其他国家(地区)的注册商标,使用时已受到许可。
HP-UX 11i 发行版(2009 年 12 月)我们非常荣幸地宣布发行 HP-UX 11i v1 Support Plus 和 HP-UX 11i v2 Support Pack 光盘(“HP-UX Support Plus 11i v1 2009 年 12 月版”以及“HP-UX Support Pack 11i v2 2009 年 12 月版”)的最新版本。
此最新更新适合 HP 9000(基于 PA-RISC)系统和 HP Integrity(基于 Itanium®2)系统的用户使用。
具备有效支持协议的用户都可获取 2009 年 12 月发布的 HP-UX Support Plus HP-UX 11i v1 和 Support Pack HP-UX 11i v2。
本文档中的信息旨在帮助判断此版本的适用性。
Support Pack Program HP-UX 11i v2Support Pack 光盘提供 QPK 程序包、诊断软件的新版本、Online Diags 和 SystemFault Manager。
它还提供 Software Pack Program的新版本。
Software Pack Program 在 11iv2 DVD Support Pack 光盘上提供多种可选的 HP-UX 11i v2 核心增强功能。
在 Support Pack 光盘的 DOCS 目录下可以找到产品说明,其中有各个增强功能的说明。
有关 Support Pack 光盘的详细信息,请参阅 RBI 手册。
除了从光盘上获取核心增强功能以外,还可以从 HP 软件库下载。
1. 转至。
2. 搜索“SWPACKv2”3. 单击“HP-UX Software Pack(可选的 HP-UX 11i v2 核心增强功能)”。
您可以在此站点上阅读和下载特定产品的说明。
•11i v2 Support Pack 光盘上整合了先前在 11iv2 Software Pack 光盘上提供的产品以及仅在网站上提供的产品。
HP-UX11.0操作系统安装指南--------------------------------------------------------------------------------安装所需的介质和资料:HP-UX 11.0 Core OS Install/Update/Recovery光盘(1张)HP-UX 11.0 Support Plus光盘(1张)HP-UX 11.0 Application Software光盘(5张)1.安装前的准备:在系统的安装之前检查机器的各线连接,将机器通过网线接到hub上,并且在确保各个外设(磁带机.磁盘阵列等)加电后,然后再开机。
2.在屏幕上将看到:"Processor is booting from fist availiable deviceTo discontinue.press any keuy within 10 seconds"在10秒之内按任意键,之后屏幕将显示一9个命令集画面:Main Menu…………………………………………….Command DescriptionBoot[PRI|ALT|] Boot from specified path………………………………………………………………………………………………………………………………………………Main Menu : Enter command >3.将HP-UX11.0CoreOSInstall/Update/Recovery放入光驱或DVD,4.键入命令SEA,系统会查询硬件设备的物理路径:Main menu :Enter command >sea(例如)Path Number Device path Device TypeP0 8/4.5 Random access mediaP1 8/4.9 Random access mediaP2 ……………5.根据'device path如:8/4.5'与机器前门内标注(D250)确定光驱或DVD的路径,假设为P1 8/4.9键入命令bo p1回车:Main Menu:Enter command>bo p16 .系统会询问是否要进行交互访问,要输入 n回车Interact with IPL? > n注意: :接下来可能出现屏幕乱码现象,解决方法:按User System 键,屏幕底出现8个小亮块,最右边一块为按F8键,8个亮块发生变化,其中有一个为 ,按F5键, 进入TERMINAL CONFIGURA TIONJIEMIAN界面,将TERM MODE项的值改为EM100),然后按F1,保存设置7.系统要求选择安装方式:Welcome to the HP-UX installation/recovery process!Use the <tab> key to navigate between fields,and the arrow keysWithin e the <return/enter>key to select an item .Use the <return>or <spacebar>to pop-up a choices list.If theMenus are not clear,select the "Help" item for more information.[Install HP-UX ][Run a Recovery Shell][Advance Options ]选择[Install HP-UX],回车继续。
HP-UX 11i v3 Operating Environment Update Release (OEUR) – 2013 年 3 月最新版本的 HP-UX 11i v3 Operating Environment Update Release(2013 年 3 月,简称为“HP-UX OEUR 2013 年 3 月版”或 HP-UX 11i v3)现在可用于 HP Integrity(基于 Intel ® Itanium®)系统。
此版本提供了以下全新的增强功能:简化和统一 IT(系统管理);同时还带来了:始终可用的恢复能力(高可用性和安全性);动态优化能力(虚拟化和基础设施管理);以及投资保护能力(开发工具和服务器预启用)。
HP-UX OEUR 2013 年 3 月版面向拥有有效支持协议的客户提供。
本文档中包含的信息旨在帮助确定您是否适合使用此发行版。
此 HP-UX 11i v3 更新具有以下两个名称:名称用法HP-UX 11i v3 2013 年 3 月更新标准名称和 DVD 标签HP-UX 11.31 VUF 名称重要变更和说明:电子软件通知和交付自 2012 年 6 月起,HP-UX 11i v3 电子软件交付模型已从美洲、欧洲、中东和亚洲扩展到包括中国和日本。
下载内容包括每个 OE 的 ISO 映像。
每个 ISO 映像都会在客户现场被刻录到 DVD 中,然后像安装物理 DVD 一样进行安装。
电子许可证和介质的报价及订购均通过价目表完成,与物理许可证和介质的报价及订购方式相同。
自 2011 年 7 月以来,所有软件更新通知和大多数交付均以电子方式提供。
过渡到电子软件下载后,软件介质包发货方式不再被广泛采用。
Note:操作环境/操作系统产品 - HP-UX、OpenVMS、True64 将继续通过实物和电子交付方式提供。
废弃并从 OE 介质中移除(从 2013 年 3 月开始):OE 介质上将不再附带 TC097AA(HP Operations Agent 的较旧版本),取而代之是 TC097CA。
HP-UX 11i v1 Operating Environment Update Release (OEUR)for June 2004HP is pleased to announce the latest release of HP-UX 11i v1 Operating Environment Update Release (OEUR). The June 2004 HP-UX 11i v1 OEUR is available to support customers by request only. Please use the following information to decide whether this release is right for you.If you need detailed information on the changes in the June 2004 HP-UX 11i v1 Operating Environment, you can visit /hpux/os/11i/index.html and click on the “Release Notes” link to go to the HP-UX 11i v1 June 2004 Release Notes.Operating Environment (OE) Release StrategyAs communicated in December 2003, the HP-UX OE media will be updated twice a year starting with the June 2004 release. This does not affect the application releases (AR), which will still remain on a quarterly cycle. Because of the timing, the AR media and software depot may contain versions of products, which are more recent than those contained in the OE media. This is because the OE is built with the most recent versions of products available at the time of OE integration and testing. Versions of software products available after the integration and testing must wait until the next OE update cycle to be included in the OE media.For June 2004, the HP-UX 11i v1 (B.11.11) OE media are updated. The Quality Packs and HWE bundles are also updated on this cycle with the appropriate OE change. HP will communicate information on the plans for future releases through our online communication at/RELEASES-MEDIA/.What’s New in the HP-UX 11i v1 June 2004 Release?A. Updates to the HP-UX 11i v1 in June 2004Workstation/Server Specific Information•Diagnostics updated to support rp3410-2 and rp4410-2. EMS Hardware Monitors updated to support MSA-30 U320 Parallel SCSI JBOD and MSA-1000 FC Disk Array.•Hardware Enablement Patch Bundle updated to enable IDE disks, Core Serial I/O, and 3D Graphics on C8000 workstation; added support for HP StorageWorks SDLT600 Tape Drive; added support for new I/O cards; added support for new DVD and CD opticaldevices for HP servers and workstations.HP-UX 11i Version 1 Operating Environment Applications•Codeword iCOD updated to version 6.02 to incorporate a defect fix.•Enterprise Cluster Master (ECM) Toolkit updated to version B.02.10 with the addition of a new toolkit for the Tomcat Java Servlet and the removal of Netscape applications.•Event Monitoring Service updated to version A.04.00.02 to incorporate defect fixes.•Graphics and Technical Computer Environment bundle updated to version B.11.11.20.03 with support for ATI FireGL X1 and ATI FireGL T2.•GTK+ Libraries updated to version 1.4.gm.46.7 to support changes to the Operating Environments. No new functionality added.•High Availability (HA) Monitors updated to version A.04.00.02 to incorporate defect fixes.•HP 3D Technology for the Java 2 Platform updated to incorporate packaging changes.No new functionality added.•HP CIFS Client updated to version A.01.09.01 to incorporate defect fixes.•HP Process Resource Manager updated to version C.02.02 with support of a version option, support of SSL encryption of login/password data, more consistent syslogmessaging, and other changes.•HP Serviceguard updated to version A.11.16 with new functionality, defect repairs, and support for future new hardware configurations.•HP Serviceguard Manager updated to version A.04.00, which allows administrators to create, configure, monitor, and manage clusters and packages. HP ServiceguardQuorum Server updated to version A.02.00.01 to support future platforms.•HP-UX Apache-based Web Server updated to version A.2.0.49 as a feature release which contains support for Microsoft FrontPage 2002, more pHP extensions, andnumerous version upgrades.•HP-UX HIDS v1.0 deprecated and planned for future obsolescence.•HP-UX IPFilter updated to version A.03.05.09 with support for multi-level groups and for IP address ranges in IPFilter rules, as well as enhancements to DCA and to logging,memory allocation, and commands.•HP-UX Tomcat-based Servlet Engine updated to version A.4.1.29.02 with Tomcat version upgraded to 4.1.29.02; mod_jk and related configuration files shipped with HP-UX Apache-based Web Server; and defect fix to the Tomcat Admin application.•HP-UX Webmin-based Admin updated to version A.1.070.00 as a full-feature release that contains numerous enhancements, including support for 32-bit Apache (if installed);backup, version management (RCS); retrieval of Apache configuration files; and others.•HP-UX Workload Manager updated to version A.02.02 with a new GUI that allows local and remote management of WLM systems; automatic resizing of node partitions (nPars) that use iCOD software; support for more WLM configuration options by the Configuration Wizard; and other changes.•HP-UX Workload Manager Toolkits updated to version A.01.05 with utilities now using /opt/perl/bin/perl, as well as support for Apache 2. x and enhancements to utilitydc.•HP-UX XML Web Server Tools updated to version A.2.00 as primarily a version upgrade release, with upgrades to Xerces-J, Xalan-J, Cocoon, and FOP.•Ignite-UX updated to version B.5.4. x with several changes, including updates to the make_*_recovery tools and enhancements to the GUI.•New Product: Java for HP-UX Add-on Standard C++ Runtime Libraries for the SDK and for the RTE now default-installed in all OEs.•Java Out-of-Box updated to version 2.03.00 to incorporate defect fixes.•Mozilla Application Suite updated to version 1.4.00.01 with full Japanese localization as well as other defect fixes and enhancements.•New Product: OpenSSL added. OpenSSL is an open source cryptography toolkit that implements the Secure Sockets Layer (SSL v2 and v3) and Transport Layer Security(TLS v1) network protocols and related required cryptography standards.•Pay Per Use updated to version B.07.00 so that either pricing model can be used as the metric and so that a processor cap can be specified.•Perl updated to version 5.8.0 with better Unicode support, new IO and thread implementation, better numeric accuracy, and other enhancements.•Plug-in (JPI) for the Java 2 Platform versions 1.3 and 1.4 only will be installed.•New Products: Software Development Kit for the Java 2 Platform (full) 1.3 and 1.4 now delivered.•Software Package Builder updated to version A.02.00 to allow detection of ambiguous objects and to support editing multiple Product Specification Files (PSFs) and open andview depots within the SPB GUI.•Servicecontrol Manager updated to version 03.00.06 to incorporate defect fixes. Networking and Mass Storage Drivers•FibrChanl-01 updated to incorporate defect fixes.•GigEther-01 updated to incorporate defect fixes.•IEther-00 updated to incorporate defect fixes.•RAID-01 updated to support the A9890A SmartArray 6402 card on PA-RISC systems.•The scsiU320-00 bundle updated with quality and diagnostic improvements for Ultra320 SCSI solutions.Installation•Software Distributor updated to incorporate defect fixes.•Update-UX updated to incorporate defect fixes.General System Administration and Performance Monitoring•HP-UX Buffer Cache Tunable Parameters (nbuf, bufpages, bufcache_max_pct, dbc_min_pct, dbc_max_pct) now deprecated.•HP-UX Newadb now available on Software Pack.Disk and File Management•Enhanced AutoFS now available on Software Pack.•Portable File System (PFS) now obsoleted. Equivalent functionality now provided and supported via CDFS with RockRidge Interchange extensions support.•DeviceIDs now available on Software Pack.Internet and Networking Services•The landiag program and command now deprecated. Will be obsoleted post HP-UX 11i v2.•The lanscan command path will change post HP-UX 11i v2.•The linkloop command path will change post HP-UX 11i v2.Security•Boot Authenticator for Standard Mode of HP-UX now available on Software Pack.Programming•HP-UX Shared Memory Extensions now available on Software Pack•The pstat_getfile() interface now deprecated.•Transition links deprecated and planned for future discontinuance.B. Additional MaterialsInternet ExpressInternet Express is a collection of Open Source Web, Internet, and security services, which have been tested and qualified on HP-UX. Internet Express is an easily installed, configured and administered product. The open source components are configured through the web-based Webmin administration utility, which is shipped as part of the HP-UX Apache offering.HP-UX Hardware Enablement (HWEnable11i)The Hardware Enablement (HWE) Program updates the content in the HWEnable11i Patch Bundle, the HP-UX Support Tools (Online Diagnostics), and other HP-UX software to support hardware on HP systems with an HP-UX 11i v1 Operating Environment (OE). The HWEnable11i bundle and the HP-UX Support Tools provide support for new and future systems, I/O adapters, and mass-storage products. This HP-UX software is labeled as required, ignited on new systems in HP manufacturing, and automatically loaded as part of any 11i v1 OE update.In addition to the HP-UX 11i v1 OE media, the HWEnable11i bundle is available at the IT Resource Center () and at HP Software Depot ().For information on firmware requirements, see the HP-UX 11i Version 1 Installation and Update Guide, available in your media kit, on the Instant Information DVD, and at/hpux/os/11i/index.html.Summary of Change• Updated diagnostics support for the following PA-8800 servers: — rp3410-2 server with 1 or 2 processor cores (800 MHz & 1 GHz)— rp4410-2 server with 1 or 2 processor cores (800 MHz & 1 GHz)• Enabled IDE disks, Core Serial I/O, and 3D Graphics support on new workstation: — C8000 workstation with one or two dual PA-8800 processor modules • Updated EMS Hardware monitors to support the following peripherals: — MSA-30 U320 Parallel SCSI JBOD— MSA-1000 FC Disk Array• Added SCSI driver support for the following tape drive: — HP StorageWorks SDLT600 Tape Drive• Added support for the following new I/O cards: — A9890A - PCI-X 2-Channel SmartArray 6402 RAID U320• Added support for the following new DVD Writer optical devices for HP servers:• Added support for the following new DVD and CD optical devices for HP workstations:Supported DVD Writer Optical Devices for Workstations Product Number Product Description Platforms AB615A DVD+RW Drive C8000 A8068B DVD-ROM Drive BXX00, C3XX0, J5X00, C8000 A7853B CD-RW Drive BXX00 BXX00, C3XX0, J5X00, C8000 Supported DVD Writer Optical Devices for Servers Product Number Product Description Platforms AB348A DVD+RW Drive, Slim rp34 xx AB349A DVD+RW Drive, Slim rp4440 AB351A DVD+RW Drive rp8420, rp7420。
1.1.1.HP-UX11.0HP-UX11.0是HP公司的完全64位的操作系统环境,可为具有极高要求的应用提供极大的扩展能力和极高的系统性能。
HP-UX11.0操作环境与具有领先水平的HP服务器系统结合在一起,可以提供超级计算系统的处理能力而成本只是超级系统成本的一部分。
HP-UX11.0的关键特性如下:全64位功能可以处理大型应用和大型数据集极大内存(VLM)的寻址能力,RAM容量可高达1TB兼支持32位与64位的各种应用,优越的投资保护进一步提高了的系统恢复能力,提供最大限度的高可用性和系统持续运行时间可与Internet紧密集成,提供更好的全球网络连接能力与WindowsNT及NovellNetWare集成于一体HP-UX提供了前向的二进制兼容性,在HP-UX较早版本上开发的应用可顺利地在HP-UX11.0上运行。
所以,当前32位的应用软件既可在HP-UX11.0的32位版本上运行,也可在其64位版本上运行,无需重新编译。
大约有15,000种应用已运行于HP-UX之上,无论对于应用系统开发或是关键业务解决方案的开发,HP-UX均是工业界最受偏爱的平台。
实际上,HP-UX也是三个重要商业数据库市场领域收入额度领先的平台。
标准HP-UX11.0继承HP公司的传统,支持各项UNIX标准。
根据X/OpenSingleUNIX规范上的说明,HP-UX11.0是UNIX95标志产品。
而且,HP-UX的64位版本是根据LP-64数据模型标准编制的。
PRISM体系(PRISM framework)HP公司的PRISM体系描述了HP-UX如何满足大型企业关键业务的基本要点。
PRISM是由五方面特性英语词字首拼成的一个字母;五方面特性包括:性能与可扩展性、系统恢复能力或高可用性、集成性、安全性、以及可管理性。
PRISM+进一步扩充了PRISM,增加了适配性、投资保护、应用开发能力、以及应用资源的广泛程度等方面的内容。
How to create a Software Depot to update from HP-UX 10.20 to HP-UX 11.00How to create a software depot to update from HP-UX 10.20 to HP-UX 11.00IntroductionThis paper describes the procedures on how to create a software depot that contains the Core HP-UX11.00and its Application soft-ware,and how to use it to update from HP-UX10.20to HP-UX11.00. Reason for creating a software depotA problem exists with the upgrade process from certain HP-UX10.20 systems without basic networking software.This is the result of Software Distributor’s reliance on networking products which may not exist on the systems.This will affect systems with the fol-lowing configuration:•HP-UX10.20Systems where the primary LAN is non-Ethernet802.3such as Token Ring, FDDI, and X.25 that need to be upgraded to HP-UX 11.0. System RequirementsIn order to create a software depot,the following requirements need to be met:1.HP 9000 system running HP-UX 10.202.HP-UX 11.00 Core OS and Application CD-ROMs3. 1.2 GBytes of free disk spacePage 1 / 12How to create a Software Depot to update to HP-UX 10.20 to HP-UX 11.00Software Depot Creation ProcedureGetting StartedIssue the following commands sequentially:1. To find CD-ROM device file name, enter:ioscan -fn | moreThe device driver file will be something similar to /dev/dsk/c1t2d0.2. To create directory /CDROM under root “/”, enter:mkdir /CDROM3. To create directory /update under root “/”, enter:mkdir /updateDisk Space RequirementsA minimum of 1.2GB free disk space is needed to contain the soft-ware depot.If you need instructions on how to create free disk space,please refer to the Section“If you need disk space”on page 8.Update the Software Distributor Toolset (swgettools)You must update the Software Distributor(SD)Toolset to HP-UX 11.00.Without the correct version of the Software Distributor Toolset, you cannot successfully create a software depot.•WARNING•Do not install swgettools to an HP-UX10.x systemthat you do not plan to update to HP-UX11.00immediately.To do so is unsupported and can cor-rupt the IPD(Installed Product Database)wheneveryou install anything(such as a patch)on the sys-tem.Issue the following commands sequentially:1.To find out the version of the Software Distributer(SD-UX), enter:Page 2 / 12How to create a Software Depot to update from HP-UX 10.20 to HP-UX 11.00what /usr/sbin/swcopy- Skip to the Section “Depot Creation” on page 4 if its versionis already 11.00 (look for "SD-UX/B.11.00" in the output).2.If the directory /var/tmp doesn’t already exist, to create it,enter:mkdir /var/tmp3.To find out if /var has at least 2MB free disk space for swget-tools to use, enter:bdf /var- Skip to step 10 if /var has at least 2MB free space. Note that /var may or may not have been mounted as a file system;in the latter case, the root (“/”) file system must have enough space. 4.To find available space in the current volume group by multiply-ing “PE Size” and “Free PE”, enter:/sbin/vgdisplay5.To change to Single User mode, enter:/sbin/shutdown6.To find the logical volume such as/dev/vg00/lvol7that maps to/var, enter:/sbin/mount7.To unmount /var so that it can be extended, enter:/sbin/umount /var8.To extend the size of the logical volume to50MB(for example),enter:/sbin/lvextend -L 50 /dev/vg00/lvol7Note that the increment must not exceed what is found in step 3 above.9.To extend the file system size to the logical volume size,enter:/sbin/extendfs /dev/vg00/lvol710.To mount the directory /var, enter:/sbin/mount /var11.Insert the HP-UX11.00Core CD and wait for the busy light toPage 3 / 12How to create a Software Depot to update to HP-UX 10.20 to HP-UX 11.00stop blinking.12.To mount the Core CD-ROM as a file system onto the directory/CDROM, enter:/sbin/mount /dev/dsk/c1t2d0 /CDROM13.To load swgettools from a CD-ROM mounted at /CDROM into/var/tmp, enter:cp /CDROM/catalog/SW-GETTOOLS/pfiles/swgettools /var/tmp14.To update the HP-UX10.20SD-UX toolset to that of11.00,enter:/var/tmp/swgettools -s /CDROM15.To find out the version of the Software Distributer (SD-UX),enter:what /usr/sbin/swcopyLook for "SD-UX/B.11.00" in the output.Depot CreationTo create a software depot on an HP-UX10.20system,use the swcopy command.The swcopy(1M)command will automatically register the de-pot. While the Core CD is still mounted, enter the following com-mands sequentially to load all the CD-ROMS in order to create a software depot:1.To create a list of your system’s software products, enter:/usr/sbin/swlist > swlist.out2.To merge all products(\*)on mounted CD-ROM(-s/CDROM)to tar-get depot at(@)/update/SuperDepot(/update/SuperDepot)while setting option item layout_version to the value of 1.0 (-xlayout_version=1.0). Enter:•NOTE•You may select only application files that your systemshould have by working off from the swlist.out justcreated above using the following command:/usr/sbin/swcopy -s /CDROM and select the Target Depot Path as/update/SuperDepot and hit OK and select your system’sapplication files.This will save you a lot of diskspace./usr/sbin/swcopy -s /CDROM -x layout_version=1.0 \* @ /update/Su-perDepot3.To unmount the CD-ROM from the directory/CDROM(when the swcopyPage 4 / 12How to create a Software Depot to update from HP-UX 10.20 to HP-UX 11.00Page 5 / 12finishes), enter:/sbin/umount /CDROM4.Insert the (next)Application CD and wait for the busy light tostop blinking.5.To mount the CD-ROM onto the directory /CDROM as a file system,enter:/sbin/mount /dev/dsk/c1t2d0 /CDROM6.Repeat steps 2through 5until all the Application CD-ROMs have been completely swcopied into /update/SuperDepot.•WARNING•Do not load any patches into the same depot as theCore OS software that will be used to perform the update to HP-UX 11.00.Doing this will result inthe patch(es)being installed before the commands/libraries that they patch and will cause theupdate to fail!Depot VerificationTo verify whether the depot was successfully created or not,follow these steps:•Check /var/adm/sw/swcopy.log and verify that the above procedurecompletes successfully.•To see how much disk space the depot has used, enter:bdf /update (The figure should be around 1.1 GB)•/update/SuperDepot is now ready to be used to update HP-UX 10.20to HP-UX 11.00.Multiple updates from one single source of depotFrom the depot,several machines in the same networking environment can be easily updated if using similar software selections.•NOTE•You must update the Software Distributor (SD)Toolsetto HP-UX 11.00. If your system’s SD Toolset is alreadyon 11.0,do not run swgettools,because it will over-write any SD patches on your system..How to create a Software Depot to update to HP-UX 10.20 to HP-UX 11.00Updating from HP-UX 10.20 to HP-UX 11.00 If you are planning to use your system in64-bit mode,test for presence and version of/etc/.supported_bits file.Please skip this section and refer to the Installing and Updating HP-UX 11.0 Addi-tional Core Enhancements for proper instructions. This section is dedicated for an update to a 32-bit system.After successfully creating the software depot,you can update your system to HP-UX 11.00.1.To update the system, enter:/usr/sbin/swinstall-x os_name=HP-UX:32-x os_release=B.11.00 2.When the"Specify Source"window pops up,use"Local Directory"as "Source Depot Type", local machine name as "Source HostName",and"/update/SuperDepot"as"Source Depot Path”as indi-cated in the following screen capture (Figure 1):Figure 1Page 6 / 12How to create a Software Depot to update from HP-UX 10.20 to HP-UX 11.003. Click OK and Mark Files for Install (by working off, if neces-sary, from the list swlist.out just created above) and follow through the usual analysis phase; then proceed with the instal-lation.There is nothing special about this installation,except that it is for operating system update. At the end of the swin-stall (this may take up to three hours, so keep your log file open if you’d like to see its progress),the target system will reboot.4. After the system reboot, to check that it has been updated toB.11.00, enter:uname -rOptionally, you can choose to remove the file system "/update" or logical volume"lvol4"by highlighting the intended item in the SAM-->Disks and File Systems window then choose"Remove" from the Actions menu.5. End of Update.Page 7 / 12How to create a Software Depot to update to HP-UX 10.20 to HP-UX 11.00If you need disk spaceIf you don’t have enough disk space,you can create a logical volume using SAM (HP-UX System Administration Manager).To access SAM, enter:sam-Disks and File Systems-Logical Volumes (then choose a volume group to extend)-Actions- Create (select Volume Group and Define New Logical Volume and mount itonto the directory/update)•NOTE•The best resource on using SAM comes with SAM itself:its online help,which provides detailed instructionsand information on performing tasks with SAM.To Create a new logical volume (*)•Extend a current volume group so that the extended volume group has a minimum of 1.2GB free space.As an example shown in the following pages,Figure2shows that volume group vg00has two physical disks12.6.0and12.5.0,its lower pane shows that a small portion of12.6.0is dedicated to logical volume lvol4.Figure3shows that the entire disk of12.5.0is dedicated to logical volume lvol4.Note that these screen captures were taken AFTER the new logical volume lvol4 had been created, so bear this fact in mind when interpreting them.Page 8 / 12How to create a Software Depot to update from HP-UX 10.20 to HP-UX 11.00 Figure 2Figure 3Page 9 / 12How to create a Software Depot to update to HP-UX 10.20 to HP-UX 11.00 Figure 3Page 10 / 12How to create a Software Depot to update from HP-UX 10.20 to HP-UX 11.00(*)All volume groups,physical disks,and logical volumes des-ignations in the figures are used for illustration only.•Now that you have space in the volume group,create a mew log-ical volume to make use of the newly-acquired space.Make sure this logical volume has at least 1.2GB free space. Figure 4 shows that a new logical volume lvol4 has been created. Note that lvol4 has been mounted onto the directory /update when these screen captures were taken. Figure 5 show its detailed information.Figure 4Page 11 / 12How to create a Software Depot to update to HP-UX 10.20 to HP-UX 11.00Figure 5To Mount the logical volume•If SAM has not mounted the logical volume(lvol4)on the new directory/update,you can use this command line to mount it by entering:mount /dev/vg00/lvol4 /update/update will house the Software Depot.Figure6shows that log-ical volume lvol4has been successfully mounted onto the direc-tory /update.•Go to“Update the Software Distributor Toolset(swgettools)”on page 2.Page 12 / 12。