The steps below start after the Linux NSS cluster resource is created:
1. Populate the Load
and Unload scripts for the NSS cluster resource. Everything in <>
must be replaced by the information specific to your environment.
NSS LOAD SCRIPT:
#!/bin/bash
.
/opt/novell/ncs/lib/ncsfuncs
exit_on_error nss /poolact=<Pool>
exit_on_error ncpcon mount <Volume>=<uniqueID-3digitNumber>
exit_on_error add_secondary_ipaddress <IPAddress-of-resource>
exit_on_error ncpcon bind --ncpservername=<Pool>
--ipaddress=<IPAddress-of-resource>
sleep 10
ignore_error mv
/media/nss/<Volume>/var/opt/novell/iprint/iprintgw.lpr
/media/nss/<Volume>/var/opt/novell/iprint/iprintgw.lpr.bak
#exit_on_error rcnovell-idsd start
#exit_on_error
rcnovell-ipsmd start
exit 0
NSS UNLOAD SCRIPT:
#!/bin/bash
. /opt/novell/ncs/lib/ncsfuncs
ignore_error
rcnovell-ipsmd stop
ignore_error rcnovell-idsd stop
ignore_error
ncpcon unbind --ncpservername=<Pool>
--ipaddress=<IPAddress-of-resource>
ignore_error
del_secondary_ipaddress <IPAddress-of-resource>
ignore_error
nss /pooldeact=<Pool>
exit 0
2. Load the cluster resource
3. Run the
iprint_nss_relocate script:
- Go to folder /opt/novell/iprint/bin
on your OES 2 SP1 server.
- Run the following command at the
prompt:
./iprint_nss_relocate -a <admin dn> -p <password> -n <NSS path> -l cluster
For example: iprint_nss_relocate -a cn=admin,o=novell -p novell -n /media/nss/NSSVOL1 -l cluster
4. Migrate the
resource to another node in the cluster.
5. Repeate steps 3
and 4 until all nodes in the Linux cluster have run the
iprint_nss_relocate script.
6. Create the print manager and
driver store on the Linux cluster.
- When choosing the Target
Server, use the IP address of the Cluster Resource.
- Target
server specifies where the driver store and Print Manager database
will reside. Begin by using the IP address of the new resource. This
will need to be changed to a DNS name later by editing the .conf
file.
- Certificate Management error - allow the error (ask Kyle
for details).
- As for Print Manager, the lower dialog is asking
where the Print manager will be posted. You enter the IP address
initially, this will change to a DNS name. Ignore the warning. This
is a temporary thing.
NOTE: From ipsmd's perspective, it has no idea that it's running on a cluster because the script creates a symbolic link. If the link exists, it indicates that the service is clustered. You can manage both Linux and NetWare from NetWare, but you can only manage Linux from Linux.
7. After the Print
Manager and Driver Store are created, modify the
/etc/opt/novell/iprint/conf/ipsmd.conf and idsd.conf to have multiple
DSServer values. For example:
DSServer1 <replicaServer>
DSServer2 <replicaServer>
DSServer3 <replicaServer>
8. Uncomment out the following two lines from the Load
Script:
exit_on_error rcnovell-idsd start
exit_on_error
rcnovell-ipsmd start
9. Unload and Load the cluster resource
to verify that the Print Manager and Driver Store load.
10.
Create a printer to test that the service is working.
11. Run miggui
To begin with you specify the authentication information that the cluster resource (secondary IP address) Then specify the authentication information for the target server. Select type Consollidate. Click Add, highlight iPrint, select Configure. Select the source Print Manager. etc.
12. After clicking Start, it takes a long time. Novell has an updated script file to make this process go quicker.
13. Test the new Linux environment.
14. After you are
comfortable with the iPrint environment on Linux and you are ready
for your clients to start printing to the Linux cluster, change DNS
to point the original DNS to the new Linux cluster IP.
-
/etc/opt/novell/iprint/conf/ipsmd.conf
15. Change the
PSMHostAddress value from the IP address to the DNS CNAME.
-
/etc/opt/novell/iprint/conf/idsd.conf
16. Change the
IDSHostAddress value from the IP addess to the DNS CNAME.
Troubleshooting –restart Apache if printer configurations
aren't refreshed. Update the iprint.ini on all nodes in the cluster.