設定檔disksafe.reg。他是另一個形式的configuration file,它的存在是因為繼承於Windows版的DiskSafe,所以具有Windows Registry的結構。
昨天我們談到disksafe.cfg這個設定檔,是採用XML的形式來記錄disk與protection policy的資訊,今天我們來看另一個設定檔disksafe.reg。他是另一個形式的configuration file,它的存在是因為繼承於Windows版的DiskSafe,所以具有Windows Registry的結構。請看這個例子,他記載的是跟昨天一樣的protection policy,您可以比較一下它們的異同:
您會發現,disksafe.cfg的內容就是一對對的"參數=設定值",這些內容通常很直覺就可以知道他的意涵,想是**"BaseSyncTime"="2011-10-25 09:57:35"**指的就是sync schedule的時間為: 2011-10-25 09:57:35。有些值則是16進制的dword.
[SYSTEM\CurrentControlSet\Services\Dsksafe\Parameters\DiskMirrors\{89275a31-9af6-48a3-8cd3-be6f78170a85}] 1319510017
"AddToGroupTime"=""
"AgentLastEndTime"=""
"AgentLastStartTime"=""
"BaseSyncTime"="2011-10-25 09:57:35"
"CallDBAgentValve"=dword:00000001
"CCMPolicyID"=""
"CCMRevisionNo"=dword:00000000
"CreateTime"="2011-10-24 16:00:45"
"CreateUptime"=dword:00000117
"CurrentState"=dword:00000004
"CurrentStateStart"=dword:0000eeaa
"Days"=dword:00000000
"DesiredSyncCmdsout"=dword:00000004
"DiskIdOfUmapFile"="DELL____PERC_6/i________60026b904793d40016345bcd0dc351c9"
"ExcludeFrom"=dword:00000000
"ExcludeTo"=dword:00000000
"Failovered"=dword:00000000
"FileSystemOnMountedPrimaryPartition1"=""
"GroupGUID"=""
"hasSuccessfulSync"=dword:00000001
"Hostname"="S10P2-10-97"
"Hours"=dword:00000001
"InitialMicroSync"=dword:00000000
"InitialSyncTime"="2011-10-24 16:00:45"
"InitSyncOptions"=dword:00000002
"IsScheduled"=dword:00000000
"IssueTime"="2011-10-24 16:00:45"
"LastAttemptSnapshotTime"="2011-10-25 09:57:49"
"LastRunResult"=dword:6ffc0000
"LastRunTime"="2011-10-25 10:33:27"
"LastScheduledRunTime"="2011-10-25 09:57:35"
"LastScheduledStartTime"="2011-10-25 09:57:35"
"LastSnapshotAttemptResult"=dword:00000000
"LastSuccessSnapshotTime"="2011-10-25 09:57:49"
"LastSyncEndTime"="2011-10-25 09:57:48"
"LastSyncStartTime"="2011-10-25 10:06:52"
"MaxPendingIos"=dword:000003e8
"MaxSnapshots"=dword:000003e8
"MaxThroughput"=dword:00000000
"MaxTraceFileSize"=dword:00000000
"MicroSync"=dword:00000000
"MicroSyncSize"=dword:00000000
"MinThroughput"=dword:00000000
"Minutes"=dword:00000000
"Mirror"="FALCON__IPSTOR_DISK_____6000d778690f931ed3a000004ea51c3f"
"MirrorDiskNo"=dword:00000840
"MirrorPartitionNo"=dword:00000000
"MirrorSectorStart"=dword:00000000
"MirrorSignature"=dword:ffffffffffffffff
"Mode"=dword:00000001
"MountPointOfPrimaryDevicePartition1"=""
"NeedReboot"=dword:00000000
"PolicyId"="{89275a31-9af6-48a3-8cd3-be6f78170a85}"
"PolicySectorLength"=dword:01400000
"PolStatus"=dword:00000001
"PolType"=dword:00000001
"PostActionScript"=""
"PostInitialMicroSync"=dword:00000000
"PreActionScript"=""
"Primary"="IBM_____1724-100__FAStT_600a0b800017e02e000001354e9ca60c"
"PrimaryDevicePartitionNo1"=dword:00000000
"PrimaryDevicePath"="/dev/sdd"
"PrimaryDeviceType"=dword:00000000
"PrimaryDiskNo"=dword:00000830
"PrimaryPartitionNo"=dword:00000000
"PrimaryPolicyId"=""
"PrimarySectorStart"=dword:00000000
"PrimarySignature"=dword:00000000
"RestorePolicyId"=""
"RestorePostAction"=dword:00000000
"RetryInterval"=dword:0000003c
"RetryPeriod"=dword:0000001e
"RollBackTimeStamp"=dword:00000000
"ScheduleType"=dword:00000003
"SnapshotAgentEnabled"=dword:00000001
"SnapshotAgentTimeOut"=dword:000001e0
"SnapshotBeforeSync"=dword:00000000
"SnapshotEnabled"=dword:00000001
"SnapshotFreezeEnabled"=dword:00000001
"SnapshotsSinceLast"=dword:00000002
"SyncBothInterval"=dword:0000000a
"ThrottleMax"=dword:00000000
"TotalNumberOfPrimaryDevicePartitions"=dword:00000001
"TotalSyncCount"=dword:00000013
"TraceFile"=""
"UmapFile"="/usr/local/falconstor/disksafe/{89275a31-9af6-48a3-8cd3-be6f78170a85}"
"UmapFileProtocol"=dword:00000000
"UmapOnLVOfSamePV"=dword:00000000
"UseTotalMirror"=dword:00000001
"VDevNumber"=dword:00000001
"ZPTestInterval"=dword:0000000a
很高興自己又完成鐵人賽了,感謝iT邦這麼辛苦的舉辦比賽,提供這麼多獎品犒賞大家。感謝版上這麼多專家,投注很多精神分享自己的專業,讓我收穫很大。
對我而言,這個比賽不是跟其他人的競爭,而是對自己的鍛鍊與學習。鍛鍊是對承諾的堅持;而學習則是觀察與反省。
你比較會修改到的項目是那些?
"又"完成鐵人賽,這個"又"字,經歷過了,才知道:別有一番滋味。
連30天,每天記得上來"看"文章,常常都會有突發狀況。
就像三項鐵人賽,有超級鐵人賽(每個單項距離都加倍),也有地獄鐵人賽,(就是單項距離就像置身地獄)。也許明年主辦單位可以考慮考慮。對看文的評審,也算是一種考驗。
謝謝您的回應。
通常我們不會去直接修改configure中的項目,而是直接透過DiskSafe的dscli指令動作。Configure檔的內容主要方便除錯之用。