Open call ID with HP for OS upgrade: 3100488038 Just in case, ------------------------ call hp@ 1-800-633-3600 press 2 press 4 press 3 ------------------------ To recover from the recovery tape: 1. put tape in tape drive, 2. boot, and press to inerupt 3. SEA -> interact with ipl (yes) 4. /dev/rmt/0m This restores data off tape over /dev/vg00 5. shutdown -yr0 System should boot normally. =============================================================================== 10.20 to 11.00 =============================================================================== 1a. Shut down lines on Treg server. With IE web browser, go to http://treg-1/encore/ user encoreadmin Mon Dec 18 08:07:13 2000 1b. Make the system secrue from logins: cp /etc/profile /etc/profile.all.users cp /etc/profile.root.upgrade.server /etc/profile 1. Make a pre-patch boot ignite tape. Lable it "HPUX 10.20-Pre-Patch Ignite Tape 12/18/00" # put tape in drive make_recover -A Mon Dec 18 09:14:54 PST 2000 2. Patch curent system: # I ALREADY DOWNLOADED THE PATCHES. mv /home/jstile/patches /datatel/patches cd datatel/patches make_depot swinstall ->point to the depot reboot analysis => Mon Dec 18 09:47:45 PST 2000 reboot => Mon Dec 18 10:07:37 PST 2000 3. remove old patches (cleanup command will /usr/sbin/cleanup -i new >>> /usr/sbin/cleanup -t <<=== new >>> mv /var/local/archive /datatel/ <<=== to make more space on /var/ new >>> mv /var/local/archived /datatel/ new >>> swmodify -u PH[CKNS][OLES]_\*.\* PH[CKNS][OLES]_\1* <<===remove all file set info, then remove prduct info. new >>> rm -rf /var/adm/sw/patch <<===remove the patch dir. swmodify -u PH[CKNS][OLES]_\*.\* PH[CKNS][OLES]_\* ####swremove gcc ####swremove binutils Mon Dec 18 11:00:48 PST 2000 4. Make post-patch boot ignite tape. Lable it "HPUX 10.20-Post-Patch Ignite Tape" # put tape in drive make_recovery -A Mon Dec 18 11:50:33 PST 2000 new >>> rm -rf /stand/vmunix.20001110 /stand/system.20001110 new >>> rm -rf /stand/vmunix.0723 /stand/system.0723 5. drive space # Load the HP-UX core media CDROM (Box # 4) mkdir /SD_CDROM mount /dev/dsk/c4t2d0 /SD_CDROM cdfs ro,suid 0 0 swinstall -x os_name=HP-UX:32 \ -x os_release=B.11.00 # will ask for the source media, so give path /SD_CDROM # Action, match what target has # Action, install analysis # Look at file system size before and after. If more space is needed, use SAM -> disks -> file system area -> logical volume # increase vol group to use an unused disk) Today 12/18/00: Filesystem kbytes used avail %used iused ifree %iuse Mounted on /dev/vg00/lvol3 86016 28520 54181 34% 3815 14373 21% / /dev/vg00/lvol1 47829 16505 26541 38% 21 7659 0% /stand /dev/vg00/lvol8 2097152 371001 1622825 19% 4328 431536 1% /var /dev/vg00/lvol7 1048576 498001 516202 49% 21866 137642 14% /usr /dev/vg00/lvol6 1024000 528604 464452 53% 12216 123848 9% /opt ######################################################### ## State of system as of 12/11/2000: df -k # ## # ##/usr (/dev/vg00/lvol7) : 1013919 total allocated Kb # ## 520501 free allocated Kb # ## 493418 used allocated Kb # ## 48 % allocation used # ## needed: 120 Mb free: 520 MB # ######################################################### ## # ##/opt (/dev/vg00/lvol6) : 992194 total allocated Kb # ## 477422 free allocated Kb # ## 514772 used allocated Kb # ## 51 % allocation used # ## needed: 5 Mb free: 477 MB # ######################################################### ##/var (/dev/vg00/lvol8) : 2057237 total allocated Kb # ## 621445 free allocated Kb # ## 1435792 used allocated Kb # ## 69 % allocation used # ## needed: 55 MB free: 621MB # ######################################################### 6. Delete the lps soft links rm -rf /usr/bin/lp 7. Remove net-9 form omniback on oview prior to upgrade: # loginto oview xomni -> install ->cell admn windows # highlight net-9 # edit -> export 8. remove SW-DIST.RUPDATE swremove SW-DIST.RUPDATE touch /home/jstile/x_file_date_marker.txt #use this to find / -newer 12. copy all of the following to /home/jstile/PreUpgrade/ cat /etc/rc.logs cat /var/adm/sw/swagent.log #sw installed during the upgrade cat /var/adm/sw/swagentd.log #messages from agents cat /var/adm/sw/swconfig.log #output from swconfig cat /varadm/sw/swinstall.log #list of products to be installed cat /var/adm/sw/swmodify.log #modifications made to the IPD cat /var/adm/sw/swremove.log #products removed during the pugrade Mon Dec 18 12:19:06 PST 2000 9. update Software Distributor # Load the HP-UX core media CDROM (Box # 4) mount /dev/dsk/c4t2d0 /SD_CDROM cdfs ro,suid 0 0 cp /SD_CDROM/catalog/SW-GETTOOLS/pfiles/sw\* /var/tmp/ cd /var/tmp/ ./swgettools -s /SD_CDROM 10. Verify the 11.0 version of SW-DIST is loaded swlist SW-DIST # or swlist |grep 11.0 11. Get to runlevel 2 on a command line. # exit CDE with exit button. # login as root, with commandline option. init 2 # login again as root 12. Upgrade the OS type /usr/sbin/swinstall \ -x logdetail=true \ -x allow_incompatible=false \ -x autoreboot=true \ -x match_target=true \ -x reinstall=true \ -x reinstall_files=true \ -x os_name=HP-UX:32 \ -x os_release=B.11.00 \ -s /SD_CDROM/Rel_B.11.0/core # this can take a few hours 13. Verify upgrade swlist -a state -l fileset swconfig \* #check all file sets for unconfigured state, and fixes them. swlist -a state -l fileset 14. Modify /etc/issue uname -a >> /etc/issue # It currently reads: # Unauthorized logins PROHIBITED # This system is reserved for the exclusive use of the # faculty, staff, and authorized users of Ohlone College. # Access to this system is logged, and unauthorized users may be prosecuted. 4. Make post-upgrade pre-patch boot ignite tape. Lable it "HPUX 11.00-Pre-Patch Ignite Tape 12/18/00" # put tape in drive make_recover -A 15. Load addtional software # Load the HP-UX 11.0 Application Software CDROM (Box # 1, boxed cd's) mount /dev/dsk/c4t2d0 /SD_CDROM cdfs ro,suid 0 0 swinstall # it will tell you that it contains protected # Action -> match what target has. # Actions ->install analysis # do this with each cd.. swinstall -> depot is /SD_CDROM/Rel_B.11.0/appl # from Actions -> Match Waht Target Has # from View -> Change Software View -> Start with Products # once it has completed without errors, click OK to upgrade the applications 16. List patches installed # Load the HP-UX 11.0 Support Plus CDROM (Box # 1, in the bag) mount /dev/dsk/c4t2d0 /SD_CDROM cdfs ro,suid 0 0 swinstall /SD_CDROM/xswgr1100 # from Actions -> Match Waht Target Has # manage patch selection-->collect patches for software installed on target. swlist -l products PH* |more 17. Cleanup the 10.20 patches cleanup -i 18. List patch installed swlist -l products PH* |more 4. Make post-upgrade post-patch boot ignite tape. Lable it "HPUX 11.00-Post-Patch Ignite Tape 12/18/00" # put tape in drive make_recover -A ======================================================================================= Post Upgrade Tasks make a copy of these files before the upgrade, and compare after. ======================================================================================= 19. Verify loaded products swlist -a 20. Load additional products there should not be any) 21. View logs and search for newconfig (compare these /home/jstile/PreUpgrade/ ) logs=`ls /home/jstile/PreUpgrade/` for log in logs do diff "/home/jstile/PreUpgrade/$log" "/var/adm/sw/swagent.log" done find / -newer /home/jstile/x_file_date_marker.txt # Note: newconfig is a directory with the generic 11.00 config files # If you need to go to a backup, they are here. 22. cleanup: Nothing in here needs to be here. It's safe to remove this stuff. find /var/tmp -atime +14 -exec rm {} \; 23. Test putty terminal, ssh, ftp, telnet, CDE, and printing. ssh in with putty echo $TERM #should =PUTTY # If it does not , type untic xterm > xterm.txt; sed 's/xterm/putty/g' xterm.txt > putty.txt; tic putty.txt telnet in, and ftp a file to net-9. Login to net-9 with CDE from your SUN worksation and from Oview. note: untic on HUPX, infocmp on linux and others. 24. Add net-9 to oview after to upgrade: # loginto oview xomni -> install ->edit install hosts -> unix host -> fill in dialog (under filter by host), # install disk agent or media agent. 25. Add lp link back. ln -s /usr/bin/lp /usr/bin/llp 4. Make post-upgrade pre-patch boot ignite tape. Lable it "HPUX 11.00-Pre-Patch Ignite Tape 12/18/00" # put tape in drive make_recover -A 26. Set kernel perameters for datatel sar -v 3 3 # display params sam -> kernel configuration -> configurable perameters -> *** Sandi knows of one of these perameters which should not be changed. *** She still needs identify wich one. # shmmni 400 # shmseg 120 # shmmax 1073741824 # shmmin 1 # msgmin 59 # msgtql 40 # msgmnb 16384 # msgmax 8192 # semmini 194 <---could prevent Unidata from running correctly. # semmnu 864 # maxuprc 288 # maxusers 288 # semmni 194 # maxfiles_lim 1019 # nfile 108693 # nproc 2324 # Make a backup of the kernel to boot from in the event of an error # (this is in addition to our boot tape) cp /stand/mvunix /stand/mvunix.20001218 cp /stand/system /stand/system.20001218 # REBOOT # CHECK CHANGES: sar -v 3 3 4. Make post-upgrade post-patch kernel-tweak boot ignite tape. Lable it "HPUX 11.00 Post-Patch Kernel-tweak Ignite Tape" # put tape in drive make_recover -A 23. Check the cron security hole (the paper is on John Stile's). 24. Test telenomics # Send email and call to Keith Williams. # Have him run a report. # Get verification that all is well. 25. Expire all passwords. 26. Check the custom scripts: Menus: OhloneMenu.ksh AdminMenu menu.ksh Patches: LoadSOS The resize scritps: safeResize postLiveBackup preLiveBackup resize.ksh Bookstore ftp stuff: textaid.ksh textaid.imp2001sp.ksh textaid.imp2000su.ksh textaid.10-12-2000.ksh textaid.imp2000fa.ksh 24. Generate new baseline configuration. # Filled out Datatel Document ID #156.211 # Email to Datatel # make boot tape Lable it "HPUX 11.00 2nd kernel tweak Ignite Tape 12/18/00" make_recover -A # Reconfigure Net-9 kernel reboot # make boot tape Lable it "HPUX 11.00 Running system 12/18/00" make_recover -A 27. test Datatel. =======================BEGIN DATATEL TEST=============================== cd /datatel/dev/coldev;udt :ST menu: RGN student lookup: 5196 (My ID) course section lookup: 005678 (need the preceeding zeros) F9 F9 (a second time) ... this will update registration billing ... at the RCSC screen: SHIFT F8 ShiFT F8 (a second time) Warning: Data from previous screen not accepted: bill will scroll past screen and print to your AUX printer back at ST menu menu: TRAN fields: 1: S 2: No 3: Yes 5: by student 6: add Herarchy: PREFERRED 8: 68077 (Jacque bradley) F9 F9 New screen for sorting - no changes F9 F9 transcript print screen 1: P 2: B4IS4CP (printer in Kiyoko's office on file cabinet) F9 F9 Return to continue...: (you'll see a process graph) back at ST menu menu: EX (back to colon prompt) :TM ST (test toolkit) tool kit menu displays menu: BPO Process LookUp: S.O09.DURING.REG (bring up a process - nothing really to test) SHIFT F8 SHIFT F8 menu: GEN Process Name LookUp: @ (will bring up S.O09.DURING.REG) COMPILE MESSAGES (should have no errors) Press RETURN to continue back at GEN screen F9 menu: EX : Most of the CF process that I know are detailed in instructions that will take a bit to write up. I'll check with Joanne to see if there's something simple that will produce a report or run a process that she thinks will benefit the testing. For HR, there's nothing in the development account setup for testing. If you can do ST and CF process, HR 'should' be fine. Lyle might have information on what we can check in the conversion account. =======================END DATATEL TEST=================================