 |
» |
|
|
 |
update-ux checks for required swap space but does not check for minimum
memory. For more information, see “Adjusting
Required Minimum File System Sizes ” for directions on how to increase file system
sizes. To update your HP server or workstation to HP-UX 11i v1, it
must have the following: All servers require a minimum of 128
MB (256 MB recommended). Exceptions include the following: A-Class servers
with HP A5838A LAN-SCSI Combo Card: 256 MB minimum All other systems: 64 MB minimum (256 MB recommended)
Total swap space required when updating or installing
is 1 GB. A minimum of 128 MB of free swap space is required. LVM or VxVM partitions: / (root):
30 MB free space /stand: 100 MB free space (to expand /stand, see “Increasing
/stand”)
4GB root disk, minimum,
whether installing or updating to HP-UX 11i v1, with or without
an OE. This can be a single disk drive or combination of physical
disks configured as one root volume.
Disk-space requirements for the /usr and /opt partitions
depend upon the update task. Typical requirements for various updates
are listed next. Table 3-6 Free Disk-space Requirements for /usr and
/opt | HP-UX 11i v1 Update Task | /usr | /opt |
|---|
| 10.20 -> 11i default update: HPUXBase, HPUXBaseAux,
network drivers, CDE and OnlineDiag | 400 MB | 225 MB | | 10.20 -> 11i Foundation OE | 681 MB | 525 MB | | 10.20 -> 11i Enterprise OE | 731 MB | 685 MB | | 10.20 -> 11i Mission Critical OE | 771 MB | 685 MB | | 10.20 -> 11i Technical Computing OE | 731 MB | 885 MB | 10.20 -> 11i Minimal Technical
OE | 681 MB | 665 MB | 11.0 -> 11i default update: HPUXBase, HPUXBaseAux,
HWEnable11i, BUNDLE11i, network drivers, CDE and OnlineDiag. | 220 MB | 225 MB | | 11.0 -> 11i Foundation OE | 531 MB | 435 MB | | 11.0 -> 11i Enterprise OE | 591 MB | 635 MB | | 11.0 -> 11i Mission Critical OE | 611 MB | 635 MB | | 11.0 -> 11i Technical Computing OE | 591 MB | 955 MB | | 11.0 -> 11i Minimal Technical OE | 531 MB | 575 MB | | 11i (no OE) -> 11i Foundation OE | 320 MB | 415 MB | | 11i (no OE) -> 11i Enterprise OE | 372 MB | 645 MB | | 11i (no OE) -> 11i Mission Critical
OE | 410 MB | 645 MB | | 11i (no OE) -> 11i Technical Computing
OE | 372 MB | 820 MB | | 11i (no OE) -> 11i Minimal Technical
OE | 372 MB | 385 MB |
Extra space needed with TCOE and MTOECold-installing the HP-UX 11i v1 Technical Computing OE and
the Minimal Technical OE installs all CDE languages, rather than
just a selected language. To remove unneeded CDE language bundles
after installing the TCOE or MTOE, list them using swlist and remove unneeded bundles using swremove. See Chapter 7 “Verifying System
Migration” for
example uses of swlist and swremove.  |  |  |  |  | IMPORTANT: Any last-minute install and update issues are described
in the Read Before Installing or Updating to HP-UX 11i booklet
supplied with the HP-UX 11i v1 CD or DVD media. Be sure to review
that booklet as well as Appendix B “Known Problems and Troubleshooting” before continuing. |  |  |  |  |
Adjusting
Required Minimum File System Sizes |  |
If the required file-system size for the bundle you copy to
a depot exceeds the file system limit set by your disk installation,
you will get an error condition during the copy process. You can
use lvextend and extendfs in this situation to create a larger file system. You might have a problem updating your systems if any of these
volumes are too small: /usr, /opt, /stand or /var. If you try an update, swinstall will determine how much disk space is required. If sufficient
space is not available, swinstall will report an error like this: ERROR: The used disk space on filesystem "/var" is estimated to increase by 57977 Kbytes. This operation will exceed the minimum free space for this volume. You should free up at least 10854 Kbytes to avoid installing beyond this threshold of available user disk space. |
In this example, you would need to increase the file system
size of /var by 10 MB, which actually needs
to be rounded up to 12 MB. Follow these steps to increase the size limit of /var: Determine if any space is available for the /dev/vg00: /sbin/vgdisplay /dev/vg00 You should see output like this: - Volume groups - VG Name /dev/vg00 VG Write Access read/write VG Status available Max LV 255 Cur LV 8 Open LV 8 Max PV 16 Cur PV 1 Act PV 1 Max PE per PV 2000 VGDA 2 PE Size (Mbytes) 4 Total PE 249 Alloc PE 170 Free PE 79 Total PVG 0 |
The "Free PE" indicates the number of 4MB extents available,
in this case 79 (equivalent to 316 MB). Change to single user state: /sbin/shutdown This will allow /var to be unmounted. View mounted volumes: /sbin/mount You will see a display similar to the following: / on /dev/vg00/lvol1 defaults on Sat Mar 8 23:19:19 1997 /var on /dev/vg00/lvol7 defaults on Sat Mar 8 23:19:28 1997 |
Determine which logical volume maps to /var. In this example, it is /dev/vg00/lvol7 Unmount /var: /sbin/umount /var This is required for the next step, since extendfs can only
work on unmounted volumes. If you get a "device busy" error
at this point, reboot the system and log on in single-user mode
before continuing Extend the size of the logical volume: /sbin/lvextend -L new_size_in_MB /dev/vg00/lvol7 For example, to make this volume 332 MB: /sbin/lvextend -L 332 /dev/vg00/lvol7 To extend the file system size to the logical volume
size: /sbin/extendfs /dev/vg00/rlvol7 Mount /var: /sbin/mount /var Go back to the regular init state: init 3 or
init 4, or reboot. Wait 10 minutes after changing the system state or rebooting
to let processes complete before your enter an update-ux command.
In some cases, you will need to increase the size of /stand prior to completing a successful update to HP-UX 11i
v1. If the update-ux command fails with a message indicating that /stand is too small, follow these steps to increase the size
of /stand. To increase /stand, you'll first have to create a larger /swap volume, since both require contiguous blocks and are
adjacent volumes. If you need help with this procedure, refer to
the Managing Systems and Workgroups manual,
available on the HP-UX 11i v1 Instant Information CD and on HP's
documentation web site: http://docs.hp.com/hpux/os/11i/oe/ As root, use sam to create a new contiguous /swap volume of the required size, say, 300 MB. Name the new
volume /dev/vg00/swap. Using sam, verify that there is no bad block relocation
and the new /swap volume is contiguous. As root from a console window, remove and add primary
swap and dump devices: Remove the current dump device: lvrmboot -v -d lvol2 /dev/vg00 Add a new dump device: lvlnboot -d /dev/vg00/swap Remove the current swap device: lvrmboot -s /dev/vg00 Add a new swap device: lvlnboot -s /dev/vg00/swap
Verify your change by entering: lvlnboot -v Boot Definitions for Volume Group /dev/vg00: Physical Volumes belonging in Root Volume Group: /dev/dsk/c0t6d0 (8/0/19/0.6.0) -- Boot Disk Boot: lvol1 on: /dev/dsk/c0t6d0 Root: lvol3 on: /dev/dsk/c0t6d0 Swap: swap on: /dev/dsk/c0t6d0 Dump: swap on: /dev/dsk/c0t6d0, 0
|
If your changes are correct, reboot the system. After the system reboots, view swap information by entering: swapinfo Kb Kb Kb PCT START/ Kb TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME dev 307200 45936 216208 0% 0 - 1 /dev/vg00/swap reserve - 113748 -113748 memory 85584 23492 62092 27%
|
To verify that the same configuration exists as before
the reboot, enter (again): lvlnboot -v As root, use sam to remove the old lvol2 entry from /dev/vg00. Using sam, increase /stand to the required new size. Also change the size of any
other volumes as needed. Define your new volume as the boot volume at the next
reboot: lvlnboot -b lvol1 /dev/vg00 Reboot your system again.
Return to Chapter 2 to update your system to HP-UX 11i v1
using the update-ux command.
|