000019047 - How to change the ACE/Server directory name in UNIX

Document created by RSA Customer Support Employee on Jun 15, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000019047
Applies ToRSA ACE/Server
UNIX (AIX, HP-UX, Solaris)
IssueHow to change the ACE/Server directory name in UNIX
ResolutionThere are two ways of changing the ACE/Server directory name on UNIX shown below. Method A is administratively quicker, but requires a reinstallation of ACE and will result in the system being offline for a longer period of time. Method B is more complicated, but will minimize ACE/Server downtime.

Method A:

1. Stop ace
2. Back up the database files: sdserv.* and sdlog.* onto a temporary directory
3. Install ace into the new directory
4. Move sdserv.* and sdlog.* onto the new data directory (recommendation: compress the database first excluding the delta records ./sdcompress -s -x)
5. Run ./sdsetup -config and accept all the defaults. This will change the permissions on all the files in the way they were before.
6. Start ace

Method B:

1. Use the following command in a UNIX shell to find all the files with old directory names. This command is best run from the ace root directory:

        find -exec grep /old_directory_name/ {} /dev/null \;

2. Edit these files to change any reference of the old directory to the new one.  The command in the vi editor for a global replace is as follows:

        1,$ s?/old_directory?/new_directory?g

3. Check the paths in /etc/sdace.txt. Normally this should already be changed, as it is soft-linked to the same file in the ace/data directory.
4. Stop ace server
5. Move the old directory contents onto the new directory (recommendation: compress the database first excluding the delta records ./sdcompress -s -x)
6. Run ace/prog/sdsetup -config and accept all the defaults
7. Start ace
Legacy Article IDa5545

Attachments

    Outcomes