managing SD patches
Script started on Thu Jan 10 16:32:32 2002 # superuser ---> "server_a" ---> /diskarray/SD_depot/CDE-patches ----------------------------------------------------- superuser@server_a [/diskarray/SD_depot/CDE-patches] >--> uname -a HP-UX server_a B.11.11 U 9000/861 2005218620 unlimited-user license # superuser ---> "server_a" ---> /diskarray/SD_depot/CDE-patches ----------------------------------------------------- superuser@server_a [/diskarray/SD_depot/CDE-patches] >--> ftp -i 192.151.52.14 Connected to 192.151.52.14. 220- 220-Welcome to the IT Resource Center ftp server 220------------------------------------------------------- 220- 220-You are user 35, and there is a limit of 400 simultaneous accesses. 220- 220-Log in as user "anonymous" (using your e-mail address as your password) 220-to retrieve available patches for HP-UX, MPE/iX, and other platforms. 220- 220-If you are a user of other HP ITRC services, log in with your 220-HP ITRC User ID and password to deposit or retrieve your files. 220- 220-If you have questions, send email to: 220- 220- support_feedback@europe-ffs.external.hp.com 220- 220 i3107ffs FTP server (HP ASL ftpd, version(322)) ready. Name (192.151.52.14:superuser): anonymous 331 Guest login ok, send your complete e-mail address as password. Password: 230 Guest login ok, access restrictions apply. Remote system type is UNIX. Using binary mode to transfer files. ftp> dir 200 PORT command successful. 150 Opening ASCII mode data connection for /bin/ls. total 16 drwxr-xr-x 15 2 2 1024 Nov 21 08:55 . drwxr-xr-x 15 2 2 1024 Nov 21 08:55 .. drwxr-x--- 2 50 100 96 Oct 17 1997 .archive drwxr-x--x 2 50 100 96 Oct 17 14:15 bin drwxr-xr-x 4 50 100 96 May 12 1998 domain_patches drwxr-xr-x 7 50 100 96 Mar 26 1998 export drwxr-xr-x 3 50 100 96 Dec 20 01:00 firmware_patches drwxr-xr-x 7 50 100 1024 Jan 9 01:05 hp-ux_patches drwxr-xr-x 3 50 100 96 Apr 10 2001 linux drwxr-xr-x 7 50 100 1024 Jan 10 01:00 mpe-ix_patches drwxr-xr-x 10 50 100 1024 Jan 9 01:06 mv_patches drwxr-xr-x 3 50 100 96 Apr 12 1999 patch_bundles drwxr-xr-x 4 50 100 96 Dec 23 01:05 patches_with_warnings lrwxr-xr-x 1 50 100 21 Oct 16 11:32 recalled_patches -> patches_with_warnings drwxr-xr-x 3 50 100 96 Jan 9 01:17 superseded_patches drwxr-x--- 8 50 100 3072 Jan 10 10:54 tmp lrwxr-x--- 1 0 3 20 Oct 17 14:15 users -> /mnt/disk_farm/users 226 Transfer complete. ftp> cd hp-ux_patches 250 CWD command successful. ftp> dir 200 PORT command successful. 150 Opening ASCII mode data connection for /bin/ls. total 1720 drwxr-xr-x 7 50 100 1024 Jan 9 01:05 . drwxr-xr-x 15 2 2 1024 Nov 21 08:55 .. -rw-r--r-- 1 50 100 873559 Jan 9 01:05 catalog drwxr-xr-x 7 50 100 1024 Apr 2 2001 openspool drwxr-xr-x 7 50 100 1024 Dec 24 1999 s300_400 drwxr-xr-x 6 50 100 96 Jan 8 01:02 s700 drwxr-xr-x 8 50 100 1024 Jan 9 01:05 s700_800 drwxr-xr-x 8 50 100 1024 Dec 23 01:04 s800 226 Transfer complete. ftp> cd s700_800 250 CWD command successful. ftp> dir 200 PORT command successful. 150 Opening ASCII mode data connection for /bin/ls. total 1306 drwxr-xr-x 8 50 100 1024 Jan 9 01:05 . drwxr-xr-x 7 50 100 1024 Jan 9 01:05 .. drwxr-xr-x 2 50 100 65536 Jan 9 01:00 10.X drwxr-xr-x 2 50 100 61440 Jan 9 01:03 11.X drwxr-xr-x 2 50 100 96 Feb 22 2001 7-8.X drwxr-xr-x 2 50 100 1024 Feb 22 2001 8-9.X drwxr-xr-x 2 50 100 1024 Feb 22 2001 8.X drwxr-xr-x 2 50 100 19456 Nov 26 12:03 9.X -rw-r--r-- 1 50 100 517512 Jan 9 01:05 catalog 226 Transfer complete. ftp> cd 11.X 250 CWD command successful. ftp> dir 200 PORT command successful. 150 Opening ASCII mode data connection for /bin/ls. total 10611784 drwxr-xr-x 2 50 100 61440 Jan 9 01:03 . drwxr-xr-x 8 50 100 1024 Jan 9 01:05 .. -rw-r--r-- 1 50 100 196309 Dec 12 1997 PH......... .................................................................. -rw-r--r-- 1 50 100 216134 Jan 9 01:05 catalog 226 Transfer complete. ftp> bin 200 Type set to I. ftp> get PHCO_24777 200 PORT command successful. 150 Opening BINARY mode data connection for PHCO_24777 (253988 bytes). 226 Transfer complete. (size and time displayed... ) ftp> pwd 257 "/hp-ux_patches/s700_800" is current directory. ftp> quit 221 Goodbye. >--> ls PHCO_24777 PHCO_24839 PHKL_23335 PHKL_24517 PHKL_24518 PHNE_24035 PHSS_25788 PHSS_25789 # superuser ---> "server_a" ---> /diskarray/SD_depot/CDE-patches ----------------------------------------------------- superuser@server_a [/diskarray/SD_depot/CDE-patches] >--> shar PHCO_24777 # This is a shell archive. Remove anything before this line, # then unpack it by saving it in a file and typing "sh file". # # Wrapped by
- create a directory: mkdir /diskarray/tmp-patches
- ftp to hp server: ftp -i 192.151.52.14
- get patches: cd
- sh patches: sh PHxxxx
- create a formal Depot directory: mkdir /diskarray/DEPOT/patches-2002
- register Depot: swreg -l depot /diskarray/DEPOT/patches-2002
- swcopy into Depot: swcopy & (use gui) - copy tmp-patches to Depot
- remove original files: rm -r diskarray/tmp-patches
- swinstall or use SAM to install patches on systems.
on Thu Jan 10 16:47:06 2002 # # This archive contains: # PHCO_24777 # LANG=""; export LANG PATH=/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:$PATH; export PATH EXIT_STATUS=0 echo x - PHCO_24777 sed 's/^@//' >PHCO_24777 <<'@EOF' #---------------------------------- cut here ---------------------------------- # This is a shell archive. Remove anything before this line, # then unpack it by saving it in a file and typing "sh file". # # Wrapped by WTEC Patch Team on Wed Sep 5 12:51:36 2001 # # This archive contains: # PHCO_24777.text PHCO_24777.depot # # Existing files will not be overwritten. # Modification/access file times will be preserved. # Error checking via wc(1) will be performed. # Error checking via sum(1) will be performed. # Binary files are compressed using compress(1). LANG=""; export LANG LC_CTYPE=""; export LC_CTYPE LC_ALL=""; export LC_ALL PATH=/bin:/usr/bin:$PATH; export PATH (much of file not displayed) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 250 KBytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as superuser. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHCO_24777 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_24777.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_24777. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHCO_24777.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_24777.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_24777.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: When installing/removing this patch using swinstall/swremove use the option mount_all_filesystems=false. (much of file not displayed) # superuser ---> "server_a" ---> /diskarray/SD_depot/CDE-patches ----------------------------------------------------- superuser@server_a [/diskarray/SD_depot/CDE-patches] >--> ll total 40558 -rw-r--r-- 1 superuser sys 253988 Jan 10 16:34 PHCO_24777 -rw-r--r-- 1 superuser sys 183646 Jan 10 16:34 PHCO_24839 -rw-r--r-- 1 superuser sys 48419 Jan 10 16:42 PHKL_23335 -rw-r--r-- 1 superuser sys 51245 Jan 10 16:45 PHKL_24517 -rw-r--r-- 1 superuser sys 51255 Jan 10 16:46 PHKL_24518 -rw-r--r-- 1 superuser sys 4657741 Jan 10 16:37 PHNE_24035 -rw-r--r-- 1 superuser sys 5547072 Jan 10 16:39 PHSS_25788 -rw-r--r-- 1 superuser sys 9966389 Jan 10 16:42 PHSS_25789 # superuser ---> "server_a" ---> /diskarray/SD_depot/CDE-patches ----------------------------------------------------- superuser@server_a [/diskarray/SD_depot/CDE-patches] >--> sh PHCO_24839 x - PHCO_24839.text x - PHCO_24839.depot [compressed] # superuser ---> "server_a" ---> /diskarray/SD_depot/CDE-patches ----------------------------------------------------- superuser@server_a [/diskarray/SD_depot/CDE-patches] >--> ll total 41654 -rw-r--r-- 1 superuser sys 253988 Jan 10 16:34 PHCO_24777 -rw-r--r-- 1 superuser sys 256000 Aug 30 22:04 PHCO_24777.depot -rw-r--r-- 1 superuser sys 4282 Sep 5 12:51 PHCO_24777.text -rw-r--r-- 1 superuser sys 183646 Jan 10 16:34 PHCO_24839 -rw-r--r-- 1 superuser sys 225280 Aug 24 13:28 PHCO_24839.depot -rw-r--r-- 1 superuser sys 8022 Aug 27 15:57 PHCO_24839.text -rw-r--r-- 1 superuser sys 48419 Jan 10 16:42 PHKL_23335 -rw-r--r-- 1 superuser sys 61440 Feb 15 2001 PHKL_23335.depot -rw-r--r-- 1 superuser sys 4599 May 1 2001 PHKL_23335.text -rw-r--r-- 1 superuser sys 51245 Jan 10 16:45 PHKL_24517 -rw-r--r-- 1 superuser sys 51255 Jan 10 16:46 PHKL_24518 -rw-r--r-- 1 superuser sys 4657741 Jan 10 16:37 PHNE_24035 -rw-r--r-- 1 superuser sys 5547072 Jan 10 16:39 PHSS_25788 -rw-r--r-- 1 superuser sys 9966389 Jan 10 16:42 PHSS_25789 # superuser ---> "server_a" ---> /diskarray/SD_depot/CDE-patches ----------------------------------------------------- superuser@server_a [/diskarray/SD_depot/CDE-patches] >--> mv PHKL_2451* /diskarray/sa/ # superuser ---> "server_a" ---> /diskarray/SD_depot/CDE-patches ----------------------------------------------------- superuser@server_a [/diskarray/SD_depot/CDE-patches] >--> echo "PHKL_2451x are 10.20 patches, moved to server_b" PHKL_2451x are 10.20 patches, moved to server_b # superuser ---> "server_a" ---> /diskarray/SD_depot/CDE-patches ----------------------------------------------------- superuser@server_a [/diskarray/SD_depot/CDE-patches] >--> ll total 90182 -rw-r--r-- 1 superuser sys 253988 Jan 10 16:34 PHCO_24777 -rw-r--r-- 1 superuser sys 256000 Aug 30 22:04 PHCO_24777.depot -rw-r--r-- 1 superuser sys 4282 Sep 5 12:51 PHCO_24777.text -rw-r--r-- 1 superuser sys 183646 Jan 10 16:34 PHCO_24839 -rw-r--r-- 1 superuser sys 225280 Aug 24 13:28 PHCO_24839.depot -rw-r--r-- 1 superuser sys 8022 Aug 27 15:57 PHCO_24839.text -rw-r--r-- 1 superuser sys 48419 Jan 10 16:42 PHKL_23335 -rw-r--r-- 1 superuser sys 61440 Feb 15 2001 PHKL_23335.depot -rw-r--r-- 1 superuser sys 4599 May 1 2001 PHKL_23335.text -rw-r--r-- 1 superuser sys 4657741 Jan 10 16:37 PHNE_24035 -rw-r--r-- 1 superuser sys 7208960 Aug 30 23:04 PHNE_24035.depot -rw-r--r-- 1 superuser sys 54843 Sep 5 17:02 PHNE_24035.text -rw-r--r-- 1 superuser sys 5547072 Jan 10 16:39 PHSS_25788 -rw-r--r-- 1 superuser sys 7526400 Dec 17 04:26 PHSS_25788.depot -rw-r--r-- 1 superuser sys 27024 Dec 18 18:09 PHSS_25788.text -rw-r--r-- 1 superuser sys 9966389 Jan 10 16:42 PHSS_25789 -rw-r--r-- 1 superuser sys 10086400 Dec 17 04:34 PHSS_25789.depot -rw-r--r-- 1 superuser sys 45470 Dec 18 18:24 PHSS_25789.text # superuser ---> "server_a" ---> /diskarray/SD_depot/CDE-patches ----------------------------------------------------- superuser@server_a [/diskarray/SD_depot/CDE-patches] >--> echo "swcopy invoked, copying files into /diskarray/SD_depot/APPS700" swcopy invoked, copying files into /diskarray/SD_depot/APPS700 # superuser ---> "server_a" ---> /diskarray/SD_depot/CDE-patches ----------------------------------------------------- superuser@server_a [/diskarray/SD_depot/CDE-patches] >--> ls PHCO_24777 PHCO_24839.depot PHKL_23335.text PHSS_25788 PHSS_25789.depot PHCO_24777.depot PHCO_24839.text PHNE_24035 PHSS_25788.depot PHSS_25789.text PHCO_24777.text PHKL_23335 PHNE_24035.depot PHSS_25788.text PHCO_24839 PHKL_23335.depot PHNE_24035.text PHSS_25789 # superuser ---> "server_a" ---> /diskarray/SD_depot/CDE-patches ----------------------------------------------------- superuser@server_a [/diskarray/SD_depot/CDE-patches] >--> ll *.depot -rw-r--r-- 1 superuser sys 256000 Aug 30 22:04 PHCO_24777.depot -rw-r--r-- 1 superuser sys 225280 Aug 24 13:28 PHCO_24839.depot -rw-r--r-- 1 superuser sys 61440 Feb 15 2001 PHKL_23335.depot -rw-r--r-- 1 superuser sys 7208960 Aug 30 23:04 PHNE_24035.depot -rw-r--r-- 1 superuser sys 7526400 Dec 17 04:26 PHSS_25788.depot -rw-r--r-- 1 superuser sys 10086400 Dec 17 04:34 PHSS_25789.depot # superuser ---> "server_a" ---> /diskarray/SD_depot/CDE-patches ----------------------------------------------------- superuser@server_a [/diskarray/SD_depot/CDE-patches] >--> swlist -l depot # Initializing... # Target "server_a" has the following depot(s): /SD_CDROM /diskarray/SD_depot /diskarray/SD_depot/APPS700 /diskarray/SD_depot/APPS800 /diskarray/SD_depot/OMNIBACK-PATCHES # superuser ---> "server_a" ---> /diskarray/SD_depot/CDE-patches ----------------------------------------------------- superuser@server_a [/diskarray/SD_depot/CDE-patches] >--> swreg -u -l depot /diskarray/SD_depot ======= 01/11/02 13:09:37 PST BEGIN swreg SESSION (non-interactive) * Session started for user "superuser@server_a". * Beginning Selection * Targets: server_a * Objects: /diskarray/SD_depot ERROR: "server_a:/diskarray/SD_depot": This depot you are trying to unregister is not registered. ERROR: More information may be found in the daemon logfile on this target (default location is server_a:/var/adm/sw/swagentd.log). * Selection had errors. ======= 01/11/02 13:09:37 PST END swreg SESSION (non-interactive) # superuser ---> "server_a" ---> /diskarray/SD_depot/CDE-patches ----------------------------------------------------- superuser@server_a [/diskarray/SD_depot/CDE-patches] >--> swlist--l-depotot /diskarray/SD_depot # Initializing... # Target "server_a" has the following depot(s): /SD_CDROM /diskarray/SD_depot/APPS700 /diskarray/SD_depot/APPS800 /diskarray/SD_depot/OMNIBACK-PATCHES # superuser ---> "server_a" ---> /diskarray/SD_depot/CDE-patches ----------------------------------------------------- superuser@server_a [/diskarray/SD_depot/CDE-patches] >--> swlist -l depot # Initializing... # Target "server_a" has the following depot(s): /SD_CDROM /diskarray/SD_depot/APPS700 /diskarray/SD_depot/APPS800 /diskarray/SD_depot/OMNIBACK-PATCHES # superuser ---> "server_a" ---> /diskarray/SD_depot/CDE-patches ----------------------------------------------------- superuser@server_a [/diskarray/SD_depot/CDE-patches] >--> echo " used swcopy to move CDE-patches into APPS700 " used swcopy to move CDE-patches into APPS700 # superuser ---> "server_a" ---> /diskarray/SD_depot ----------------------------------------------------- superuser@server_a [/diskarray/SD_depot] >--> exit script done on Fri Jan 11 13:15:39 2002
|
Select pages from WAGONEERS.COM:
Buy this FSJ decal... ...use PayPal to pay for it! |
AMSOIL synthetic lubricants and filters (please use customer #283461)
Shop AMAZON.com from wagoneers.com!
| |||||||