Sun Cluster 系統管理指南 (適用於 Solaris 作業系統)

範例—變更磁碟裝置群組屬性

以下範例顯示 scconf 指令 (scsetup 在設定磁碟裝置群組 dg-schost-1 的性質值時所產生)。


# scconf -c -D name=dg-schost-1,nodelist=phys-schost-1:phys-schost-2,\
preferenced=true,failback=enabled,numsecondaries=1

# scconf -p | grep Device
Device group name:                             dg-schost-1
   Device group type:                          SDS
   Device group failback enabled:              yes
   Device group node list:                     phys-schost-1, phys-schost-2
   Device group ordered node list:             yes
   Device group desired number of secondaries: 1
   Device group diskset name:                  dg-schost-1