31.1.4 Converting a Secondary Access Manager Appliance into a Primary Appliance

To convert a secondary Access Manager Appliance into a primary Access Manager Appliance, a recent backup of Access Manager Appliance must be available. For information about how to perform a backup, see Section 29.2, Backing Up the Access Manager Appliance Configuration. A backup is necessary to restore the certificate authority (CA).

If the failed server holds a master replica of any partition, you must use ndsrepair to designate a new master replica on a different server in the replica list.

This conversion includes the following tasks:

Shutting Down Primary Access Manager Appliance

If your primary Access Manager Appliance is running, you must log in as the administrator and shut down the service.

Start YaST, click System > System Services (Runlevel), then select to stop the ndsd service.

Changing the Master Replica

Changing the master replica to reside on the new primary Access Manager Appliance makes this Access Manager Appliance into the certificate authority for Access Manager. You need to first designate the replica on the new primary Access Manager Appliance as the master replica. Then you need to remove the old primary Access Manager Appliance from the replica ring.

Secondary Administration Console

  1. At secondary Access Manager Appliance, log in as root.

  2. Change to the /opt/novell/eDirectory/bin directory.

  3. Run DSRepair with the following options:

    ./ndsrepair -P -Ad

  4. Select the one available replica.

  5. Select Designate this server as the new master replica.

  6. Run ndsrepair -P -Ad again.

  7. Select the one available replica.

  8. Select View replica ring.

  9. Select the name of the failed primary server.

  10. Select Remove this server from replica ring.

  11. Specify the DN of the admin user in leading dot notation. For example:

    .admin.novell

  12. Specify password.

  13. Type I Agree when prompted.

  14. Continue with Restoring CA Certificates.

Restoring CA Certificates

Perform the following steps on the machine that you are promoting to be a primary Appliance.

  1. Copy your most recent Access Manager Appliance backup files to your new primary Access Manager Appliance.

  2. Change to the backup bin directory:

    /opt/novell/devman/bin

  3. Verify the IP address in the backup file. The IP_Address parameter value should be the IP address of the new Primary Administration Console.

    1. Open the backup file:

      defbkparm.sh

    2. Verify that the value in the IP_Address parameter is the IP address of your new primary console.

    3. Save the file.

  4. Run the certificate restore script:

    sh aminst-certs.sh

  5. When prompted, specify the administrator’s password and location of the backup files.

  6. Continue with Verifying the vcdn.conf File.

Verifying the vcdn.conf File

Verify whether the vcdn.conf file contains IP address of the new Administration Console. If it contains IP address of the failed primary Administration Console, replace it with the new IP address.

  1. Change to the Appliance configuration directory:

    opt/novell/devman/share/conf

  2. Run the following command in the command line interface to restart Access Manager Appliance:

    /etc/init.d/novell-ac restart OR rcnovell-ac restart

  3. Continue with Deleting Objects from the eDirectory Configuration Store.

Deleting Objects from the eDirectory Configuration Store

Objects representing the failed primary Access Manager Appliance in the configuration store must be deleted.

  1. Log in to the new Administration Console, then click Access Gateways.

  2. If the failed primary Appliance's Access Gateway is the primary server (has the red icon next to it), then change the primary Access Gateway server.

    1. Click [Access Gateway cluster name] > Edit.

    2. Select a different primary Access Gateway > click Ok > click Close.

      Ignore any trust store related warnings.

    3. Click Update All.

      Wait until the status becomes current for all except the failed primary Appliance.

  3. Click Troubleshooting.

  4. In the Other Known Device Manager Servers section, select the old primary Appliance, then click Remove.

  5. Remove traces of the failed primary Access Manager Appliance from the configuration datastore:

    1. In the Access Manager menu bar, select View Objects.

    2. In the Tree view, select novell.

    3. Delete all objects that reference the failed primary Access Manager Appliance.

      You should find the following types of objects:

      • SAS Service object with the hostname of the failed primary console

      • An object that starts with the last octet of the IP address of the failed primary console

      • DNS AG object with the hostname of the failed primary console

      • DNS IP object with the hostname of the failed primary console

      • SSL CertificateDNS with the hostname of the failed primary console

      • SSL CertificateIP with the hostname of the failed primary console

      • NCP server object

  6. Continue with Performing Component-Specific Procedures.

Performing Component-Specific Procedures

If you have installed the following components, perform the cleanup steps for the component:

Third Access Manager Appliance

If you installed a third Appliance used for failover, you must manually perform the following steps on that server:

  1. Open the vcdn.conf file.

    /opt/novell/devman/share/conf

  2. In the file, look for the line that is similar to the following:

    <vcdnPrimaryAddress>10.1.1.1</vcdnPrimaryAddress>

    In this line, 10.1.1.1 represents the failed primary Appliance IP address.

  3. Change this IP address to the IP address of the new primary Appliance.

  4. Restart the Access Manager Appliance by entering the following command from the command line interface:

    /etc/init.d/novell-ac restart OR rcnovell-ac restart

Access Gateway Services

For each Access Gateway Service imported into Administration Console, edit the settings.properties file on Access Gateway if the primary Administration Console was not configured as the Audit Server.

If the primary Administration Console was configured as an Audit Server, you must update the old IP address with the IP address of the new primary Administration Console.

  1. At Access Gateway Service, log in as the root or the Administrator user.

  2. Shut down all Access Gateway Services.

    /etc/init.d/novell-appliance stop OR rcnovell-appliance stop

  3. (Conditional) If your audit server was on the primary Administration Console, replace the old IP address with the new primary Administration Console IP address:

    1. On the secondary Administration Console Dashboard, click Auditing.

    2. In the Server Listening Address field change the IP address to the secondary Administration Console’s IP address.

    3. Click Apply > OK.

  4. Edit the settings.properties file:

    1. Change to the directory and open the file.

      /opt/novell/devman/jcc/conf

    2. Change the IP address in the remotemgmtip list from the IP address of the failed Appliance to the address of the new primary Appliance.

    3. Save and exit.

  5. At Access Gateway Service, start all services by entering the following command:

    /etc/init.d/novell-appliance start OR rcnovell-appliance start

  6. (Conditional) Repeat this process for each Access Gateway Service that has been imported into Administration Console.