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

14.3.23 UpdateLServerAttributes (サーバの属性を更新)

名前

【Windowsマネージャー】
インストールフォルダー\RCXCFMG\bin\UpdateLServerAttributes - サーバの属性を更新

【Linuxマネージャー】
/opt/FJSVcfmg/bin/UpdateLServerAttributes.sh - サーバの属性を更新

形式

【Windowsマネージャー】

UpdateLServerAttributes -version バージョンID -locale 言語コード -userId ユーザーID -password パスワード -orgId テナント名 -lplatformId L-Platform ID -lserverId サーバID [-lserverName サーバ名] [-hostName サーバのホスト名]

【Linuxマネージャー】

UpdateLServerAttributes.sh -version バージョンID -locale 言語コード -userId ユーザーID -password パスワード -orgId テナント名 -lplatformId L-Platform ID -lserverId サーバID  [-lserverName サーバ名] [-hostName サーバのホスト名]

機能説明

サーバの属性を更新します。
更新可能な属性は、サーバ名およびホスト名です。サーバ名、ホスト名のどちらかは指定が必要です。
“host-name-method=2(サーバ名)”の場合、サーバ名だけを指定すると、ホスト名もサーバ名と同じ名前に変更されます。ホスト名を指定した場合は、指定したホスト名に変更されます。

本コマンドは非同期で実行されます。本コマンドの実行に成功すると、処理の実行中はL-Platformの状態が構成変更中(RECONFIG_ING)に遷移し、処理が完了するとL-Platformの状態が正常稼働中(NORMAL)に戻ります。
L-Platformの状態が構成変更中の場合は、L-Platformに対する操作ができません。
L-Platformの状態をGetLPlatformStatusで監視し、正常稼働中に遷移するのを待ってから次の操作を行ってください。

以下の場合、本コマンドは実行できません。

オプション

-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を指定します。

-lserverId

サーバ IDを指定します。

-lserverName(省略可)

サーバ名を指定します。

-hostName(省略可)

サーバのホスト名を指定します。

必要な権限・実行環境

権限

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

実行環境

管理サーバ

使用例

【Windowsマネージャー】
> UpdateLServerAttributes -version 2.0 -locale ja -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX -lserverId tenantA-M3PGGWCFX-S-0001 -lserverName testserver2
<?xml version="1.0" encoding="UTF-8"?>
<UpdateLServerConfigurationResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
</UpdateLServerConfigurationResponse>
【Linuxマネージャー】
# UpdateLServerAttributes.sh -version 2.0 -locale ja -userId user3 -password password -orgId tenantA -lplatformId tenantA-M3PGGWCFX -lserverId tenantA-M3PGGWCFX-S-0001 -lserverName testserver2
<?xml version="1.0" encoding="UTF-8"?>
<UpdateLServerConfigurationResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
</UpdateLServerConfigurationResponse>

終了ステータス

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

0

正常に処理されました。

0以外

エラーが発生しました。