Novell Home

My Favorites

Close

Please to see your favorites.

How to change the hostname on the GroupWise Mobility Server

This document (7014481) is provided subject to the disclaimer at the end of this document.

Environment

Novell GroupWise Mobility Service 2.0
SUSE Linux Enterprise Server 11

Situation

How to change the hostname on GMS 2 server

Resolution

Since most of the passwords are encrypted on GroupWise Mobility Server 2.0 using the hostname, it is important to follow the steps listed below to change the password.
  1. Make a backup copy of GMS settings by typing
    cp /etc/datasync /etc/datasyncbak -v -R -p
  2. Make note of the current hostname by typing
    hostname -f
  3. Launch YaST | Network Devices | Network Settings | Hostname/DNS and set the Hostname and Domain Name properly
  4. Save the Changes
  5. Reconfigure the GMS encryption by following TID 7015744, with the hostname from step 2
  6. Restart GMS to make sure it comes up without a problem by typing rcgms restart and login to GMS webadmin
  7. Restart the Server by typing init 6 and press Enter

Additional Information

Manually update the xml files, to remove their encryption
  1. Edit /etc/datasync/configengine/configengine.xml
    • In the <database> section, delete <protected>1</protected> line
    • Delete the encrypted password between the <password> tags
    • Type the password in clear text between the <password> tags as shown below
      <database>
            <username>datasync_user</username>
            <hostname>localhost</hostname>
            <db>datasync</db>
            <password>novell</password>
            <type>postgresql</type>
            <port>5432</port>
          </database>
    • In the <login> section, delete <protected>1</protected> line
    • Delete the encrypted password between the <password> tags
    • Type the password in clear  text between the <password> tags as shown below
      <login>
              <dn>cn=admin,o=novell</dn>
              <password>novell</password>
      </login>
    • In the <notification> section, delete the <protected>1</protected> line
    • Delete the encrypted password between the <smtpPassword> tags
    • Type the password in clear  text between the <smtpPassword> tags as shown below
      <notification>
            <smtpPassword>novell</smtpPassword>
            <applicationTo>user@novell.com</applicationTo>
            <enabled>true</enabled>
            <smtpUser>user</smtpUser>
            <smtpHost>10.0.0.1</smtpHost>
            <systemTo>user@novell.com</systemTo>
            <smtpPort>25</smtpPort>
       </notification>
  2. Edit /etc/datasync/configengine/engines/default/engine.xml
    • In the <database> section, delete <protected>1</protected> line
    • Delete the encrypted password between the <password> tags
    • Type the password in clear  text between the <password> tags as shown below
      <database>
            <username>datasync_user</username>
            <hostname>localhost</hostname>
            <db>datasync</db>
            <password>novell</password>
            <type>postgresql</type>
            <port>5432</port>
      </database>
  3. Edit /etc/datasync/configengine/engines/default/pipelines/pipeline1/connectors/mobility/connector.xml
    • Delete the <protected>1</protected> line
    • Delete the encrypted password between <dbpass> tags
    • Type the password in clear text between the <dbpass> tags as shown below
      <dbpass>novell</dbpass>
  4. Edit /etc/datasync/configengine/engines/default/pipelines/pipeline1/connectors/groupwise/connector.xml
    • Delete the <protected>1</protected> line
    • Delete the encrypted trustedAppKey between <trustedAppKey> tags
    • Type the trustedAppKey in clear text between the <trustedAppKey> tags or copy it from the file that was used during the installation
  5. Re-encrypt the xml files with the new hostname, by running update.sh
    /opt/novell/datasync/update.sh

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7014481
  • Creation Date:30-JAN-14
  • Modified Date:16-OCT-14
    • NovellGroupWise

Did this document solve your problem? Provide Feedback