Sun Java System Communications Services 2005Q4 Release Notes

Removing HA for Instant Messaging

In order to remove Instant Messaging from an HA environment, you need to remove the Instant Messaging cluster agent SUNWiimsc as described in this section.

ProcedureTo Remove HA for Instant Messaging

Before You Begin

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.

  1. Bring down the Instant Messaging data service:


    scswitch -F -g im_resource_group
    
  2. 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
    
  3. 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
    
  4. Remove the Instant Messaging resource group:


    # scrgadm -r -g im_resource_group
    
  5. Remove the Instant Messaging resource type:


    # scrgadm -r -t SUNW.iim
    
  6. 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.

  7. 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