若要從 HA 環境中移除 Instant Messaging,您需要移除 Instant Messaging 叢集代理程式 SUNWiimsc (如本小節中所述)。
按照本程序中的說明移除 SUNWiimsc 套裝軟體時,對 RTR 檔案 SUNW.iim 所做的任何自訂都將遺失。如果稍後您要復原這些自訂,則需要在移除 SUNWiimsc 套裝軟體之前建立 SUNW.iim 的備份副本。
使 Instant Messaging 資料服務中斷:
scswitch -F -g im_resource_group |
停用 Instant Messaging 資源群組 (im_resource_group) 中的所有資源:
# scswitch -n -j im_resource # scswitch -n -j im_logical_host # scswitch -n -j im_resource_group_store |
移除 Instant Messaging 資源群組中的資源:
# scrgadm -r -j im_resource # scrgadm -r -j im_logical_host # scrgadm -r -j im_resource_group_store |
移除 Instant Messaging 資源群組:
# scrgadm -r -g im_resource_group |
移除 Instant Messaging 資源類型:
# scrgadm -r -t SUNW.iim |
使用 Java Enterprise System 安裝程式移除或按照如下所示手動移除 SUNWiimsc 套裝軟體:
pkgrm SUNWiimsc |
移除該套裝軟體時,對 RTR 檔案所做的任何自訂都將遺失。
如果對配置檔案和二進位碼使用共用目錄,請移除 HA 配置期間建立的所有符號連結。
在節點 1 上:
rm /etc/opt/SUNWiim |
在所有其他節點上:
rm /usr/cluster/lib/rgm/rtreg/SUNW.iim |