The Ignite Server is tl-hp08.
Creating Additional Core Operation System Depots:
This will be updated on at least a semi-annual basis.
Creating Application Software Bundle:
This will be updated on a quarterly basis.
Creating Patch Bundle:
This will be updated on a quarterly basis.
This section refers to patches that were identified as required after the Support Plus media was made. This will be updated on a quarterly basis.
NOTE: If there are no required patches for the Support Plus media, be sure to remove (or comment out) references to critical_cfg or REQD_PATCH:
This will be done on a quarterly basis. As new software gets added, the older depots should be removed.
Creating Additional Core Operation System Depots:
This will be updated on at least a semi-annual basis.
- Get a list of depots on tl-hp08: swlist -l depot
- Deregister the core depot that's being replaced:
swreg -u -l depot <name of core depot from list> - Move and rename the core depot that's being replaced:
cd /var/opt/ignite/depots/<Release> mv core /depots/ignite/<Release>/core.<mmyy>
(ex: core.Sept2002)ln -s /depots/ignite/<Release>/core.<mmyy>
/var/opt/ignite/depots/<Release>/core.<mmyy>
- On the Ignite Server, mount HP's Core OS CD for an OS version for which you want to create a depot.
- Set your DISPLAY and run "ignite" (/opt/ignite/bin/ignite) on the Ignite Server.
- Once the ignite GUI comes up, select "Server Setup", continue past the initial screens (must have a valid IP address to continue) and skip the DHCP setup.
- Select "Copy CD" in the "Software Depot Setup" menu. As an example, let's assume you're creating a depot of 11.0 Core. This copies by default to depot: /var/opt/ignite/depots/Rel_B.11.0/core.
This "Copy CD" executes the following commands behind the scenes:
/opt/ignite/bin/make_depots -s /iuxcdrom0 -d /var/opt/ignite/depots/Rel_B.11.0/core -l /var/opt/ignite/logs/server_setup /opt/ignite/bin/make_config -c /var/opt/ignite/data/Rel_B.11.0/core_cfg -s /var/opt/ignite/depots/Rel_B.11.0/core /opt/ignite/bin/manage_index -a -f /var/opt/ignite/data/Rel_B.11.0/core_cfg
-c "HP-UX B.11.0 default"
(NOTE: The manage_index will fail on creating additional core depots since it
tries to find a "Default" configuration clause to update in /var/opt/ignite/INDEX.
This error can be ignored since the name of the core config file doesn't change
so INDEX doesn't need to be updated.)
NOTE:An alternative to using setup_server in the GUI to create the 11i Core-OS depot is to run the Ignite commands manually. The manual procedure for creating an 11i Core-OS depot for the server to use with client installs is:
1) Copy the contents of this CD to a depot:# make_depots -r B.11.23 -s /dev/dsk/c0t0d0 -d /var/opt/ignite/depots/Rel_B.11.X/core
2) Unmount the first CD and mount the second 11i Core-OS CD. Using the same target , copy the contents of the second CD:
3) Create a config file to describe your new depot:# make_config -c /var/opt/ignite/data/Rel_B.11.X/core_cfg -s /var/opt/ignite/depots/Rel_B.11.X/core
4) Add the configuration to the INDEX file:# manage_index -a -f /var/opt/ignite/data/Rel_B.11.X/core_cfg
- Go into the core depot directory and touch a date file to keep track of the date of the CD used to create the depot:
cd /var/opt/ignite/depots/<Release>/core touch date.<mmyy>
(ex: date.Dec2002)
- Check the validity of the newly-created depot:
swlist -l depot (to be sure depot is listed) Try to run swinstall using the newly-created depot.
- Check out Server's configuration (only do these steps for the initial core depot setup):
/opt/ignite/bin/instl_adm -d > /tmp/instl.out
vi /tmp/instl.out <-- If Server has the wrong IP address, correct it now. Then run "instl_adm -f /tmp/instl.out"
Creating Application Software Bundle:
This will be updated on a quarterly basis.
- Mount HP's Application CD containing the Auxiliary-Opt, WDB and WDB-GUI products on the Ignite Server.
NOTE: If Itanium-based DVD, mount it on an Itanium server. - Run "swinstall" to be sure you can see the software. You may need to enter a codeword.
- On Ignite Server,
mkdir -p /var/opt/ignite/Applications/<month&year>/app<110/11i/1123>_<mmyy>[Ex: mkdir -p /var/opt/ignite/Applications/Sept2002/app110_0902 or
mkdir -p /var/opt/ignite/Applications/Sept2002/app11i_0902 or mkdir -p /var/opt/ignite/Applications/Sept2002/app1123_0902] - Be sure the app<110/11i/1123>_<mmyy> directory has 777 permissions.
- Run "swcopy":
The target would be the Server's (tl-hp08's) directory you just created...For example, /var/opt/ignite/Applications/Sept2002/app11i_0902 The source would be "local directory" and depot path would be "/cdrom" (or wherever the CD is mounted).
- To select the Auxiliary-Opt, WDB, and WDB-GUI products, you may have to change "View" to "by product".
- Then select "Copy".
- Next, make a bundle. Syntax is as follows:
make_bundles -B -n DsiApps11i -t "HPUX 11i Sept 2002 Auxiliary-Opt and WDB" /var/opt/ignite/Applications/Sept2002/app11i_0902
[NOTE: This creates a directory called DsiApps11i under /var/opt/ignite/Applications/Sept2002/app11i_0902.] - Create the configuration file for the software. Syntax is as follows:
make_config -s /var/opt/ignite/Applications/Sept2002/app11i_0902 -a 800 -c /var/opt/ignite/data/Rel_B .11.11/DsiApps_cfg - Update the INDEX file. Syntax is as follows:
[NOTE: If the configuration file, like DsiApps_cfg, is already part of the INDEX file, you don't need to do this step.]
manage_index -a -f /var/opt/ignite/data/Rel_B.11.11/DsiApps_cfg -c "HP-UX B.11.11 DSI".
[NOTE: You can also update the /var/opt/ignite/INDEX file manually to include a AuxOpt_cfg entry.] - Run "instl_adm -T" to check the syntax of the INDEX file.
Creating Patch Bundle:
This will be updated on a quarterly basis.
- Mount HP's Support Plus CD containing the gold pack on the Ignite Server.
- On Ignite Server,
mkdir /var/opt/ignite/Patches/<month&year>/<qpk1100 or goldqpk11i>[Ex: mkdir /var/opt/ignite/Patches/June2002/qpk1100 or mkdir /var/opt/ignite/Patches/June2002/goldqpk11i] - Make sure the qpk1100 or goldqpk11i directory has 777 permissions.
- Run "swcopy". Syntax is as follows:
swcopy -s /cdrom/goldqpk11i \* @ tl-hp08:/var/opt/ignite/Patches/June2002/goldqpk11i
[NOTE: No "make_bundles" is necessary since we're copying the entire Gold Pack bundle.] - Run "swlist" to be sure you can read the bundle. Syntax is as follows:
swlist -d @ /var/opt/ignite/Patches/June2002/goldqpk11i - make_config -s /var/opt/ignite/Patches/June2002/goldqpk11i -a 800 -c /var/opt/ignite/data/Rel_B.11.11/GoldPatches_cfg
- Update the INDEX file. Syntax is as follows:
[NOTE: If the configuration file, like GoldPatches_cfg, is already part of the INDEX file, you don't need to do this step.]
manage_index -a -f /var/opt/ignite/data/Rel_B.11.11/GoldPatches_cfg -a "HP-UX B.11.11 default".
[NOTE: You can also update the /var/opt/ignite/INDEX file manually to include a GoldPatches_cfg entry. - Run "instl_adm -T" to check the syntax of the INDEX file.
This section refers to patches that were identified as required after the Support Plus media was made. This will be updated on a quarterly basis.
NOTE: If there are no required patches for the Support Plus media, be sure to remove (or comment out) references to critical_cfg or REQD_PATCH:
Comment out critical_cfg in /var/opt/ignite/INDEX. Remove /var/opt/ignite/data/<release>/critical_cfg. Comment out REQD_PATCH software selection in /var/opt/ignite/saved_cfgs/<release>_DSI.
- Dowload the patch(es) from HP's website into a temporary directory such as /tmp/patches/<Release> and untar it.
- After untarring the file, a create_depot script will be created. Edit this script and change the line that makes the file interactive when it is run.
Change the following line:
typset -i INTERACTIVE =0 to
typset -i INTERACTIVE =1 - Run the create_depot script:
# ./create_depot
Depot Name: /var/opt/ignite/Patches/<month&year>/critical<110 or 11i>
Bundle Name: REQD_PATCH
Bundle Title: Additional Required Patches
Unshar patch files (y/n):y
The directory /var/opt/ignite/Patches/<month&year>/critical<110 or 11i>will be created with the required patch bundle under it. - Make sure the critical110 or critical11i directory has 777 permissions.
- Run "swlist" to be sure you can read the bundle. Syntax is as follows:
swlist -d @ /var/opt/ignite/Patches/<month&year>/critical<110 or 11i> - make_config -s /var/opt/ignite/Patches/<month&year>/critical<110 or 11i> -a 800 -c/var/opt/ignite/data/<Release>/critical_cfg
- Update the INDEX file. Syntax is as follows:
[NOTE: If the configuration file, like critical_cfg, is already part of the INDEX file, you don't need to do this step.]
manage_index -a -f /var/opt/ignite/data/Rel_B.11.11/GoldPatches_cfg -a "HP-UX B.11.11 default".
[NOTE: You can also update the /var/opt/ignite/INDEX file manually to include a critical_cfg entry. - Run "instl_adm -T" to check the syntax of the INDEX file.
- Also be sure REQD_PATCH is a software selection in the /var/opt/ignite/saved_cfgs/<release>_DSI file.
This will be done on a quarterly basis. As new software gets added, the older depots should be removed.
- Get a list of depots on the Ignite Server:
swlist -l depot - Remove depots no longer used:
swreg -u -l depot <name of depot> - Remove the depot directory.
0 comments:
Post a Comment