This section is applicable only if the PostgreSQL or Oracle datastore is hosted remotely. Before starting the process of converting a secondary server to a primary server, all the secondary servers that don't have a read/write replica of the ZENworks Object Store need to have eDirectory restarted. When it is restarted, eDirectory recognizes that the primary server is lost and no longer tries to communicate with it.
To restart eDirectory:
Type etc/init.d/ndsd restart on each secondary server that doesn't have a read/write replica of eDirectory.
To convert a ZENworks Secondary Server to a ZENworks Primary Server:
Choose a secondary server with a read/write replica to be the new primary server and change the ZENworks Object Store replica on that server to be the master replica by typing ndsrepair -P -Ad.
On all the secondary servers, copy var/opt/novell/zenworks/zfs/pds/security/csr/*.csr to var/opt/novell/zenworks/zfs/pds/security/*.cer.
If required, restore the ZENworks Data Store (for instructions, see ZENworks Object Store and Data Store Maintenance
in the Novell ZENworks 7.2 Linux Management Administration Guide).
From within the /opt/novell/convertserver directory, type ./convertserver on the server that is being promoted to the primary server, then follow the prompts. You'll need the administrator password.
If you want to have all the devices that were using the old primary server, change the address of the old primary server name on the DNS server to that of the new primary server.
Restore or re-create any zlmmirror configuration files that existed previously.
Restore the package and bundle directories if they have been backed up.
If you haven't done so already, install ConsoleOne® for Linux.
Download the Linux version of ConsoleOne from www.novell.com/download. You are prompted to enter your Novell account username and password. If you don't have a Novell account, use the “create new account” link.
Save the ConsoleOne compressed file to disk and uncompress it.
Run the cl-install installation script. Install all the snap-ins.
Use ConsoleOne to remove the old primary server object from the ZENworks Object Store.
Start ConsoleOne by running the ConsoleOne executable located under /usr/ConsoleOne/bin.
Authenticate to eDirectory by clicking the tree icon. You are prompted with a login credential dialog box. Log in to your server with the following information:
Login name: admin
Password: Password from the ZLM install
Tree: IP address of a secondary server that holds a read/write replica of the ZENworks Object Store
Context: system
Under My World/NDS/.ZONENAME-TREE/system, select your old primary server object. Right-click and select Delete NDS object. Answer Yes.
After a secondary server has been promoted to be the primary server, a read/write replica of the ZENworks Data Store needs to be created on one of the other secondary servers. Use ConsoleOne to create a new read/write eDirectory partition on one of the secondary servers that has no replica.
In the left pane of ConsoleOne, expand NDS. The new zone name is appended with -TREE.
Click the new zone name. Click
from the menu, then click . The servers and their replica types are listed.Select any server. Right-click it and select
.Select a server using the browse button. Navigate to the system container, then click the server object that will be your new read/write replica. Click
.Click
twice.