Professional Documents
Culture Documents
Confidentiality level Product name Graphic Patch Installation Disk Framework Product version !""#""$ Secret Total 19 pages
Contents 1 Description of the Graphic Patch Installation Disk Framework'''''''''''''''''''''''''''''''''''''''1 ! +aking Graphic Patch Installation Disk'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''1 , Ca&tion''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''1
1'1 1verview
The graphic patch installation disk is developed -ased on the framework of the installation disk' It does not incl&de the development of the patch' It only provides the framework software of an installation patch' The software s&pports the patch installation &nder2 3indows operating system and S4) Server !""" data-ase Solaris operating system and Sy-ase data-ase environment )in&0 operating system and D.! data-ase environment )in&0 operating system and Sy-ase data-ase environment' Detection of the condition -efore patch installation *&tomatic -ack&p of the application program files and data-ase' It also s&pports f&nctions s&ch as patch installation( roll-ack for installation fail&re and patch &nloading'
Dependecy%n! It is mandatory' It is the dependency of the version( which is the version n&m-er of the /+ system that can install the patch' #$ample:
<#e$endec%&n> <item>!0001008(00#021<"item> <"#e$endec%&n>
&ack'pFile! It is optional' It is the /+ directory and file that needs -ack&p' The client installation mode -acks &p the client directory -y defa<' The server installation mode -acks &p the client and server directory -y defa<' /ote2 The directory or file m&st comply with the standard 7nglish directory'
#$ample:
<(ac)*$+ile> <item>client<"item> <item>$ost-.$date-r.n.sh<"item> <"(ac)*$+ile>
&ack'pD&! It is optional' It is the /+ data-ase that needs the -ack&p' *ll the /+ data-ases are -acked &p -y defa<' This is not re6&ired for )in&0' #$ample:
<(ac)*$#(>
(onfig)file! It is optional' It is the /+ file that m&st -e replaced -y the macro' The name of the config&ration file can incl&de wildcards s&ch as ;(<' The path of the directory file corresponds to the installation path of the /+' The =5> instead of =?> is &sed in the path' #$ample:
<,on ig- ile> <item>server"con "6.c g<"item> <item>server"con "snm$agent.c g<"item> <item>server"con "s%smoni"6<"item> <",on ig- ile>
<item> (/3#(<"item> <item> Per #(<"item> <"(ac)*$#(> <,on ig- ile> <item>server"con "6.c g<"item> <item>server"con "snm$agent.c g<"item> <item>server"con "s%smoni"6<"item> <",on ig- ile> <"PatchIn o>
/ote2 The +acros are replaced in a file or script already e0isting in the installed directory' Installation Disk does not replace macros( if file si@e is greater than ! +.' custom#nvMgr! It is optional' The tag Ac&stom7nv+grB needs to -e added into patchInfo'0ml which contains the f&lly 6&alified class name implementing the C&stom7nv+anager interface' This interface will -e called -efore decompressing the patch d&ring patch installation' Description of the interface is as follows2
P.7lic Inter ace ,.stom'nv/anager 8 "6i i ret.rn val.e is alse9 $atch installdis) sho:s error and exits.
If this tag is not config&red or any invalid inp&t is provided( then Patch Install Disk will not call the method check7nvCD' Instead it logs the error message and contin&es' Patch Install Disk provides interface to s&pport prod&ct environment checking d&ring patch installation' 70ample2 The Prod&ct will check for availa-le disk space Cincl&ding the space re6&ired for decompressingD'
<c.stom'nv/gr> com.h.a:ei.5est'nv <"c.stom'nv/gr> P.7lic ,lass 5est'nv im$lements ,.stom'nv/anager 8 P.7lic (oolean chec)'nv;< 8 "6 logic to chec) environment I s.ccess
1et.rn tr.e
/ote2 Disk space will -e checked d&ring patch &ninstallation to restore the application' If the re6&ired space is not availa-le an error message will -e shown'
<$red7scri$t> <item><"item> BBBBBB. <"$red7scri$t> <$ostd7scri$t> <item><"item> BBBBBB. <"$ostd7scri$t> <envitems><"envitems> <"$atch> <"$atchgro.$>
/ote2 The +acros are replaced in a file or script getting added with this patch installation '
/one 70ample
Apatchgro&p nameEF.+S#11TGP*TC%FB A5patchgro&p B patch name+, , type+, ,! It is mandatory' It refers to the patch name and the installation mode' Property
name It is mandatory' It is the name of the patch' type It is mandatory' It is the type of the installed patch' The category of the component type is c&stomi@ed -y the installation disk maker -ased on act&al application' The patch is classified into ServerProgram( ClientProgram( and D.Script'
al&e
/one 70ample
Apatch nameEF .+SPatch F typeEFServerProgramFB A5patchB check)pkg! Patch detection identifier Property
/one al&e
If the val&e is tr&e( detect whether the /+ system contains the component that needs to install the patch' If the val&e is false( perform the installation directly' 70ample
AcheckGpkgBtr&eA5checkGpkgB desDir! It is optional' It is the path for decompressing the patch package' If the val&e is n&ll( the program decompresses the patch package to the temporary directory of the operating system -y defa<' The =5> instead of =?> is &sed in the path' Path 70ample Property
/one al&e
AdesDirBD25n!"""5decompress A5desDirB run-ime! It is mandatory' It is the time re6&ired for installing the patch Cestimated timeD and is &sed for controlling the display of the installation progress -ar' If the adding is incorrect( the display of the progress -ar is inacc&rate' There are two forms of the time re6&ired -y installing the patch( installing single patch and m<iple patches' The graphic patch framework is prior to the installation of single patch' The config&ration of installing a single patch is as follows2 Property
/one
al&e
/one al&e ersion n&m-er I 2 I time Cmin&teD The config&ration is from top to -ottom in the config&ration file' Config&re the version n&m-er from small n&m-er to large n&m-er as shown in the following e0ample' Config&re other val&es according to the single patch' The single patch is the largest patch n&m-er of m<iple patches' 70ample
Ar&nTimeB AitemB !""#""$."!D"H1SP"12!$A5itemB AitemB !""#""$."!D"H1SP"$2!HA5itemB AitemB !""#""$."!D"H1SP112!$A5itemB AitemB !""#""$."!D"H1SP1!2!JA5itemB AitemB !""#""$."!D"H1SP1,2!!A5itemB A5r&nTimeB dft.elect! Property
/one al&e
AdftSelectByesA5dftSelectB package)file! It is mandatory' It is the compression package corresponding to the patch' 7ach patch can only correspond to one compression package' Property
/one
al&e
/one al&e
AdependencyBamgJ"""v1r!,19amgJ"""v1r!,A5dependencyB e$tract)file)si/e! It is mandatory' It is the si@e of the decompressed package with the &nit of +' If there is no adding or the adding is incorrect( the M&dgment of the disk space is inacc&rate' Property
/one al&e
It is the si@e of the decompressed patch package with the &nit of +' 70ample
Ae0tractGfileGsi@eBH"A5e0tractGfileGsi@eB config)file! It is optional' It is the config&ration file or script that needs modification' These files contain the macro( which m&st -e replaced dynamically -y the patch installation disk framework' Collect the macro val&e -y interacting with the G8I' The path of the config&ration file corresponds to the path for decompressing the patch package' The =5> instead of =?> is &sed in the path' Property
/one al&e
It contains m<iple AitemB' 7ach AitemB corresponds to a file name Ccan incl&de wildcards s&ch as ;(<D'
70ample
AconfigGfileB AitemB !""#""$."!D"H1SP1"GServer5data5imap5installscript5;A5itemB A5configGfileB /ote2 Installation Disk does not replace macros( if file si@e is greater than ! +.' preinstallscript! It is optional' It is the preNinstallation script( that is( the script e0ec&ted -efore patch installation' The val&e " is ret&rned if the script is e0ec&ted correctly and the val&e other than " is ret&rned if the script is wrongly e0ec&ted' The type of the ret&rn val&e of other scripts is the same as that in this script' Property
/one al&e
It contains m<iple AitemB( and each AitemB corresponds to a script name' 70ample
Nforce
Ns
The script is the -atch processing file e0ec&ted for patch installation in the deployed patch package' The parameter Rforce means to install the patch -y force( and OPI/SD.S8P8S7#P3DQ is the password of the data-ase server' Client2 !""#""$."!D"H1SP1"GClient5-mspatch'-at Nforce Nc OPI/ST*))#11TQ OPI/ST*))#11TQ is the installation path of the /+ client' postinstallscript! It is optional' It is the post installation script( that is( the script e0ec&ted after the patch installation' The path of the config&ration file corresponds to the path for decompressing the patch package' The =5> instead of =?> is &sed in the path'
Property
/one al&e
ApostinstallscriptB AitemBdata5prod&ct5hgmp5s6l's6lA5itemB A5postinstallscript B data0asetag! It is optional' It is the data-ase the patch m&st create' 7ach patch can create m<iple data-ase( which are separated -y =9>' Property
/one al&e
It is the data-ase the patch m&st create' 7ach patch can create m<iple data-ase( which are separated -y =9>' 70ample
Adata-asetagBSec&rityD.9)ogD.9TopoD.A5data-asetagB pred0script! It is optional' It is the script e0ec&ted -efore creating the data-ase' It incl&des the data-ase script and the operating system script' The path of the config&ration file corresponds to the path for decompressing the patch package' The =5> instead of =?> is &sed in the path' Property
/one al&e
ApreD.ScriptB AitemBscript5shell5post5emf5schdGdataGinsertGsy-'s6lA5itemB A5preD.ScriptB postd0script! It is optional' It is the script e0ec&ted after creating the data-ase' It incl&des the data-ase script and the operating system script'
The path of the config&ration file corresponds to the path for decompressing the patch package' The =5> instead of =?> is &sed in the path' Property
/one al&e
Apostd-scriptB AitemBscript5shell5post5imapGpostGmasterGcreateGmss6l's6lA5itemB Apostd-scriptB envitems! It is optional' It is the environment varia-le that m&st -e registered' Property
/one al&e
It contains m<iple AitemB elements( and each AitemB corresponds to an environment varia-le' The name property of the AitemB element The name of the environment varia-le The val&e of the AitemB element The val&e of the environment varia-le 70ample
/ote2 The config&ration file can either -e &sed for patch package deployment or &sed for the deployment of m<iple patch packages' 7ach patch package corresponds to a config&ration item of the a-ove format' The com-ination of these config&ration items can -e the description file of an entire patch package' The format is given -elow'
<$atch name=" !000100D(00#0513P01" t%$e="3erverProgram "> <chec)-$)g> <"chec)-$)g> <des#ir> <"des#ir> <r.n5ime><"r.n5ime> <d t3elect> <"d t3elect> <$ac)age- ile> <"$ac)age- ile> <de$endenc%> <"de$endenc%> <extract- ile-siAe><"extract- ile-siAe> <con ig- ile><"con ig- ile> <$reinstallscri$t> <"$reinstallscri$t> <$ostinstallscri$t><"$ostinstallscri$t> <data7asetag><"data7asetag> <$red7scri$t><"$red7scri$t> <$ostd7scri$t><"$ostd7scri$t> <envitems><"envitems> <"$atch>
<$atch name=" !000100D(00#0513P00" t%$e=" 3erverProgram"> <chec)-$)g> <"chec)-$)g> <des#ir> <"des#ir> <r.n5ime><"r.n5ime> <d t3elect> <"d t3elect> <$ac)age- ile> <"$ac)age- ile> <de$endenc%> <"de$endenc%> <extract- ile-siAe><"extract- ile-siAe> <con ig- ile><"con ig- ile> <$reinstallscri$t> <"$reinstallscri$t> <$ostinstallscri$t><"$ostinstallscri$t> <data7asetag><"data7asetag> <$red7scri$t><"$red7scri$t> <$ostd7scri$t><"$ostd7scri$t> <envitems><"envitems> <"$atch> <"$atchgro.$>
(1I#2-)"#3.I%2)P4-5 is the file path of the client version information' .#3"#3)"#3.I%2)P4-5 is the file path of the server version information' The file name of the config&ration version information varies with the /+' 1ther information in the patch'cfg file does not change with the /+' /ote2 Press #nter -&tton twice after creating the ersion file and writing the version information to ens&re that there is the enter character after the version information'
70amples2
E8I/IP4I/'-*,>=40000 E8Igent4ame>=i/IP34/PIgent
If the common macro in the framework is &sed in the patch package( it can -e &sed directly' The common macros s&pported in the framework are listed as follows2 Table 1.2 Common +acros s&pported -y InstallDisk
+acro /ame OPI/S+DPIPQ OPI/SD.S7# 7#IPQ OPI/SD.S7# 7#/*+7Q OPI/SD.TKP7Q OPI/SD.P1#TQ OPI/SD.+SI/ST*))DI#Q OPI/SD.S8P8S7#Q OPI/SD.S8P8S7#P3DQ OPI/SD.S8P8S7#P3DD7SQ OPI/S/+SD.8S7#Q OPI/S/+SD.8S7#P3DQ OPI/S/+SD.8S7#P3DD7SQ OPI/ST*))#11TQ OPI/S)*/G8*G7Q OPI/SD.T11)SD))Q OPI/SC)I7/T)*/GQ OPI/SC)I7/TC18/T#KQ OPI/SS7# 7#)*/GQ OPI/SI+*P)*/GQ OPI/S%1ST/*+7Q +DP IP IP address of the data-ase server Data-ase service name Data-ase type Data-ase port n&m-er Installation root directory of the data-ase management software S&per &ser name of the data-ase Password of the data-ase s&per &ser 7ncrypted s&per &ser password 8ser name of the /!""" data-ase 8ser password of the /!""" data-ase 7ncrypted /!""" &ser password Installation directory lang&age Data-ase dynamic li-rary name Client installation lang&age Client installation co&ntry Server installation lang&age i+*P installation lang&age %ost name Definition
6 (aution
,'1 8pdating ersion Information
3hen the patch installation is of server installation type( the version information &pdated -y the patch installation disk is the content in the -msversioninfo'cfg of the server5version5 directory' *s some of the /+ system versions are low( and there is no -msversioninfo'cfg file &nder the client directory' Check whether the version folder is &nder the client d&ring installation' If there is no version folder( copy the file &nder the directory to the client directory'