SETUP of HP 9000/800 model D350
######################################################### September 21, 1999 john meister ====================================================== This document records the steps to setup the server. 1) load operating system, specify boot disk and filesystem size 2) load Mirror-UX 3) load June99 General Patches 4) configure printers 5) tweak kernel 6) mirror additional disk and extend logical volumes 7) create vg01 and create sysadm logical volume & directory 8) setup 100Base/T card (J3515A HP-HSC 100Base/T) ================================================================= 1) LOAD OPERATING SYSTEM, SPECIFY BOOT DISK AND FILESYSTEM SIZE loaded HP-UX 10.20, July 1996 edition. selected 8/4.5.0 as boot disk Selected LVM with Journaled File Systems no home directory filesystem modified filesystems for vg00 as follows: filesystem default type set to ------------------------------------------------- / 84M VxFS 512M /stand 48M HFS 60M (swap) 512M swap 512M /opt 252M VxFS 1472M /tmp 32M VxFS 512M /usr 332M VxFS 512M /var 160M VxFS 512M >--> lvlnboot -v Boot Definitions for Volume Group /dev/vg00: Physical Volumes belonging in Root Volume Group: /dev/dsk/c0t5d0 (8/4.5.0) -- Boot Disk Boot: lvol1 on: /dev/dsk/c0t5d0 Root: lvol3 on: /dev/dsk/c0t5d0 Swap: lvol2 on: /dev/dsk/c0t5d0 Dump: lvol2 on: /dev/dsk/c0t5d0, 0 ================================================================= 2) Mirror-UX Installed Mirror-UX Customer Number: contact HP to purchase Codeword: HP will provide codeword ================================================================= 3) Loaded General Patches June99 - matched what target has. ================================================================= 4) Added default printer ==================================================================== 5) tweaked kernel, file containing configuration is in /sbin/root ==================================================================== filesystem and volume group status: >--> bdf Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol3 524288 18286 474418 4% / /dev/vg00/lvol1 59797 17622 36195 33% /stand /dev/vg00/lvol7 524288 186557 316714 37% /var /dev/vg00/lvol6 524288 262452 245533 52% /usr /dev/vg00/lvol5 524288 3770 487989 1% /tmp /dev/vg00/lvol4 1507328 84425 1334009 6% /opt >--> vgdisplay -v vg00 --- Volume groups --- VG Name /dev/vg00 VG Write Access read/write VG Status available Max LV 255 Cur LV 7 Open LV 7 Max PV 16 Cur PV 1 Act PV 1 Max PE per PV 2000 VGDA 2 PE Size (Mbytes) 4 Total PE 1023 Alloc PE 1023 Free PE 0 Total PVG 0 --- Logical volumes --- LV Name /dev/vg00/lvol3 LV Status available/syncd LV Size (Mbytes) 512 Current LE 128 Allocated PE 128 Used PV 1 LV Name /dev/vg00/lvol2 LV Status available/syncd LV Size (Mbytes) 512 Current LE 128 Allocated PE 128 Used PV 1 LV Name /dev/vg00/lvol1 LV Status available/syncd LV Size (Mbytes) 60 Current LE 15 Allocated PE 15 Used PV 1 LV Name /dev/vg00/lvol6 LV Status available/syncd LV Size (Mbytes) 512 Current LE 128 Allocated PE 128 Used PV 1 LV Name /dev/vg00/lvol4 LV Status available/syncd LV Size (Mbytes) 1472 Current LE 368 Allocated PE 368 Used PV 1 LV Name /dev/vg00/lvol7 LV Status available/syncd LV Size (Mbytes) 512 Current LE 128 Allocated PE 128 Used PV 1 LV Name /dev/vg00/lvol5 LV Status available/syncd LV Size (Mbytes) 512 Current LE 128 Allocated PE 128 Used PV 1 --- Physical volumes --- PV Name /dev/dsk/c0t5d0 PV Status available Total PE 1023 Free PE 0 ================================================================= looking at the logical volumes in SAM: Total Mirror Mount Logical Volume Volume Group Use Mbytes Copies Directory lvol1 vg00 HFS 60 0 /stand lvol2 vg00 Swap/Dump 512 0 lvol3 vg00 VxFS 512 0 / lvol4 vg00 VxFS 1472 0 /opt lvol5 vg00 VxFS 512 0 /tmp lvol6 vg00 VxFS 512 0 /usr lvol7 vg00 VxFS 512 0 /var ================================================================= >--> ioscan | grep sk 8/4.5.0 disk SEAGATE ST34371W 8/4.8.0 disk SEAGATE ST34572WC 8/4.9.0 disk SEAGATE ST34371W 8/4.10.0 disk SEAGATE ST34572WC 8/16/5.2.0 disk TOSHIBA CD-ROM XM-5701TA ================================================================= the command: ioscan -fn (and edited only to show disks) lass I H/W Path Driver S/W State H/W Type Description ======================================================================= ext_bus 0 8/4 c720 CLAIMED INTERFACE GSC add-on Fast/Wide SCSI Interface disk 0 8/4.5.0 sdisk CLAIMED DEVICE SEAGATE ST34371W /dev/dsk/c0t5d0 /dev/rdsk/c0t5d0 ctl 0 8/4.7.0 sctl CLAIMED DEVICE Initiator /dev/rscsi/c0t7d0 disk 1 8/4.8.0 sdisk CLAIMED DEVICE SEAGATE ST34572WC /dev/dsk/c0t8d0 /dev/rdsk/c0t8d0 disk 2 8/4.9.0 sdisk CLAIMED DEVICE SEAGATE ST34371W /dev/dsk/c0t9d0 /dev/rdsk/c0t9d0 disk 3 8/4.10.0 sdisk CLAIMED DEVICE SEAGATE ST34572WC /dev/dsk/c0t10d0 /dev/rdsk/c0t10d0 disk 4 8/16/5.2.0 sdisk CLAIMED DEVICE TOSHIBA CD-ROM XM-570 ================================================================= The door panel shows that the order of the disks are as follows: 4.5.0 4.8.0 4.9.0 4.10.0 ================================================================= overview of next steps: - make bootable mirror of vg00 - extend logical volumes across mirror - confirm mirror ================================================================= 6) CREATE MIRROR of ROOT DISK ================================================================= a) Create a physical volume on drive 4.8.0, the drive physically below the current bootable drive in the D350. the command used: pvcreate -B /dev/rdsk/c0t8d0 Physical volume "/dev/rdsk/c0t8d0" has been successfully created. b) vgextend the volume group to the newly created physical volume on c0t8d0. (vg00 will contain c0t5d0 and c0t8d0) the command used: vgextend /dev/vg00 /dev/dsk/c0t8d0 Volume group "/dev/vg00" has been successfully extended. Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf c) Make the new drive bootable the command used: mkboot /dev/rdsk/c0t8d0 d) Extend each logical volume across the volume group, begin with lvol1. The screen should display: The newly allocated mirrors are now being synchronized. This operation will take some time. Please wait ... Logical volume "/dev/vg00/lvol1" has been successfully extended. Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00. the commands used: lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c0t8d0 lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c0t8d0 lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c0t8d0 lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c0t8d0 lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c0t8d0 lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/c0t8d0 lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/c0t8d0 The newly allocated mirrors are now being synchronized. This operation will take some time. Please wait .... Logical volume "/dev/vg00/lvol1" has been successfully extended. Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf ... msg repeated for each logical volume ... e) Define the bootable drive as the alternate the command used: mkboot -a "hpux (8/4.8.0;0)/stand/vmunix" /dev/rdsk/c0t8d0 f) confirm logical volume configuration across entire volume group >--> lvlnboot -v Boot Definitions for Volume Group /dev/vg00: Physical Volumes belonging in Root Volume Group: /dev/dsk/c0t5d0 (8/4.5.0) -- Boot Disk /dev/dsk/c0t8d0 (8/4.8.0) -- Boot Disk Boot: lvol1 on: /dev/dsk/c0t5d0 /dev/dsk/c0t8d0 Root: lvol3 on: /dev/dsk/c0t5d0 /dev/dsk/c0t8d0 Swap: lvol2 on: /dev/dsk/c0t5d0 /dev/dsk/c0t8d0 Dump: lvol2 on: /dev/dsk/c0t5d0, 0 g) confirm the status of the logical volume group to ensure integrity of all lv's. the command used: vgdisplay -v vg00 --- Volume groups --- VG Name /dev/vg00 VG Write Access read/write VG Status available Max LV 255 Cur LV 7 Open LV 7 Max PV 16 Cur PV 2 Act PV 2 Max PE per PV 2000 VGDA 4 PE Size (Mbytes) 4 Total PE 2046 Alloc PE 2046 Free PE 0 Total PVG 0 --- Logical volumes --- LV Name /dev/vg00/lvol3 LV Status available/syncd LV Size (Mbytes) 512 Current LE 128 Allocated PE 256 Used PV 2 LV Name /dev/vg00/lvol2 LV Status available/syncd LV Size (Mbytes) 512 Current LE 128 Allocated PE 256 Used PV 2 LV Name /dev/vg00/lvol1 LV Status available/syncd LV Size (Mbytes) 60 Current LE 15 Allocated PE 30 Used PV 2 LV Name /dev/vg00/lvol6 LV Status available/syncd LV Size (Mbytes) 512 Current LE 128 Allocated PE 256 Used PV 2 LV Name /dev/vg00/lvol4 LV Status available/syncd LV Size (Mbytes) 1472 Current LE 368 Allocated PE 736 Used PV 2 LV Name /dev/vg00/lvol7 LV Status available/syncd LV Size (Mbytes) 512 Current LE 128 Allocated PE 256 Used PV 2 LV Name /dev/vg00/lvol5 LV Status available/syncd LV Size (Mbytes) 512 Current LE 128 Allocated PE 256 Used PV 2 --- Physical volumes --- PV Name /dev/dsk/c0t5d0 PV Status available Total PE 1023 Free PE 0 PV Name /dev/dsk/c0t8d0 PV Status available Total PE 1023 Free PE 0 ========================================================================= 8) Create new volume group "vg01" on drive 8/4.9.0 using SAM (the use of SAM is recommended to build the new volume group, SAM will initialize the disk and create the volume group) (vg01 will contain c0t9d0 and c0t10d0) 9) Initialize the second disk drive, 8/4.10.0, for "vg01" the command line. the command used: pvcreate /dev/rdsk/c0t10d0 10) Extend the volume group to the second drive. the command used: vgextend /dev/vg01 /dev/dsk/c0t10d0 11) Create logical volume groups for applications using SAM. #########################################################