...
Performance Indicator
Event
FSR 은 이벤트 구독 명령을 통해 FSR 로 부터 정의된 이벤트를 통지 받을 수 있습니다. 이벤트 구독을 통해 파일이나 연결 등의 상태가 변경되는 과정을 실시간 추적할 수 있습니다can be notified of events defined by FSR through event subscription command. Event subscriptions allow you to track changes in status, such as files or connections, in real time.
Code Block |
---|
λ fsradm events r0 2020-06-12T12:42:39.295379 type=rpc state=connected 2020-06-12T12:42:41.685784 type=state node=node2 peer=node1 resource=r0 value=standalone 2020-06-12T12:42:41.685784 type=added node=node2 resource=r0 2020-06-12T12:42:41.685784 type=role node=node2 resource=r0 role=secondary 2020-06-12T12:42:41.685784 type=file_state node=node2 resource=r0 value=fileless 2020-06-12T12:42:41.728821 type=file_state node=node2 resource=r0 value=attaching 2020-06-12T12:42:41.744835 type=file_state node=node2 resource=r0 value=outdated 2020-06-12T12:42:41.774378 type=state node=node2 peer=node1 resource=r0 value=connecting |
이벤트 해석의 용이성을 위해 json 형식의 출력을 지원하며 동기화 상태(For ease of event interpretation, json format output is supported, and additional options for synchronization status (--sync) , 성능 통계에 대한 모니터링and performance statistics monitoring (–perf) 에 대한 옵션을 부가적으로 지원합니다are supported.
Code Block |
---|
λ fsradm events --json r0 {"type":"rpc","timestamp":"2020-06-12T03:43:56.152358300Z","datas":{"state":"connected"}} {"type":"state","timestamp":"2020-06-12T03:43:58.396422300Z","datas":{"node":"node2","peer":"node1","resource":"r0","value":"standalone"}} {"type":"added","timestamp":"2020-06-12T03:43:58.396422300Z","datas":{"node":"node2","resource":"r0"}} {"type":"role","timestamp":"2020-06-12T03:43:58.396422300Z","datas":{"node":"node2","resource":"r0","role":"secondary"}} {"type":"file_state","timestamp":"2020-06-12T03:43:58.396422300Z","datas":{"node":"node2","resource":"r0","value":"fileless"}} {"type":"file_state","timestamp":"2020-06-12T03:43:58.437426600Z","datas":{"node":"node2","resource":"r0","value":"attaching"}} {"type":"file_state","timestamp":"2020-06-12T03:43:58.452638800Z","datas":{"node":"node2","resource":"r0","value":"outdated"}} {"type":"state","timestamp":"2020-06-12T03:43:58.479433800Z","datas":{"node":"node2","peer":"node1","resource":"r0","value":"connecting"}} |
이벤트의 유형에 관한 상세한 내용은 부록의 명령어 부분을 참고하세요.
정합성 검사
다음의 명령을 통해 소스와 타깃간의 데이터 정합성 검사를 수행할 수 있습니다. 정합성 검사는 소스가 아닌 타깃에서 다음과 같이 verify 검사를 요청하여 수행합니다For more information on the type of event, refer to the appendix's command.
Online Verify
Data consistency check between source and target can be performed with the following command. The consistency check is performed by requesting the verify check from the target, not the source, as follows.
Code Block |
---|
λ fsradm verify r0 |
...