Performing a Solaris 11 patch analysis
To perform patch analysis for Solaris 11 servers, you create and run an NSH Script Job from the provided Solaris 11 Patching script.
To create an NSH Script Job for Solaris 11 patch analysis
- Right-click the Solaris 11 Patching script, which you imported into the depot, and select NSH Script Job.
The New NSH Script Job wizard opens. - In the New NSH Script Job wizard, configure the job through the various panels. Use the following steps to perform the most basic configuration for this job.
- On the General panel, define a name for the job and specify a location in the Jobs folder in which to save the job.
- On the Targets panel, choose the servers where the job should run.
On the Parameters panel, adjust the values of the editable script parameters:
Parameter
Flag
Description
Default value
Repository Server
-s
Name or IP address of the repository server.
(no default value)
Repository Location
-r
Location of the repository on the repository server.
/export/repoSolaris11
Depot Workspace
-D
Path to subfolder within the Depot folder, in which to save objects (custom software and BLPackages) required during deployment of missing patches. If the folder does not already exist, it will be created during patch analysis.
/Solaris 11 Patching
Job Workspace
-J
Path to subfolder within the Jobs folder, in which to save deploy jobs and batch jobs that are created during the deployment of missing patches. If the folder does not already exist, it will be created during patch analysis.
/Solaris 11 Patching
Debug Mode
-d
Whether or not to turn on debugging during the patching process. One of the following values:
- 0 — non-debug mode
- 1 — debug mode
0
Script Mode
-m
Whether to perform analysis or packaging, or both. If you choose to perform only packaging, ensure that analysis was performed previously. Specify one of the following values:
- a — analysis only
- p — packaging only
- ap — both analysis and packaging
a
Script Location
-l
Full NSH path to the Solaris11_Script-8.3.03/Scripts directory. You extracted this directory when you prepared to install the Solaris 11 patching solution package.
Detected automatically. Example path:
//servername/opt/bmc/Solaris11_Script-8.3.03/ScriptsAnalysis Mode
-a
Mode of analysis, either update or install.
update
Publisher Name
-p
Name of the publisher of the Solaris patches (typically solaris).
solaris
Analysis Filter
-f
Filters to do analysis against.
For no filters, set the value to 0.
0
Analyzer Timeout
-o
The amount of time (in seconds) to allow before the internal deploy job for patching analysis times out.
Note: This internal deploy job runs on target servers during patch analysis, but it does not deploy patches to the target servers.For no timeout, set the value to 0.
0
Auto Execute Deploy Job
-x
Whether to execute the patch deploy job immediately after the packaging phase is complete — either 0(no) or 1(yes).
0
- On the Schedules panel, schedule the execution of the job (either immediately or at a later time).
- When you finish all relevant job configuration on the remaining panels (Default Notifications, Properties, and Permissions), click Finish.
Where to go from here
After the job runs, you can view a summary of the most recent patch analysis results on each target server through a Live Browse of the Solaris 11 Analysis Results extended object.