Unregistering Sametime Gateway on IBM i

Before you uninstall an IBM® Sametime® Gateway server on IBM i, remove it from the list of the Sametime System Console's managed servers by running the unregister utility. You should only unregister Sametime Gateway when you uninstall the server or perform some other activity that requires removal of the product from the console.

About this task

During this task you will edit the following files; click the topic titles to see details on each file. You may want to open each topic in a new browser tab or window so you can keep it open for reference:

Procedure

  1. Back up the console.properties and productConfig.properties files:
    1. Navigate to the server's InstallLocation/console directory.
      /QIBM/UserData/STGateway/ProfileName directory where ProfileName is the one you specified when you installed the Gateway.
    2. Make backup copies (using different names) of the console.properties and productConfig.properties files.
  2. Update the following values in the console.properties file and save the file.
    Table 1. console.properties settingsProperties and Values to update in the console.properties file
    Property Value
    SSCHostName Provide the fully qualified host name of the Sametime System Console server.
    SSCHTTPPort Specify the HTTP port used for the Sametime System Console server if SSL is not enabled and the value for SSCSSLEnabled is "false."

    To determine the correct HTTP port, open the AboutThisProfile.txt file for the Sametime System Console Application Server Profile and use the setting specified for the "HTTP transport port." The default profile name is STSCAppProfile.

    On IBM i, look for the AboutThisProfile.txt file in the following location: /QIBM/UserData/Websphere/AppServer/version_number/SametimeWAS/profiles/STSCAppProfile/logs/AboutThisProfile.txt

    SSCUserName Enter the IBM WebSphere® Application Server User ID that you created when you installed Sametime System Console. The default is wasadmin.
    SSCPassword Enter the WebSphere Application Server password associated with the SSCUserName.
  3. Verify that the settings in the productConfig.properties file are correct, modifying them as needed before saving and closing the file.

    Only the required values in this file are listed here:

    Table 2. productConfig.properties settingsRequired Properties and Values of the productConfig.properties file
    Property Value
    DepName Provide a descriptive name for your deployment. It must be a unique deployment name on the Sametime System Console.
    NodeHostName Provide the fully qualified host name for the server that is being unregistered.
  4. Now unregister the server:
    1. From an IBM i command line, run the following command to start the QShell Interpreter: QSH
    2. Navigate to the server's console directory.
      /QIBM/UserData/STGateway/ProfileName directory where ProfileName is the one you specified when you installed the Gateway.
    3. Run the shell script to unregister the server: unregisterWASProduct.sh -uninstall
    4. When the registration script completes, press F3 to exit QSH.

    The utility unregisters the server and generates the ConsoleUtility.log file, storing it in the console/logs. If the unregistration is successful, the utility deletes the console.pid file from the console directory.