When you remove the SUNWiimsc package as described in this procedure, any customizations you made to the RTR file SUNW.iim are lost. If you want to restore them at a later time, you need to create a backup copy of SUNW.iim before removing the SUNWiimsc package.
Bring down the Instant Messaging data service:
scswitch -F -g im-resource-group |
Disable all resources in the Instant Messaging resource group (im-resource-group):
# scswitch -n -j im-resource # scswitch -n -j im-logical-host # scswitch -n -j im-resource-group-store |
Remove the resources from the Instant Messaging resource group:
# scrgadm -r -j im-resource # scrgadm -r -j im-logical-host # scrgadm -r -j im-resource-group-store |
Remove the Instant Messaging resource group:
# scrgadm -r -g im-resource-group |
Remove the Instant Messaging resource type:
# scrgadm -r -t SUNW.iim |
Remove the SUNWiimsc package using the Java Enterprise System installer or manually as follows:
pkgrm SUNWiimsc |
When you remove the package, any customizations you made to the RTR file are lost.
If you are using a shared directory for configuration files and binaries, remove any soft links created during HA configuration.
On Node 1:
rm /etc/opt/SUNWiim |
On all other nodes:
rm /usr/cluster/lib/rgm/rtreg/SUNW.iim |