Installing and Updating HP-UX 10.
Notices Use of this manual and compact disc(s), flexible disc(s) or tape cartridge(s) supplied for this pack is restricted to this product only. Additional copies of the programs can be made for security and back-up purposes only. Resale of the programs in their present form or with alterations, is expressly prohibited. This document contains information which is protected by copyright. All rights are reserved.
This document has been reproduced and modified with the permission of the Regents of the University of Colorado, a body corporate. Use, duplication or disclosure by the U.S. Government Department of Defense is subject to restrictions as set forth in paragraph (b)(3)(ii) of the Rights in Technical Data and Software clause in FAR 52.227-7013. Rights for non-DOD U.S. Government Departments and Agencies are as set forth in FAR 52.227-19(c)(1,2). Printing History April 1998 ... Edition 1.
Customer Comments Please direct comments on documentation or software to the following: userlink@fc.hp.
Contents 1. Before You Install Planning Your New Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10 Media for the Release. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10 Installation Tasks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10 What is a Cold Install? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11 Supported Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents Selecting the Root Disk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Viewing or Modifying Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 Configuring the Disk and File System. . . . . . . . . . . . . . . . . . . . . . . . . 48 Loading the Core Operating System . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 Specifying System Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents Media Install . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .83 Adjusting File System Size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .83 Large System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .86 A. Sample Configuration File B. Configuring for a DHCP Server Using DHCP Services: Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .94 Setting Up a DHCP Server . . .
Contents 8
Before You Install 1 Before You Install This manual covers HP-UX 10.20, Additional Core Enhancements (ACE) and Hardware Extensions "cold" installations and updates, as well as updates from 10.x to 10.20. • Cold install means installing system software on a new (uninstalled) or existing system disk in such a way as to completely erase old data. See Chapter 2, “Installing HP-UX,” for the cold install procedure for HP-UX 10.20. • Update, for HP-UX 10.
Before You Install Planning Your New Installation Planning Your New Installation New features, component software, and recent changes for your new system are described in the Release Notes for your new system, located in /usr/share/doc. Media for the Release The following CDs are supplied with typical Media Kits, for Workstations or for Servers, as indicated: Workstations: • Install and Core OS Software: Additional Core Enhancements (ACE 2.0). Use this CD to install the ACE software(Workstations).
Before You Install Planning Your New Installation • Install software products from tape, CD-ROM, or network. • Execute HP-UX commands. Some of these tasks may require previous experience or the availability of a system administrator. Before you begin the install process, you should be prepared to enter some information as part of the process (especially if you are installing any part of the OS and applications from a network source).
Before You Install Planning Your New Installation The Installation Process This HP-UX installation procedure is similar to that used for previous versions of HP-UX 10.x. During the cold install process, an install kernel is booted from the HP-UX Install Media (see below) or from a server on the network (Workstation (Series 700) only). Your system disk is then initialized and the new system configured using a set of default configurations supplied on the Install Media.
Before You Install Planning Your New Installation Figure 1-1 The Cold Install Process Each of the steps in the diagram is explained in Chapter 2.
Before You Install Planning Your New Installation The HP-UX 10.20 Install Media The Install program software is a single, self-contained volume on CD-ROM (combined with the HP-UX core) which contains the following Install items: Lif File Purpose ISL The initial system loader. HPUX A secondary loader. AUTO The auto-boot file. CONFIG The file that describes the default system configurations which you can specify. INSTALL The install kernel. INSTALLFS Install RAM File System.
Before You Install Planning Your New Installation The HP-UX Product Media The product media for the "Install and Core" HP-UX product consists of a CD-ROM containing both the Install program and the Core HP-UX product. The CD contain all the bundles, products and filesets, both required and optional, for a fully functional system. See “Using Software Bundles” in this chapter for more information on this software.
Before You Install Planning Your New Installation Servers Server systems supported on this release include the following: T600, K370, K570, K380, and K580. See your HP representative for updated support information.
Before You Install System Requirements System Requirements Besides the minimums shown below, you will have additional requirements for such things as swap space, tools, utilities, facilities, environments, applications, languages, user files, data, graphics, printing and plotting. Refer to the System Administration Tasks manual for information on these topics. Hardware Requirements To install this OS software, you must have the following: Computer An HP 9000 Series 700 or 800 computer.
Before You Install System Requirements Other Devices Your system can also have any HP-supported device. If you have an unsupported device connected to your system, HP assumes no responsibility in making that device function properly. Supported Peripherals With the disk space provision above, all disk drives that are supported as HP Workstation and Server system disks are supported for installation. Disk arrays can be installed with HP-UX, but the installation tasks do not support configuring an array.
Before You Install System Requirements For HP-UX 10.20, Series 700 Software Disk Striping arrays are not supported. SDS arrays can be converted to LVM via the utility sdstolvm. If you upgrade to HP-UX 10.20, as opposed to installing it, this conversion will be done for you automatically during the upgrade. LVM disk striping can be set up on some volumes during the installation. However, striped volumes cannot be mirrored later on. Note that not all types of volumes may striped.
Before You Install Checking the Media Checking the Media Make sure you have obtained the HP-UX tape or CD-ROM that matches your source device type. Note that applications requiring codewords will be on a separate CD. If your HP-UX product has multiple licenses, the installation process will install the most restrictive license unless you load a higher level license from the applications CD-ROM.
Before You Install Obtaining and Entering Codewords Obtaining and Entering Codewords There are two types of software on the Product Media: protected and unprotected. The core HP-UX software is not protected and has no codeword. To access any protected software on a CD-ROM, you must enter an authorized codeword in the SD interface. To access unprotected software, no codeword is required (for example, the HP-UX 10.20 Runtime bundle does not require a codeword).
Before You Install Backing Up Your Current System Backing Up Your Current System • If you currently have no operating system or files on your system or if you have an OS and software that you can safely destroy, there is no need to perform a backup. You can now proceed with the installation and later set up a backup procedure. • If you already have an operating system and files on the system disk, you should make a full backup of the system before you start the install. • If your system is running a 9.
Before You Install Backing Up Your Current System You should also make copies of your "dot" files (for example, .profile and .mailrc). For further information about these files, see the manual, System Administration Tasks.
Before You Install Choosing the Install Source Choosing the Install Source An HP-UX 10.20 cold install can be made from two different sources. • Physical media (CD-ROM). See “Booting from Media (All Series)”, in Chapter 2, “Installing HP-UX.” • Network source. See the next section, “Setting Up the Network Install Source”. You can also choose to load only the Install Kernel from the installation media and then load the Core OS bundles and products from a network source.
Before You Install Choosing the Install Source 5. You must edit the file /etc/instl_boottab on the server and add at least one IP address that is reserved for booting install clients. The IP addresses you add should be for cold installs only and should not be used by any other systems. However, if you know the LAN Link Addresses (LLA) of the systems you will be installing, you can use the IP addresses of those systems, providing you append the keyword "reserve".
Before You Install Choosing the Install Source For More Information For examples of install configuration files, see Appendix A, “Sample Configuration File,”, in this manual. For general information, see the online information on the install program in /usr/share/doc/10.20RelNotes. For more details on setting up a network server, see the comments in the /etc/instl_boottab file, and the instl_bootd(1M) man page If you have problems in booting systems, look in the file /var/adm/syslog/syslog.
Installing HP-UX 2 Installing HP-UX In this chapter you will find start-up procedures based on the use of two types of sources: • Booting from media. • Booting from a network (Series 700, B, C and J class only). If you have any problems, see Chapter 4, “Troubleshooting Your Installation,”.
Installing HP-UX Booting from Media (All Series) Booting from Media (All Series) CD-ROMs Used in Installation: Only the Install and CORE OS Software: Additional Core Enhancements or Hardware Extensions CD will be needed for the OS installation. Other CDs (or custom tapes) will contain the following for software update or backup purposes: • CD-ROM: HP-UX 10.20 Install and CORE. This is the base release media.
Installing HP-UX Booting from Media (All Series) After it does a search, the boot ROM lists the devices from which you can boot. If a desired local boot device is not listed, and you have connected and powered it, check the cable connections before proceeding. LAN sources may require several searches. In both the Server and Workstation boot console, there is an on-line help facility to guide you through the process. If you need help, type help boot.
Installing HP-UX Booting from Media (All Series) 3. Type the following: boot scsi.x Use the SCSI address of the boot device for x. 4. If you see the following prompt, respond with "n".
Installing HP-UX Booting from Media (All Series) 1. Check the hardware. 2. Press x Enter. 3. Type s Enter to initiate another search. 4. At the prompt "Enter boot selection", enter the "Pn" device selection for the device containing your install media. If you know the SCSI address of the boot device beforehand, you can skip the search and simply type the following at the "Select from menu" prompt: b scsi.
Installing HP-UX Booting from Media (All Series) 1. When you have chosen your boot device and entered the boot command, a connection will be established with the boot device. It is common that the Alternate Boot Device is set to an external CD-ROM. If this is your case, you can simply use the following command: bo alt 2. If you want to search for available boot devices, type: search (or the appropriate abbreviated command, as shown).
Installing HP-UX Booting from Media (All Series) Older Server Boot Process For Models 8x7, 845, 835, 870, and other older Series 800 computers, you will see a boot display like the following: Figure 2-6 ================================================================ Console path = 56.0.0.0.0.0.0 38.0.0.0.0.0.0 Primary boot path = 52.2.0.0.0.0.0 (dec) 34.00000002.0.0.0.0.0 Alternate boot path = 52.0.0.0.0.0.0 34.0.0.0.0.0.0 (dec) (hex) (hex) (dec) (hex) 64 MB of memory configured and tested.
Installing HP-UX Booting from Media (All Series) • If neither the primary or alternate device paths correspond to that for the CD-ROM device, then respond with "n" to both prompts. In this case, enter the hardware path of the device (for example, 52.3.0) at the prompt "Enter boot path, command, or ?>". 5. To the question "Interact with IPL (y or n)?", respond with "n". After Selecting Boot Paths (Workstations and Servers) 1.
Installing HP-UX Booting from a Network (Workstation/Series 700, B, C J Only) Booting from a Network (Workstation/Series 700, B, C J Only) 1. Determine your network server address for the install. If necessary, see your system administrator for this information. 2. Turn on your Workstation. 3. When you see a message about stopping the boot search, quickly press and hold ESC to stop the boot selection process.
Installing HP-UX Booting from a Network (Workstation/Series 700, B, C J Only) • If necessary, type the following command again: search lan Note that it will typically take two or three searches before the install server will be found, due to a built-in delayed response from the install server. • Identify your LAN server from the listing. • If three attempts result in no response from the desired server, see Chapter 4, “Troubleshooting Your Installation.” 3.
Installing HP-UX Booting from a Network (Workstation/Series 700, B, C J Only) Command Auto [boot|search] [on|off] Boot [pri|alt|scsi.addr] [isl] Boot lan[.lan_addr] [install] [isl] Chassis [on|off] Diagnostic [on|off] Fastboot [on|off] Help Information LanAddress Monitor [type] Path [pri|alt] [lan.id|SCSI.
Installing HP-UX Booting from a Network (Workstation/Series 700, B, C J Only) System Configuration Whether you booted the install kernel from the media or from a network source, after your system is running it will analyze your new system for the following information: 1. The install kernel location and (disk) device identities connected. 2. Console tty settings, keyboard language (itemap) and EISA cards. 3. The default configurations from the LIF volume of the Install Media (named "CONFIG").
Installing HP-UX Installing and Configuring the Operating System Installing and Configuring the Operating System 1. After you have booted the Install program, from the network or from the install media, as previously described, the install interface will automatically be displayed as follows: Figure 2-9 This Welcome screen is the first of several screens that will guide you through the installation process. Use your Tab key to highlight items on the screen.
Installing HP-UX Installing and Configuring the Operating System If you plan to use a network software depot to load the operating system, you will need to enable networking at this time. Would you like to enable networking now?[y] Answering "n" means that you intend to install entirely from the media and the Install Kernel continues to load.
Installing HP-UX Installing and Configuring the Operating System HP-UX INSTALLATION UTILITY NETWORK CONFIGURATION This system's hostname:______________ Internet protocol address (eg. 15.2.56.1) of this host:______________ Default routing internet protocol address:______________ The subnet mask (eg. 255.255.248.0 or 0xfffff800):______________ Internet protocol address of the Install Server System:______________ Is this networking information only temporary? [ OK ] [ Cancel ] [ No ] [ Help ] 3.
Installing HP-UX Selecting the Root Disk Selecting the Root Disk If you have more than one target disk, after you have finished with the Install Welcome screen, you will see the Select System Root Disk screen. If you have only one disk, skip to “Viewing or Modifying Configuration”. Figure 2-13 NOTE Shortcuts Tips for using the install interface: • If you prefer to use the keyboard to manipulate the Install interface, you can do so by typing the underlined letter of an item (such as "C" for Cancel).
Installing HP-UX Selecting the Root Disk 2. With the desired disk highlighted, choose it by using Tab to select OK and press Enter. • If the disk you want is not shown, make sure it is turned on and connected to the system. You may select Cancel to exit this menu. If you do this, you will be presented with the option to restart the installation at the beginning of the configuration utility or scan the system again for disks.
Installing HP-UX Viewing or Modifying Configuration Viewing or Modifying Configuration If you selected OK on the previous screen, or if you have only one target disk, you will next see the Select Whole-System configuration screen. This screen asks for the file system layout you want, Standard Whole-Disk (non-LVM), LVM ("Logical Volume Manager"), or LVM with VxFS (Journaled File System). Figure 2-14 Workstation installation is shown as Standard Whole-Disk (non-LVM).
Installing HP-UX Viewing or Modifying Configuration NOTE Starting from the HPUX 10.20 version, /stand is created as a separately mounted file system. The /stand file system will always reside on the first logical volume on the boot disk. The following default sizes will be used for the root and the boot file systems : Root FS Boot FS "/" "/stand" : : 84 MB 48 MB You can choose either HFS or VxFS as the root file system.
Installing HP-UX Viewing or Modifying Configuration View/Modify Basic Configuration Figure 2-15 This screen allows you to modify disk configuration. The screen shown above is for an LVM configuration; not all of these fields will appear on the non-LVM screen. Pressing Enter (or the space bar) at each question will display a mini-menu for that item. If you need to change a parameter, use the arrow keys to highlight the selection on the mini-menu and press Enter again to choose that selection.
Installing HP-UX Viewing or Modifying Configuration If you plan to configure multiple disks into the root volume group, you should ensure that the selection Make Volatile Dirs Separate is set to True. This allows the root file system to expand as needed and the volumes to be spread across more than the root disk. (See “Adjusting File System Size” for details on expanding a file system after installation.) Choose OK when you have made your selections.
Installing HP-UX Viewing or Modifying Configuration Configuring the Disk and File System Figure 2-16 A screen display similar to this summarizes your configuration and allows you to make modifications by selecting Modify Disk Parameters or Modify FS Parameters. You can also accept the default values by tabbing to OK and pressing Enter. If you do this, go to Figure , “Loading the Core Operating System,” in this chapter.
Installing HP-UX Viewing or Modifying Configuration Specifying Disk Usage If you selected Modify Disk Parameters, in the screen shown in Figure 2-16, you will see a screen similar to the following: Figure 2-17 Using this screen, you can modify disk usage or parameters. The most typical use of this screen would be to configure a second disk. For example, you could modify the disk configuration first, and then go on to modify the file system, as in the following sample procedures.
Installing HP-UX Viewing or Modifying Configuration • Tab to Modify Disk Parameters... and press Enter. You will see Figure 2-18. Go to the next section, "Modifying Disk Parameters". OR • Tab to Modify Volume Group Parameters and press Enter. You will see Figure 2-19. Go to the section "Modifying Volume Group Parameters". OR • Tab to OK and press Enter to leave the screen when everything is satisfactory. Go to the section “Loading the Core Operating System”, in this chapter.
Installing HP-UX Viewing or Modifying Configuration • Initializing a disk ("mediainit") is both time consuming and generally unnecessary, except in the unlikely event that the disk has incurred low-level formatting damage due to a control malfunction. If necessary, make any modifications and tab to OK. Then press Enter.
Installing HP-UX Viewing or Modifying Configuration Figure 2-20 Configure File Systems On this screen, you can configure file system space and usage, and you can also change Logical Volume parameters or other file system parameters in subsequent screens, as needed. As with disk usage, the default parameters are usually suitable and should not be changed unless your file system requirements are unusual. Example: You can change file system configuration by doing the following: 1.
Installing HP-UX Viewing or Modifying Configuration d. When you are satisfied with the parameters, choose OK to accept the changes and return to the System Configuration screen. Otherwise, choose Cancel to reject the changes and return to the previous screen.
Installing HP-UX Loading the Core Operating System Loading the Core Operating System Figure 2-21 When you have finished with configuration or elected to use the default values by choosing OK at the System Configuration screen, you will see this screen. Note: you will not be asked for the SD-UX server Internet Protocol address, unless you have booted from the network.
Installing HP-UX Loading the Core Operating System selections in the View/Modify Basic Configuration screen (see Figure 2-15). While doing this, it displays the activity logs (monitoring the install process as it happens) and the list of default values it uses to install the software. • If your server (or media) has needed applications on it, such as multi-user licenses or a C compiler, you will want to interact with swinstall. In that case, choose Yes (to load bundles/products interactively).
Installing HP-UX Loading the Core Operating System 1. The hostname for your system. 2. The region (e.g. "North America") for your time zone, or press Enter, if the selected item in the list is correct. 3. The local time zone. Confirm the time zone, or press Enter if the information is correct. 4. The local time. Confirm the time and date or press Enter if the information is correct. 5. A password. Re-enter it as requested. 6. The internet (IP) address of your host system.
Installing HP-UX Loading the Core Operating System • If you haven't already configured the network, the System Parameters screen gives you path information for the /sbin/set_parms addl_netwrk command. Click on Close or press Enter. • You will see the boot checklist display, which should require no interaction. The initial boot of your system after a cold install or an update may take somewhat longer than later boots.
Installing HP-UX Verifying and Completing the Installation Verifying and Completing the Installation When you have completed the OS installation steps, the system will automatically reboot from the new system disk. Then you will be ready to start building (or re-building) your system by installing other software and data files, setting up printing facilities and connecting additional peripherals, as needed. To verify that you have HP-UX 10.
Installing HP-UX Verifying and Completing the Installation Removing Unwanted Software/Filesets If it is necessary to remove software that has been installed on your system, use the swremove utility. The swremove utility also unconfigures the software as it removes it. It is possible to remove your 10.20 ACE or Hardware Extension software, although the system may have to manually rebooted, as follows: • Use swremove to remove the appropriate ACE bundle. • Exit swremove session after the bundle is removed.
Installing HP-UX Verifying and Completing the Installation NOTE Multi-User License Software: If you are loading HP-UX from a CD-ROM, multi-user licenses (to allow more than two users on the system) are on one of the additional Application CDs, which also contains optional products such as LVM disk mirroring. This means that, when your system reboots after loading the software from the first CD, no more than two users will be able to log back in.
Updating HP-UX 3 Updating HP-UX Updating your system from the existing HP-UX 10.0x, to HP-UX 10.20 releases involves using swinstall and other SD-UX tools with a standard source, such as a network server or CD-ROM, to install the appropriate bundles, products, or filesets. Upgrading means using a suite of tools (version 9.U3 of the Upgrade tools) to update your system from HP-UX 9.0x to 10.0x. For upgrading your system, refer to the manual Upgrading from HP-UX 9.x to 10.x.
Updating HP-UX HP-UX 10.20 System Requirements HP-UX 10.20 System Requirements For general system requirements for updating, please see “HP-UX 10.20 System Requirements” in Chapter 1, “Before You Install.” Update and Upgrade Paths You can use the SD-UX tools to update your OS to HP-UX 10.20 from either 10.10 or 10.01. For upgrades from 9.0x, see the manual Upgrading from HP-UX 9.x to 10.01. You can also use SD-UX to install or update applications. Memory and Disk Space Requirements • HP-UX 10.
Updating HP-UX HP-UX 10.20 System Requirements /usr/sbin/swagentd -r 4. Ensure that your system has at least 30 MB of swap enabled before starting the update process. You can use swapinfo -mt and check the total free MB of swap space. Or you can use SAM to see how much swap you currently have.
Updating HP-UX HP-UX 10.20 System Requirements 5. Insert the CD-ROM into its drive. 6. Wait for the busy lights to stop blinking. 7. If necessary, identify the drive device, using the /etc/ioscan -fn command. 8. If you are using a CD-ROM, note that you will first have to mount the disc, using SAM or the mount(1M) command. If you do not use SAM, you can do the following to mount the disc: a. Put the CD into the CD-ROM drive. CD-ROM "busy light" should blink. b.
Updating HP-UX Updating SD-UX Before Installing/Updating Software Updating SD-UX Before Installing/Updating Software Before you can update to 10.20, you must extract the new version of SD-UX from the 10.20 CD or software depot from which you plan to update your system. CAUTION Do not attempt to use the 10.01 or 10.10 version of swinstall to update the system to 10.20. The update will fail. The swcluster command, used to update an NFS Diskless server, will also fail, since it calls swinstall.
Updating HP-UX Updating SD-UX Before Installing/Updating Software Further examples are in the next section. After you have updated SD-UX, you can use swinstall to update your system to HP-UX 10.20. CAUTION Do not reboot your system after running swgettools and before you run swinstall or swcluster to update HP-UX. If you do reboot, you must run swgettools again before updating HP-UX.
Updating HP-UX Updating SD-UX Before Installing/Updating Software 1. Copy the swgettools script file (in the catalog/SW-DIST/pfiles directory) and the swagent.Z file (in the catalog/SW-GETTOOLS/pfiles directory) from the tape or CD to a location that your users have FTP access to. 2. Tell the user to do the following: a. FTP the two files into the /var/tmp directory on the system to be updated. b. Use chmod +x to make the /var/tmp/swgettools script executable. c.
Updating HP-UX Updating SD-UX Before Installing/Updating Software For More Information Consult the swgettools(1M) man page (on a 10.20 system) or the manual Managing HP-UX Software with SD-UX for assistance with the following: • If you encounter an error during the execution of the swgettools script. OR • If you want to see examples of using swgettools with other types of media.
Updating HP-UX Updating HP-UX Software Updating HP-UX Software If you are updating software on an existing HP-UX 10.20 system you should begin the update procedure at this point. Otherwise, you should have installed the new SW-DIST product first, as given in the previous sections in this chapter. Then do the following to start swinstall: On Series 700, you will see a Graphical User Interface (GUI), by default. On Series 800, you will see a character display Terminal User Interface (TUI) on a console.
Updating HP-UX Updating HP-UX Software 3. Select the software source host and depot. 4. Select software as desired, or Match what Target Has from the Actions menu. 5. Select Install/Analysis from the Actions menu. 6. After the analysis phase finishes, select OK to continue with the cluster install process. For screen details see the non-clustered installation in the next section.
Updating HP-UX Updating HP-UX Software Specify Source Screen Figure 3-1 1. Clicking on the field beside Source Depot Type displays a choice of Local CDROM, Local Directory, Local Tape, or Network Directory/CDROM. The latter category will get a remote source for the update. 2. If the source depot/host name filled in is not the one you want, enter the correct one. You may also use the IP address for a host. 3.
Updating HP-UX Updating HP-UX Software Software Selection Screen Figure 3-2 • On the Software Selection screen, highlight an item and click on the Actions menu item Open Item to see a listing of the contents of that bundle or product. You can also successively double-click on the selected item to show the contents at the next level of detail. To see a general description of the selected software, click on Show Description of Software from the Actions menu.
Updating HP-UX Updating HP-UX Software Install Analysis Screen Figure 3-3 • By clicking on the Logfile button, you can open the logfile to monitor the progress of the analysis. You will also see a listing of files already on the target system which will be reinstalled in new versions. The Disk space ... button will become accessible after the analysis process is complete and you can view the results (see Figure 3-4). • Click on OK to proceed. Time Note The analysis phase requires 5 to 10 minutes.
Updating HP-UX Updating HP-UX Software Disk Space Analysis Screen Figure 3-4 1. The Disk Space Analysis gives you an estimate of available disk space vs. requirements for the new system. If disk space is a concern, you may want to look at graphics and related products especially for possible deletion. For example, in case you are running a Series 800 with a character terminal console, you may not want to update graphics products.
Updating HP-UX Updating HP-UX Software 3. Close the Disk Space confirmation window to see the analysis window. 4. When the disk analysis is satisfactory, choose OK on the Install Analysis screen to proceed with the update. 5. A confirmation screen will appear, to which you can respond Yes or No as to whether you want to continue with the installation.
Updating HP-UX Updating HP-UX Software NOTE For an OS update, you will also need to repeat the update steps with the appropriate bundle on the HP-UX Extension Software which came with your HP-UX media. This provides core-related patches for the current version of HP-UX. (See “Using HP-UX Extension Software”, in this chapter, and the patch descriptions on the disc.) The system will automatically reboot after updating with this bundle.
Updating HP-UX Updating HP-UX Software Updating Non-Interactively from Media or Network For a generic update where no "customizing" is required, you will be using the swinstall tool non-interactively, with a general instruction to "match what the target has" in order to load the updated versions of the same filesets as you have on your current system. Note that you cannot update non-interactively from a multiple-media set. 1.
Updating HP-UX Updating HP-UX Software The Extension Software CD depot directory looks similar to the following. It will contain critical patches relating to the 10.20 core software only: |READMEFIRST | |READMES__________|PB_07_700_1020.lj /SD_CDROM_________| |PB_07_800_1020.lj | |10.X_____________|s700_10.20 | |s800_10.20 The 10.20 bundles are contained in SD depots (the update format used for HP-UX 10.x). In addition, these will be identified for Series 800 (s800_10.20) or Series 700 (s700_10.20).
Updating HP-UX Updating HP-UX Software Adding Additional Functionality In case you need to add more bundles for the new functionality of HP-UX 10.20, such as JFS or NFSD filesets, use the "Match What Target Has" option described in this chapter, and then select additional bundles which you have purchased. If you need further details, see the manual Managing HP-UX Software with SD-UX.
Updating HP-UX Updating HP-UX Software Installing the Optional OnlineJFS Product HP OnlineJFS is the advanced optional bundle for the VxFS File System. You can use the capabilities of OnlineJFS to perform certain key administrative tasks on mounted VxFS file systems. Because you can perform these tasks on mounted file systems, users on the system can continue to perform their work uninterrupted. These tasks include: • Defragmenting a file system to regain performance. • Resizing a file system.
Troubleshooting Your Installation 4 Troubleshooting Your Installation Chapter 4 81
Troubleshooting Your Installation Network Install Network Install The following are some items to check if you have problems during the install process: If your system fails to find a boot server, check the following: 1. Make sure you are using the correct boot command (you must use the "install" keyword for newer Workstation (Series 700) systems). For older systems, you may need to enter the boot command two or three times. 2.
Troubleshooting Your Installation Media Install Media Install If your installation from the media fails, check the following: 1. If you are using a CD-ROM as a depot for updating or installing software, ensure that the CD-ROM is mounted, using the mount command, before you attempt to use it as a source. 2. Ensure that connections to drive(s) and I/O cards are secure. Remove and replace cables or cards if a loose connection is suspected.
Troubleshooting Your Installation Media Install Here are the steps required for increasing the size limit of /usr: 1.
Troubleshooting Your Installation Media Install 6. Execute the following command: /sbin/umount /usr This is required for the next step, since extendfs can only work on unmounted volumes. 7. Execute the following command: /sbin/extendfs /dev/vg00/rlvol7 This extends the file system size to the logical volume size. 8. Finally, execute the following commands: /sbin/mount /usr exit 9. Go back to the regular init state (3 or 4).
Troubleshooting Your Installation Large System Large System If your are running a system with a large number of file systems, note the following possible problem areas: 1. On a large system such as a T500 with a very large number of disk drives (such as 50 or more), you may see messages such as the following, during the system analysis phase of cold install. Out of inode- can't link or find disk or Write failed, file system is full. or File system full. 2.
Troubleshooting Your Installation Large System • By raising maxusers to a large value, such as 200. • By selecting an appropriate bundle of SAM-tuned parameters from the SAM Kernel Configuration Actions menu. You should determine the correct configuration for your system. Note that this problem does not appear to affect the Upgrade process (updating from HP-UX 9.0x), since during Upgrade, the new kernel parameters are derived from the previous kernel.
Troubleshooting Your Installation Large System 88 Chapter 4
Sample Configuration File A Sample Configuration File The HP-UX cold-install process is driven by information stored in configuration files. There are three primary locations where a network cold-install can find configuration file information on the server: 1. In the area accessed by the instl_adm(1M) tool. This information is immediately available to clients when they boot. The data stored in this location is limited to 8 KB. 2. In the file /usr/lib/sw/hpux.install/config.local.
Sample Configuration File # specify that the installation should be done non-interactively: LLA_ADDR == "08000978BBBB" { system_name = "swbba" ip_addr = "15.1.54.138" RUN_UI = FALSE # Give users 10 seconds to respond to warnings before # continuing with the automatic installation: env_vars +="INST_ALLOW_WARNINGS=10" } This example can be added to the /usr/lib/sw/hpux.install/config.local file. It does not have the same 8 KB restriction as the examples above.
Sample Configuration File # Load the ASX bundle from a different depot during the # post config phase (in addition to other post_config_cmd). post_config_cmd += " swinstall -s 15.1.54.
Sample Configuration File rcp system1:/usr/lib/sw/hpux.install/config.local /tmp/cfg1 cat /tmp/cfg1 >> /usr/lib/sw/hpux.install/config.local rcp system2:/usr/lib/sw/hpux.install/config.local /tmp/cfg2 cat /tmp/cfg2 >> /usr/lib/sw/hpux.install/config.
Configuring for a DHCP Server B Configuring for a DHCP Server The HP-UX 10.20 version of the HPUX Install and system boot tools supports retrieving network information via the Dynamic Host Configuration Protocol (DHCP). This appendix gives the details of setting up DHCP. Appendix Contents • Using DHCP Services: Overview. • Setting Up a DHCP Server. • Details on the DHCP Services. • Enabling DHCP on a System Not Initially Configured with DHCP. • Background Information on DHCP Design.
Configuring for a DHCP Server Using DHCP Services: Overview Using DHCP Services: Overview DHCP provides the following features: • Allows for dynamically allocating IP addresses and hostnames. • Automatically supplies most of the networking defaults that are requested during a system installation or first time boot. • Provides for on-going IP address maintenance via a concept of an "IP address lease".
Configuring for a DHCP Server Setting Up a DHCP Server Setting Up a DHCP Server Once you have decided that using DHCP will provide a benefit, you will need to follow the steps below to set up a DHCP server. Note that only one DHCP server per network subnet is required. On the server system: 1. Allocate a set of currently unused IP addresses (preferably a contiguous block of addresses). For example: 15.1.48.50 - 15.1.48.80 2. Pre-assign and register hostnames to the IP address allocated above.
Configuring for a DHCP Server Setting Up a DHCP Server Group Name: Subnet Address: Subnet Mask: Subnet Address Pool: Allow Any Device Class: 96 This can be any name that isn't already defined as a DHCP group. For example: group1 This is the portion of an IP address that is not masked off by the subnet mask (see below). If you don't want to figure this out, then just enter one of the IP addresses in the range you picked along with the correct subnet mask and SAM will take care of the calculation.
Configuring for a DHCP Server Setting Up a DHCP Server If you want this range of addresses to be used only by HP-UX systems, then unselect this button, and enter the text: "HewlettPackard.HP-UX" in the text field provided. Automatic Allocation to Bootp Clients: Accept New Clients: Address Lease Time: Leave this option disabled. Enabling it will cause problems for bootp devices such as printers and terminals which rely only on their preconfigured server to respond to their boot request.
Configuring for a DHCP Server Setting Up a DHCP Server g. Once the parameters are all filled in, then press OK on the Add DHCP Group screen. SAM will then make the modifications to the /etc/dhcptab file. h. You will now want to use the Action menu to Enable boot Server (if it is not already enabled). 5. Now, new systems that are installed with HP-UX 10.20 (or newer) or booted with a pre-installed 10.
Configuring for a DHCP Server Setting Up a DHCP Server The auto_parms tool, that lets you configure the system identity and basic configuration parameters, will invoke the dhcpclient, which will broadcast out to find a DHCP server. The server, in turn, provides a default set of networking parameters.
Configuring for a DHCP Server Setting Up a DHCP Server e. Single click the Enable DHCP button. NOTE If Enable DHCP appears grayed-out, you will need to use the alternate method for enabling DHCP described below. f. Single click OK and exit SAM. Your system will now begin using DHCP after the next reboot. Please note that all of the current networking parameters will be overridden with new values supplied by the DHCP server.
Configuring for a DHCP Server Setting Up a DHCP Server INTERFACE_NAME[2]=lan1 IP_ADDRESS[2]=15.1.50.89 SUBNET_MASK[2]=255.255.248.0 BROADCAST_ADDRESS[2]="" The contents of /etc/rc.config.d/netconf for this definition block should now look like the following: INTERFACE_NAME[2]=lan1 IP_ADDRESS[2]=15.1.50.89 SUBNET_MASK[2]=255.255.248.0 BROADCAST_ADDRESS[2]="" DHCP_ENABLE[2]=1 Correspondingly, you could disable DHCP over a particular interface by setting the variable to "0".
Configuring for a DHCP Server Setting Up a DHCP Server For More Information Refer to the auto_parms(1M) man page and the dhcpdb2conf(1M) man page for more information regarding the networking parameters which DHCP can supply. More information on DHCP in general can be found in the following locations: • Man pages: bootpd(1m) dhcptools(1M) auto_parms(1M) dhcpdb2conf(1M) • The Worldwide Web: http://web.syr.edu/~jmwobus/comfaqs/dhcp.faq.
Index A AdvJournalFS.VXFS-ADVKRN, 80 AdvJournalFS.
Index stopping autoboot (s700/s800), 28 stopping autoboot (s800), 31 installation, 27, 60 overview, 9 planning, 10, 11 preparation, 9, 26 source, 24 Instant Ignition Extension Software, 77 instl_adm, 98 interactive swinstall, 54 IP address finding, 37 setting with DHCP, 98 J JFS adding functionality, 80 file systems, 18, 44 information sources, 45 OnlineJFS, 80 messages, 81, 87 mount with update CD, 63 N network address finding, 37 setting with DHCP, 98 network information entering, 55 network parameters
Index network, 24 source media starting, 63 swgettools updating SD-UX with, 65, 68 swinstall Extension Software, 77 patches, 77 procedure, 54 system analysis, 38 system configuration, 38 system information entering, 55 system requirements for install, 17, 19 system requirements for updating, 62 system summary screen, 44 T target disk selecting, 42 temporary network parameters, 98 top level screen, 44 troubleshooting, 81, 87 media, 63 memory requirement, 62, 63 non-cluster, 69 non-interactive, 77 RAM requi