xmcli (m-itchy)> manage-remote-protection-session protection-session-id=1 operation=create_bookmark bookmark-name="test_bookmark" 04:11:37 - Cycle number used for bookmarking is 4 Create Bookmark command has completed. xmcli (m-itchy)>
manage-remote-protection-session The manage-remote-protection-session admin-level command enables to perform actions in the context of the Remote Protection Session. Note: For details on the various Remote Protection Session actions, refer to For details on the different operations, refer to the XtremIO Storage Array User Guide.
M-Itchy
1 Rookie
1 Rookie
•
199 メッセージ
1
2020年7月20日 21:00
Hiro_319さん
RPOとリテンションポリシーをセットしスケジュールを組むことがXtremIOのレプリケーションセッションを組む ということになりますので、自動実行しない設定にはできません。
ジョブ管理ソフトを利用した管理という意味では、レプリケーションセッションに対してブックマーク(PiT)を挿入するという運用をされているケースはあるかと思います。
M-Itchy
1 Rookie
1 Rookie
•
199 メッセージ
1
2020年8月13日 18:00
Hiro_319さん
いえ、create-bookmarkでもbookmark-nameオプションによるブックマークの指定ができます。
コマンドオプション等はreplicate_nowと変わらないはずで、Admin CLI Guide 6.3.xの記載が6.2.xのままで修正されていないだけと推測しています。
実際6.3.0環境でコマンドを打ってみましたが、ブックマーク指定できました。
xmcli (m-itchy)> manage-remote-protection-session protection-session-id=1 operation=create_bookmark bookmark-name="test_bookmark"
04:11:37 - Cycle number used for bookmarking is 4
Create Bookmark command has completed.
xmcli (m-itchy)>
GUI上の確認結果(↓赤枠部分)
ちなみにですが、create-bookmarkもreplicate_nowもbookmark-nameオプションは必須ではありません。(当然bookmark-nameを指定した方が運用上便利ですが)
bookmark-nameを指定しなかった場合はbookmark-nameがないPiTが作成されます。(上図Aug 14, 2020 10:09:18 AMのPiTはbookmark-nameを指定せずにmanage-remote-protection-session operation=create_bookmarkを実行した結果です)
Hiro_319
1 Rookie
1 Rookie
•
435 メッセージ
0
2020年8月13日 00:00
@M-Itchy さん
BookMarkを利用するため、Create-BookMarkおよびRetention-Timeなどを利用する想定です。
恐れ入りますが、以下CLI Admin Guideより抜粋した赤字の部分、
replicate_nowオプションがどうゆうものかご存じでしたらご教示いただけますでしょうか。
すぐレプリケーションを行うオプションであれば、同様の使い方ができるのではないかと考えています。
manage-remote-protection-session
The manage-remote-protection-session admin-level command enables to perform actions in the context of the Remote Protection Session.
Note: For details on the various Remote Protection Session actions, refer to For details on the different operations, refer to the XtremIO Storage Array User Guide.
Usage:
manage-remote-protection-session protection-session-id= operation= replicate_now, create-bookmark, failover, failover_cleanup, test_copy_start, test_copy_finish, remove_snapshot_sets> ( snapshot-sets-to-remove-side= ) (cluster-id= ) [ bookmark-name= ] [ keep-target-ss= ] [ cluster-id= ] [ force ] [ retention-time= ] [ snapshto-set-id= ] [
M-Itchy
1 Rookie
1 Rookie
•
199 メッセージ
1
2020年8月13日 02:00
Hiro_319さん
どこにも明記されておらず分かりづらいのですが、、、manage-remote-protection-sessionコマンドのreplicate_nowはcreate-bookmarkオプションと同じ内容になります。
※ バージョン6.2.xまでがreplicate_now、6.3.0以降がcreate-bookmarkオプション
Admin CLI Guideをご確認いただくと、6.2.xまではcreate-bookmarkオプションの記載がありません(そのオプション自体がありませんでした)。(P.236)
https://dl.dell.com/content/docu90453_XtremIO_Storage_Array_X1_and_X2_Cluster_Types_with_XMS_Ver._6.2.0_and_6.2.1_and_6.2.2_and_XIOS_Ver._4.0.15_and_4.0.25_and_4.0.26_and_4.0.27_and_6.0.0_and_6.0.1_and_6.0.2_and_6.1.0_and_6.2.0_and_6.2.1_and_6.2.2_Admin_CLI_Guide.pdf
User Guideをご確認いただくと、6.2.xまではBookmark作成部分のGUIメニューに「Replicate Now」となっていますが、6.3.xでは該当箇所が「Bookmark」と変わっていることより、単に呼び方を変えただけということが分かります。
https://dl.dell.com/content/docu90470_XtremIO_Storage_Array_X1_and_X2_Cluster_Types_with_XMS_Ver._6.2.0_and_6.2.1_and_6.2.2_and_XIOS_Ver._4.0.15_and_4.0.25_and_4.0.26_and_4.0.27_and_6.0.0_and_6.0.1_and_6.0.2_and_6.1.0_and_6.2.0_and_6.2.1_and_6.2.2_User_Guide.pdf
https://dl.dell.com/content/docu96630_XtremIO_Storage_Array_X1_and_X2_Cluster_Types_with_XMS_6.3.0_and_6.3.1_and_XIOS_4.0.15_and_4.0.25_and_4.0.26_and_4.0.27_and_4.0.31_and_6.0.0_and_6.0.1_and_6.0.2_and_6.1.0_and_6.2.0_and_6.2.1_and_6.2.2_and_6.3.0_and_6.3.1_User_Guide.pdf
元々のご質問にありました、レプリケーションを自動実行(スケジュール実行)しないというご希望は応えることはできませんが、任意のタイミングで手動レプリケーションを行うという部分はBookmark機能を利用すれば可能かと思います。
Hiro_319
1 Rookie
1 Rookie
•
435 メッセージ
0
2020年8月13日 18:00
@M-Itchy さん
ご回答ありがとうございます。
Book Markの名前をGUIでは両方いれられますが、
create-Bookmarkでは名前指定できない認識でよろしいでしょうか。
その場合、6.3.1でもreplicate_nowが打てる認識のため、
create-bookmarkではなく、replicate_nowを実行したいと考えています。
6.3.1のガイドで名前指定のオプションについて、以下説明がございました。
DemoCenterの環境は6.2.1のため検証できず。。
・bookmark-name
The name of the Snapshot Set created by replicate_now (valid only when operation=replicate_now)
Hiro_319
1 Rookie
1 Rookie
•
435 メッセージ
0
2020年8月13日 18:00
@M-Itchy さん
ご丁寧にありがとうございます!
オプション指定しない場合につきましても承知いたしました。