-
진행 중인 복제에 대해 상태가 sending으로 표시되는 동일한 진행 정보를 CLI에서 표시할 수 있습니다.
otoro:shares otoro-proj-01 action-000> show
Properties:
id = 80a96f4f-93fe-4abd-eb54-fb82e7f8c69f
target = chutoro
continuous = false
include_snaps = true
max_bandwidth = unlimited
bytes_sent = 505M
estimated_size = 3.0G
estimated_time_left = 00:00:41
average_throughput = 63MB/s
use_ssl = false
state = sending
state_description = Sending update
next_update = Sync now
last_sync = Sun Jul 14 2013 06:04:38 GMT+0000 (UTC)
last_try = Sun Jul 14 2013 06:04:38 GMT+0000 (UTC)
last_result = success
-
주: 복제 중인 데이터의 크기에 따라 복제 작업을 완료하는 데 시간이 오래 걸릴 수 있습니다. 진행 정보를 통해 업데이트 상태를 확인할 수 있습니다. 초기 복제의 경우 ZFSSA 다시 시작 또는 업데이트 취소를 포함(이에 제한되지 않음)하여 복제를 중단하지 않아야 합니다. 그렇지 않으면 전체 초기 복제를 다시 시작해야 합니다.
-
상태가 actions로 표시되는 복제 대상 정보를 CLI에서 표시할 수 있습니다.
otoro:configuration services replication targets> show
Targets:
TARGET LABEL ACTIONS
target-000 oakmeal 1
otoro:configuration services replication targets> select target-000
otoro:configuration services replication target-000> show
Properties:
address = 10.153.34.167:216
label = oakmeal
hostname = oakmeal-7320-167
asn = 4913649f-7549-6d2a-866b-987ddbc4e163
actions = 1
oakmeal-7320-167:configuration services replication target-000> actions
POOL PROJECT SHARE
pool1 project1 (multiple)
-
CLI를 사용하면 새로 만들어진 복제 작업의 ID를 확인하는 데 유용할 수 있습니다. ID는 나중에 올바른 복제 작업 노드를 선택하는 데 사용됩니다. 새로 만들어진 작업의 ID를 보려면 last 명령을 사용하여 새 복제 작업이 있는 노드로 이동합니다. 그런 다음 get id 명령을 사용하여 작업 ID를 검색합니다.
otoro:> shares
otoro:shares> select p1
otoro:shares p1> replication
otoro:shares p1 replication> create
otoro:shares p1 action (uncommitted)> set target=oakmeal
target = oakmeal (uncommitted)
otoro:shares p1 action (uncommitted)> set pool=p
pool = p (uncommitted)
otoro:shares p1 action (uncommitted)> set use_ssl=false
use_ssl = false (uncommitted)
otoro:shares p1 action (uncommitted)> commit
otoro:shares p1 replication> last
otoro:shares p1 action-001> get id
id = fb1bb3fd-3361-42e1-e4a1-b06c426172fb
otoro:shares p1 action-001> done
otoro:shares p1 replication>