Sun Cluster 3.0 5/02 增補

如何從磁碟裝置群組 (VERITAS Volume Manager) 移除節點 (5/02)

使用此程序從 VERITAS Volume Manager (VxVM) 磁碟裝置群組的潛在主要節點清單,移除一個叢集節點。

  1. 決定要移除其成員節點的 VxVM 磁碟裝置群組。

    VxVM 裝置群組類型表示


    # scconf -p | grep Device
    
    VxVM 磁碟裝置群組

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

  3. 執行 scsetup 公用程式。


    # scsetup
    

    顯示 Main Menu。

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

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

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

    • VxVM 裝置群組

    • 節點名稱

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


    # scconf -p | grep Device
    

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

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


[Determine the VxVM disk device group for the node:]
# scconf -p | grep Device
  Device group name:                 dg1
    Device group type:               VxVM
    Device group failback enabled:   no
    Device group node list:          phys-schost-1, phys-schost-2
    Device group diskset name:    	dg1
[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-1
 
    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-2
    Device group diskset name:    	dg1