ページの先頭行へ戻る
ServerView Resource Orchestrator Cloud Edition V3.1.2 リファレンスガイド (コマンド/XML編)
FUJITSU Software

14.2.8 GetOperationResult (運用操作ログの取得)

名前

【Windowsマネージャー】
インストールフォルダー\RCXCFMG\bin\GetOperationResult - 運用操作ログの取得

【Linuxマネージャー】
/opt/FJSVcfmg/bin/GetOperationResult.sh - 運用操作ログの取得

形式

【Windowsマネージャー】

GetOperationResult -version バージョンID -locale 言語コード -userId ユーザーID -password パスワード -orgId テナント名 -lplatformId L-Platfrom ID -rulesetName ルールセット名 -operationId 運用操作のID

【Linuxマネージャー】

GetOperationResult.sh -version バージョンID -locale 言語コード -userId ユーザーID -password パスワード -orgId テナント名 -lplatformId L-Platfrom ID -rulesetName ルールセット名 -operationId 運用操作のID

機能説明

ネットワークデバイスの運用操作ログを取得します。

オプション

-version

L-Platform APIのバージョンIDを指定します。

-locale

L-Platform APIと通信するための言語を指定します。

-userId

L-Platform APIを実行するユーザーIDを指定します。

-password

L-Platform APIを実行するユーザーIDのパスワードを指定します。

-orgId

L-Platform APIを実行するユーザーのテナント名を指定します。

-lplatformId

L-Platform IDを指定します。

-rulesetName

ルールセットの名前を指定します。

-operationId

運用操作のIDを指定します。

必要な権限・実行環境

権限

OSの管理者権限をもつユーザー

実行環境

管理サーバ

使用例

【Windowsマネージャー】
> GetOperationResult -version 2.0 -locale ja -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX -rulesetName rule1 -operationId ROR_010
<?xml version="1.0" encoding="UTF-8"?>
<GetOperationResultResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
  <result>
Time: 2012/06/13(Wed)17:13:34
slb-rule=10020
vip=192.xxx.xxx.xxx
vport=80/tcp
--------- ---------------- ------------------------- ---------- -------
dist-rule class-map
          dist-mode
          real/type backup-priority
                state of real   state of real port   connection timeout
--------- ---------------- ------------------------- ---------- -------
      100 any
          round-robin
          Slb_002_192.xxx.xxx.xxx(192.xxx.xxx.xxx)/primary   --
                     up/active           --                   0      --
--------- ---------------- ------------------------- ---------- -------
</result>
</GetOperationResultResponse>
【Linuxマネージャー】
# GetOperationResult.sh -version 2.0 -locale ja -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX -rulesetName rule1 -operationId ROR_010
<?xml version="1.0" encoding="UTF-8"?>
<GetOperationResultResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
  <result>
Time: 2012/06/13(Wed)17:13:34
slb-rule=10020
vip=192.xxx.xxx.xxx
vport=80/tcp
--------- ---------------- ------------------------- ---------- -------
dist-rule class-map
          dist-mode
          real/type backup-priority
                state of real   state of real port   connection timeout
--------- ---------------- ------------------------- ---------- -------
      100 any
          round-robin
          Slb_002_192.xxx.xxx.xxx(192.xxx.xxx.xxx)/primary   --
                     up/active           --                   0      --
--------- ---------------- ------------------------- ---------- -------
</result>
</GetOperationResultResponse>

終了ステータス

以下の終了ステータスが返されます。

0

正常に処理されました。

0以外

エラーが発生しました。