为了从 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 |