Sun Java System Instant Messaging 7.2 管理指南

Procedure移除 Instant Messaging 的 HA

開始之前

當您如此程序所述移除 SUNWiimsc 套裝軟體後,您對 RTR 檔案 SUNW.iim 所做的任何自訂均將遺失。如果您要在日後還原自訂,在移除 SUNWiimsc 套裝軟體前必須先備份 SUNW.iim

  1. 卸下 Instant Messaging 資料服務:


    scswitch -F -g im-resource-group
    
  2. 停用 Instant Messaging 資源群組 (im-resource-group) 中的所有資源:


    # scswitch -n -j im-resource
    # scswitch -n -j im-logical-host
    # scswitch -n -j im-resource-group-store
    
  3. 移除 Instant Messaging 資源群組中的檔案:


    # scrgadm -r -j im-resource
    # scrgadm -r -j im-logical-host
    # scrgadm -r -j im-resource-group-store
    
  4. 移除 Instant Messaging 資源群組:


    # scrgadm -r -g im-resource-group
    
  5. 移除 Instant Messaging 資源類型:


    # scrgadm -r -t SUNW.iim
    
  6. 使用 Java Enterprise System 安裝程式或手動方式移除 SUNWiimsc 套裝軟體,如下所示:


    pkgrm SUNWiimsc
    

    當您移除該套裝模軟體時,對 RTR 檔案進行的任何自訂均會遺失。

  7. 如果您為配置檔案和二進位檔案使用共用目錄,則移除在 HA 配置期間建立的任何符號連結。

    在節點 1 上:


    rm /etc/opt/SUNWiim
    

    在所有其他節點上:


    rm /usr/cluster/lib/rgm/rtreg/SUNW.iim