PatchingJob - createAixPatchingJobWithTargetServer_4

PatchingJob - createAixPatchingJobWithTargetServer

Description :

This command creates a Patching Job that is run against an individual server, using an existing AIX catalog.

This command returns a handle to the newly created Patching Job. The handle can be used in other commands that need to reference the Patching Job.

The jobGroupName argument provides the fully qualified path to the parent group. The targetGroupName argument provides the target group name for the new Patching job. The catalog name provides the fully qualified path for the catalog already defined.

The include/exclude list text file has entries for smart groups and/or depot objects, one on each line. The depot objects and the smart group must exist in the catalog before running this command. To include a depot object, add NAME#(name of the depot object)" in the include file. To include a smart group, add "GROUP#(complete path to the smart group)" in the include file. For example:

NAME#APSB-0611

GROUP#/Catalog/TestCatalog1/smartGroup1

Set To
Analysis Option

1 - "Use patch global configuration settings". This is the default value.

2 - "Stop analysis if any applied fileset found."

3 - "Continue analysis even if applied fileset found."

Analysis Mode

1 - "Report all missing filesets, the ones that are not installed on the target"

2 - "Report only updates for the installed filesets on the target". This is the default value.

Update Installp

1 - "Skip."

2 - "Apply."

3 - "Apply and Commit."

Additional Installp A string of additional parameters. For example, -X
Analyse with efix/Ifix 0 - Uncheck the Analyse without efix/ifix option. This is the default value. 
1 - Check the Analyse with efix/ifix option.


Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

jobName

String

Name of the job.

groupName

String

Parent group for this job.

serverName

String

Name of the target server.

catalogName

String

AIX catalog group for this job.

includeFile

String

Include file path.

excludeFile

String

Exclude file path.

analysisOption

String

Analysis options.

analysisMode

String

Analysis mode

UpdateInstallUtility String True to add additonal installp option.
installpOption String Additional installp option.
handleEfix String True to analyse with efix/Ifix.

Example

The following example creates a Patching Job with a single target server, using an existing catalog.

Script

JOB_GROUP=/noc/patching 

TARGET_SERVER=testServer 

CATALOG_NAME=/noc/aixCatalog

JOB_KEY=`blcli PatchingJob createAixPatchingJobWithTargetServer nocPAJob $JOB_GROUP $TARGET_SERVER $CATALOG_NAME //localhost/c/include.lst //localhost/c/exclude.lst 1 1 2 -X 1
Was this page helpful? Yes No Submitting... Thank you

Comments