Sun Java System Instant Messaging 7.2 Administration Guide

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