To change the IP address or the eDirectory server used by WebAdmin:
At the NNLS server console, shut down WebAdmin by entering
/etc/init.d/novell-webadmin stop
Uninstall WebAdmin by entering
/opt/novell/bin/webadmin uninstall fdn_admin_name password
where fdn_admin_name is the fully distinguished admin name (for example, cn=admin.o=novell or admin.novell) and password is the admin password.
Create the file /etc/mdb.conf and include the following line in it:
driver=mdbds referral=IP_or_DNS
where IP_or_DNS is the DNS name or IP address of the target eDirectory server and replica.
To have WebAdmin communicate with a replica on the same server, simply delete the /etc/mdb.conf file.
Reinstall WebAdmin and create the correct Web Configuration object by entering
/opt/novell/bin/webadmin install fdn_admin_name password
where fdn_admin_name is the fully distinguished admin name (for example, cn=admin.o=novell or admin.novell) and password is the admin password.
Assign the correct ports to WebAdmin by entering
/opt/novell/bin/webadmin -x -p:http_port -s:https_port fdn_admin password
where http_port and https_port are the ports used by HTTP and HTTPS, respectively (for example, 8018 and 8020 [the defaults]), fdn_admin_name is the fully distinguished admin name (for example, cn=admin.o=novell or admin.novell) and password is the admin password.
For example, you might enter
/opt/novell/bin/webadmin -x -p:8018 -s:8020 admin.novell mypassword
The Novell Resource Management snap-in for iManager finds the correct ports no matter what they are set to.
Start WebAdmin by entering
/etc/init.d/novell-webadmin start