Process Number: 94

Revision Date: 11/7/2001 3:34:00 PM
Revision #: 5
Back | Access Password:
 

Datatel Patch Load - SOS Batch

Office Responsible: DCS - District - Computing Services Process Type: internal
Position Title: Datatel System Administrator Author: Technical Director
Cross Trained Staff: Manager: DHarris Vice Pres.: RTemple

Timeline (Deadlines or Time-Constraints) :
Monthly/After-hours/No Users on System
What must be done before this process is started:
Which processes are waiting for this process:
Source documents or communication with information needed for this process:
What is the end-result of this process, or the hand-off
What steps must be taken independent of the computer system (Manual Process)
Which steps must be taken on a computer (Electronic Process):
This function has been replaced by Datatel`s ExpressLoad System. Please see the Datatel ExpressLoad manual for guidance.

Old Procedure:

Function
This program performs a setup of Datatel SOS Patches in a batch mode that allows you to gather and install several patches at one time. This program creates all VOC pointers to release and SOS directories as needed based on paths coded in the program.
Usage


Step 1: Modify the hard coded "path" name in the program to match your
sites`s directory layout and names. Compile the program and
create a VOC item to run it.

Step 2: Create a SAVEDLISTS entry containing a list of the patches to be
loaded in the desired order of execution.

Step 3: Run the SOS.SETUP program.

Step 4: Exit to Unix, cd to the SOS directory, and execute the Unix
"extract.sos" script. (you may need to set permissions on it)

Step 5: Exit to Unix, cd to the INSTALL account, enter Unidata, and
execute the SOS.COPY.INSTALL paragraph.

Step 6: Execute the SOS.INSTALL.MAIN paragraph as needed for each main
account(live, test, educ, dev) to be updated. (in the INSTALL
Account)

Obsolete: Do Not Do Step *6 & *7, use SOS.INSTALL.MAIN instead.
Step *6: Execute the SOS.INSTALL paragraph (in the INSTALL account)
Step *7: Execute the SOS.MAIN paragraph as needed for each main account
(live, test, educ, dev) to be updated. (in the INSTALL account)

Step 7: Exit Unidata, cd to the main account, execute the SOS.USER
paragraph as needed for each remote account to be updated.

Samples


The "ordered" list of patches to be batch installed


:AE SAVEDLISTS SOS.SETUP000
Top of "SOS.SETUP000" in "SAVEDLISTS", 4 lines, 103 characters.
*--: P
001: C0100-101_ST_160_UNIX
002: C0100-201_ST_160_UNIX.tar
003: C0100-301_ST_160_UNIX.tar.Z
004: C0100-401_ST_160_UNIX_IMAGE
Bottom.



The actual execution of the SOS.SETUP program.


Performing setup of Batch SOS Install

Enter Ordered Patch Savedlist Name :SOS.SETUP

Enter SOS name (SOS.COLL, SOS.BEN, SOS.UT) :SOS.COLL

Enter Release install acct name (COLL16, BEN50) :COLL16

4 records retrieved to list 0.



The Unix script to extract the ftp`ed patch files.


:AE SOS.COLL extract.sos
Top of "extract.sos" in "SOS.COLL", 15 lines, 566 characters.
001: uncompress -vf C0100-101_ST_160_UNIX.tar.Z
002: tar -xvf C0100-101_ST_160_UNIX.tar
003: convcode C0100-101_ST_160_UNIX_IMAGE
004: uncompress -vf C0100-201_ST_160_UNIX.tar.Z
005: tar -xvf C0100-201_ST_160_UNIX.tar
006: convcode C0100-201_ST_160_UNIX_IMAGE
007: uncompress -vf C0100-301_ST_160_UNIX.tar.Z
008: tar -xvf C0100-301_ST_160_UNIX.tar
009: convcode C0100-301_ST_160_UNIX_IMAGE
010: uncompress -vf C0100-401_ST_160_UNIX.tar.Z
011: tar -xvf C0100-401_ST_160_UNIX.tar
012: convcode C0100-401_ST_160_UNIX_IMAGE
013: find . -print | xargs chmod 775 &
014: find . -print | xargs chgrp live &
015: find . -print | xargs chown datatel &
Bottom.



The Paragraphs created to install the patches and update the various accounts.


:AE COLL16.INSTALL SOS.COPY.INSTALL SOS.INSTALL SOS.MAIN SOS.USER
< 1 > Top of "SOS.COPY.INSTALL" in "COLL16.INSTALL", 5 lines, 302 characters.
001: PA
002: COPY FROM C0100-101_ST_160_UNIX_IMAGE TO VOC C0100-101_ST_160_UNIX_INSTALL
003: COPY FROM C0100-201_ST_160_UNIX_IMAGE TO VOC C0100-201_ST_160_UNIX_INSTALL
004: COPY FROM C0100-301_ST_160_UNIX_IMAGE TO VOC C0100-301_ST_160_UNIX_INSTALL
005: COPY FROM C0100-401_ST_160_UNIX_IMAGE TO VOC C0100-401_ST_160_UNIX_INSTALL
Bottom.

< 2 > Top of "SOS.INSTALL" in "COLL16.INSTALL", 5 lines, 122 characters.
001: PA
002: C0100-101_ST_160_UNIX_INSTALL
003: C0100-201_ST_160_UNIX_INSTALL
004: C0100-301_ST_160_UNIX_INSTALL
005: C0100-401_ST_160_UNIX_INSTALL
Bottom.

< 3 > Top of "SOS.MAIN" in "COLL16.INSTALL", 5 lines, 110 characters.
001: PA
002: C0100-101_ST_160_UNIX_MAIN
003: C0100-201_ST_160_UNIX_MAIN
004: C0100-301_ST_160_UNIX_MAIN
005: C0100-401_ST_160_UNIX_MAIN
Bottom.

< 4 > Top of "SOS.USER" in "COLL16.INSTALL", 5 lines, 110 characters.
001: PA
002: C0100-101_ST_160_UNIX_USER
003: C0100-201_ST_160_UNIX_USER
004: C0100-301_ST_160_UNIX_USER
005: C0100-401_ST_160_UNIX_USER
Bottom.
Related Documents to Process (e.g. Datatel documentation, Government code books, etc.)
Notes (Cautions, suggestions for improvement, etc.)

Process Number: 94

Revision Date: 11/7/2001 3:34:00 PM
Revision #: 5
Back | Access Password:

 
© 2013 San Bernardino Community College District - All Rights Reserved