Sun Cluster 3.0 12/01 系統管理手冊

3.3.15 如何從磁碟裝置群組移除節點 (VERITAS 容體管理者)

使用此程序,從執行「VERITAS 容體管理者」(VxVM) 的現有叢集磁碟裝置群組 (磁碟群組) 中移除叢集節點。

  1. 判斷要移除其節點的磁碟裝置群組是否為成員。


    # scstat -D
    

  2. 成為現行叢集成員節點的超級使用者。

  3. 執行 scsetup 公用程式。


    =
    # scsetup
    

    顯示 Main Menu。

  4. 若要重新配置磁碟裝置群組,請輸入 4 (裝置群組與容體)。

  5. 若要從 VxVM 磁碟裝置群組移除節點,請輸入 5 (從 VxVM 裝置群組移除節點)。

    依提示從磁碟裝置群組移除叢集節點。 系統將詢問您以下項目的相關資訊:

    VxVM 裝置群組

    節點名稱

  6. 確認節點是否已從 VxVM 磁碟裝置群組中移除:


    # scconf -p | grep Device
    

3.3.15.1 範例-從磁碟裝置群組 (VxVM) 移除節點

這個範例顯示從 dg1 VxVM 磁碟裝置群組移除名為 phys-schost-4 的節點。


[Determine the disk device group for the node:]
# scstat -D
  -- Device Group Servers --
                       Device Group  Primary        Secondary
                       ------------  -------        ---------
  Device group servers: dg-schost-1  phys-schost-1  phys-schost-2
[Become superuser and execute the scsetup utility:]
# scsetup
 Select Device groups and volumes>Remove a node from a VxVM device group.
Answer the questions when prompted.
You will need the following information.
  You Will Need:            Example:
  VxVM device group name    dg1
  node names                phys-schost-1
[Verify that the scconf command executed properly:]
 
scconf -r -D name=dg1,nodelist=phys-schost-4
 
    Command completed successfully.
Quit the scsetup Device Groups Menu and Main Menu.
[Verify that the node was removed:]
# scconf -p | grep Device
  Device group name:                 dg1
    Device group type:               VxVM
    Device group failback enabled:   no
    Device group node list:          phys-schost-3
    Device group diskset name:    	dg1