The ZENworks 10 Configuration Management and ZENworks 7 iPrint policies contain a list of printers to be distributed via the policy. The printer names are back-linked to the eDirectory object of the corresponding printer. When the iPrint service is migrated from source server to an OES 2015 SP1 server, iPrint policies containing migrated printers must also be updated. For example, if the ZENworks7 iPrint policy contains a printer from the source server, after migration it must contain a corresponding printer from the target server.
The novell-iprint-migration.rpm also contains the scripts for migrating ZENworks 10 Configuration Management and ZENworks 7 policies. You must run the scripts to migrate the policies.
IMPORTANT:The target server and the source server must be in the same tree and in the same container.
The file with the list of printers to be migrated must be copied from the target server to the ZENworks 10 Configuration Management server.
Ensure that the latest version of ZENworks 10 Configuration Management is installed. You can get the ippmanagement utilities from there.
Install Perl on your server to run the policy migration script on the ZENworks 10 Configuration Management windows server.
Syntax: zcm-migrate-print-policy.pl -a <Administrator name> -p <Administrator password> -s <Source server> -d <Destination server> .
The zcm-migration-print-policy.pl script is located in /opt/novell/bin. Copy and run the script on the ZENworks 10 Configuration Management server. This script copies the original printer policies and the policies are formed in the target server. If you encounter any error, refer to the log file available at zcm10-migration.log.
(Optional) Port number (The default port is 80).
(Optional) The source operating system is Linux.
(Optional) The source operating system is NetWare.
Source server IP address or the DNS name.
Target server IP address or the DNS name.
(Optional) Deletes old policies.
(Optional) Changes the default printer.
The filename that has the list of printers to be migrated.
(Optional) The directory containing the policies in XML form.
The zen7-migration-print-policy.pl script is located in /opt/novell/bin/. Run the script on the target server where the replica of the eDirectory tree is present. This script copies the original printer policies, and the policies are defined on the target server. If you encounter any error, refer to the log file at /var/opt/novell/log/iprint/zenpolicy_migration.log.
Syntax: <script name> -v -v -v <log file> -s <Host name or IP address> -a <Administrator FDN> -p <Administrator password> -b <Base DN> -d <Keep default> -r <Deletes the old policies> -n <Source Operating System> -f <Filename containing a list of files containing migrated printer list>.
-v -v -v
Hostname or IP address. Source server IP address.
Administrator FDN (such as cn=admin,o=novell).
DN of a container to search for the ZENworks 7 iprint policy objects (e.g. o=novell).
Retains your default printer in the ZENworks 7 policy.
The source operating system is Linux (For an ID swap always specify -l, even if the source is Netware.).
The source operating system is NetWare.
A filename that has a list of printers to be migrated.
For more information on ZENworks, refer to ZENworks 10 Configuration Management .