Adding a Patch Script that will be Run on System's Modules
Adds a patch script that will be run on system's module(s).
patch_script_add tar_file=TarFile name=Name exe_file=ExeFile
[ module_list=ModuleList ] [ module_type=<data|interface|specific|all> ]
[ version=Version ] [ persistence=<yes|no> ]
[ run_option=<Always|Once> ] [ parameters=(p1,p2,p3....p10) ]
[ enabled=<yes|no> ]
[ description=Description ]
Parameters:
Name Type Description Mandatory Default
module_
list
N/A Module numbers
that it should
execute on.
Format:
module_no(1-
15(format:/4/5/
6/)
N None
module_
type
Enumeration Module types
(data/interface)
that it should
execute on.
(Default of all). If
using specific,
module parameter
should be specified
as well.
N all
name String Script Name. Y N/A
exe_file String Executed Script
name.
Y N/A
tar_file String Script tar.gz
loaded file.
Y N/A
version String Script version. N None
persistenc
e
Boolean Script persistence. N yes
run_option Enumeration Script run option:
Always, Once.
N "Once"
parameters String Patch script
parameters
devided by " ".
N None
enabled Boolean User
enabling/disabling
the patch script.
Nno
descriptio
n
String Script description. N None
Adds a patch script that will be run on system's module(s).
Example:
xcli -u -c XIV1 patch_script_add module_type=specific module_list=1/2/3
tar_file=upgrade_script.tar.gz exe_file=upgrade_script.sh version=10.2
Chapter 9. System Management
143