Un-installing ACSLS on Solaris

This section describes how to un-install ACSLS 8.5 on Solaris, and optionally remove the XAPI and media changer components without installing the ACSLS software.

Removing the XAPI Service

Optionally, you can remove the ACSLS XAPI service without uninstalling ACSLS. This procedure is the same for both Solaris and Oracle Enterprise Linux platforms.

  1. Log in as user root to the ACSLS server.
  2. Source key ACSLS environment variables:
    . /var/tmp/acsls/.acsls_env
    

    Note the required period and space before /var/tmp/acsls/.acsls_env.

  3. Uninstall the XAPI service:
    cd $ACS_HOME/install
    ./remove_xapi.sh
    
    Do you wish to remove the xapi service? (y)

Removing SCSI Media Changer (mchanger) Device Links

SCSI media changer (mchanger) drivers and device links are automatically removed when you uninstall the ACSLS software. However, you can optionally remove them without uninstalling ACSLS.

  1. Log in as user root.
  2. Remove the SCSI Media Changer (mchanger) drivers.
    # rem_drv mchanger
    
  3. Remove mchanger.conf.
    # rm /usr/kernel/drv/mchanger.conf
    
  4. Remove any mchanger device links.
    # rm /dev/mchanger*
    
  5. Remove package directories.
    # rm -rf /opt/STKchanger

Uninstalling the ACSLS Software on Solaris

To un-install the ACSLS 8.5 software:

  1. Log in as user acsss.
  2. Shut down all ACSLS services:
    acsss shutdown
    
  3. Log in as user root.
  4. Go to the ACSLS_8.5.0 or ACSLS_8.5.1 package installation directory (typically /opt/ACSLS_8.5.x)
  5. Run pkg_uninstall.sh.

    The pkg_uninstall script removes many, but not all ACSLS file systems and it keeps the user accounts in place for acsss, acssa, and acsdb. This approach allows for faster upgrades of ACSLS.

  6. The pkg_uninstall script prompts you whether to uninstall the PostgreSQL packages.

    Enter N at this prompt unless you are permanently removing the ACSLS application.

  7. Remove the contents of the ACSLS database backup directory:
    rm -rf $ACSDB_BKUP
    
  8. WebLogic and the ACSLS GUI are not removed automatically during a package uninstall for the following reasons:
    • Upgrading ACSLS may not require an upgrade of WebLogic or the ACSLS GUI.

    • Uninstalling WebLogic and the ACSLS GUI removes ACSLS GUI users and their passwords.

    • Uninstalling WebLogic and the ACSLS GUI removes any custom SSL keystore that may have been configured for the ACSLS GUI.

    • Reinstalling WebLogic takes time (five minutes or more) to complete.

    To completely remove all remaining ACSLS components:

    cd $installDir
    
    rm -rf Oracle, SSLM
    userdel acsss
    userdel acssa
    userdel acsdb
    userdel postgres
    groupdel acsls
    groupdel postgres
    
  9. Reboot.

    ACSLS is now uninstalled.