Top
ServerView Resource Orchestrator Cloud Edition V3.1.1 Reference Guide (Command/XML)
ServerView

14.1 AddPatch (Adds Patch Information)

Name

[Windows Manager]
Installation_folder \RCXCFMG\bin\AddPatch - Adds Patch Information

[Linux Manager]
/opt/FJSVcfmg/bin/AddPatch.sh - Adds Patch Information


Synopsis

[Windows Manager]

AddPatch -version version ID -locale the language for communicating -userId user ID -password password -orgId tenant name -lplatformId L-Platform ID -lserverId server ID -softwareId software ID -patchId patch ID [-componentName component name] [-description description of the patch]

[Linux Manager]

AddPatch.sh -version version ID -locale the language for communicating -userId user ID -password password -orgId tenant name -lplatformId L-Platform ID -lserverId server ID -softwareId software ID -patchId patch ID [-componentName component name] [-description description of the patch]

Function description

This command add patch information to a server.


Options

-version

Specify the version ID of the L-Platform API.

-locale

Specify the language used to communicate with the L-Platform API.

-userId

Specify the user ID for executing the L-Platform API.

-password

Specify the password for the user ID for executing the L-Platform API.

-orgId

Specify the tenant name of the user for executing the L-Platform API.

-lplatformId

Specify the L-Platform ID.

-lserverId

Specify the server ID.

-softwareId

Specify the software ID.

-patchId

Specify the patch ID.

-componentName(optional)

Specify the name of the component applying the patch.

-description(optional)

Specify a description for the patch.


Requirements

Permissions

User with OS administrator privilege

Location

Admin server


Example

[Windows Manager]
> AddPatch -version 2.0 -locale en -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX -lserverId tenantA-M3PGGWCFX-S-0001 -softwareId SW00000004 -patchId patch01 -componentName comp1 -description update
<?xml version="1.0" encoding="UTF-8"?>
<AddPatchResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
</AddPatchResponse>
[Linux Manager]
# AddPatch.sh -version 2.0 -locale en -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX -lserverId tenantA-M3PGGWCFX-S-0001 -softwareId SW00000004 -patchId patch01 -componentName comp1 -description update
<?xml version="1.0" encoding="UTF-8"?>
<AddPatchResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
</AddPatchResponse>

Exit Status

This command returns the following values:

0

The command executed successfully.

non-zero

An error has occurred.