iT邦幫忙

DAY 27
3

FalconStor CDP solution - DiskSafe系列 第 27

DiskSafe的group status

  • 分享至 

  • xImage
  •  

比較group stat與group list兩指令的差異
想要掌握group的狀態,就要使用stat命令:

dscli group stat <groupname>

通常我們會先用list命令,顯示現有的group policy:

dscli group list

或例如顯示gp1這個group的內容:

dscli group list gp1
Groups gp1:

Mode                                            = Continuous
Snapshot Scheduled                              = True
Schedule for Snapshot:
    Schedule Type                               = Daily
    Days                                        = 1
    Action Time                                 = 12:31
Take Temporary Snapshot Before Sync             = False
Invoke Snapshot Agent                           = True
Snapshot Agent Timeout                          = 480 S
Maximum Snapshots                               = 1000
Retry Period                                    = 30 S
Member Count                                    = 1
Members:
    Member ID                = 1
    Disk                     = sdd
    Primary Disk Path        = /dev/sdd
    Mount Point(s)           =
    Primary DiskSafe ID      = IBM_____1724-100__FAStT_600a0b800017e02e000001354e9ca60c
    Mirror Disk Path         = /dev/sde
    Mirror DiskSafe ID       = FALCON__IPSTOR_DISK_____6000d778690f931ed3a000004ea51c3f

Command succeeded

可以看到gp1這個group只有一個member叫做sdd,而gp1的sync schedule為continuous mode,snapshot schedule為daily。

以下則是stat命令的結果,大家可以比較一下兩者的差別。

dscli group stat gp1
Status and statistics for group: gp1
Group: gp1
Group Status                                    = SYNCING
InitialSync                                     = 2011/10/25 12:39:44
LastSync                                        = 2011/10/25 16:27:11
LastScheduledSync                               = N/A
Mode                                            = Continuous
Snapshot Scheduled                              = True
Schedule for Snapshot:
    Schedule Type                               = Daily
    Days                                        = 1
    Action Time                                 = 12:31
Take Temporary Snapshot Before Synchronization  = False
Invoke Snapshot Agent                           = True
Snapshot Agent Timeout                          = 480 S
Maximum Snapshots                               = 1000
Retry Period                                    = 30 S
Member Count                                    = 1
Member status and statistics:
Member 1:
    Disk                           = sdd
    Primary Disk Path              = /dev/sdd
    Disksafe Disk                  = /dev/disksafe/sdd
    Mount Point(s)                 =
    DiskSafe ID                    = IBM_____1724-100__FAStT_600a0b800017e02e000001354e9ca60c
    Mirror Disk Path               = /dev/sde
    Mirror DiskSafe ID             = FALCON__IPSTOR_DISK_____6000d778690f931ed3a000004ea51c3f
    Mirror State                   = SYNCING
    Umap Path                      = /usr/local/falconstor/disksafe
    Umap DiskSafe ID               = DELL____PERC_6/i________60026b904793d40016345bcd0dc351c9
    Different Data                 = 10240000 KB
    Total Data Mirrored            = 10220352 KB
    Primary Total Read             = 20051232 KB
    Primary Total Written          = 142170424 KB
    Mirror Total Read              = 0 KB
    Mirror Total Written           = 10240772 KB
 Statistics Since Last Sync:
    Primary Total Read             = 0 KB
    Primary Total Written          = 0 KB
    Mirror Total Read              = 0 KB
    Mirror Total Written           = 0 KB
    Last Sync Time                 = 2011/10/25 16:27:11
    Duration in Current State      = 9 S
Command succeeded

由stat指令可以看到group的狀態(目前為SYNCING),以及更多的member資訊。

相關文章


上一篇
DiskSafe group snapshot 的其他動作
下一篇
DiskSafe的group rollback
系列文
FalconStor CDP solution - DiskSafe30
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言