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 2023 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.
-a, --admin
Administrator name.
-p, --passwd
Administrator password.
-P, --port
(Optional) Port number (The default port is 80).
-l, --linux
(Optional) The source operating system is Linux.
-n, --netware
(Optional) The source operating system is NetWare.
-s, --src
Source server IP address or the DNS name.
-d, --dest
Target server IP address or the DNS name.
-r, --rem
(Optional) Deletes old policies.
-c, --change
(Optional) Changes the default printer.
-f, --file
The filename that has the list of printers to be migrated.
-x, --xml
(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
Log file.
-s, --host
Hostname or IP address. Source server IP address.
-a, --admin
Administrator FDN (such as cn=admin,o=novell).
-p, --passwd
Administrator password.
-b, --base-dn
DN of a container to search for the ZENworks 7 iprint policy objects (e.g. o=novell).
-d, --keepdefault
Retains your default printer in the ZENworks 7 policy.
-l, --linux
The source operating system is Linux (For an ID swap always specify -l, even if the source is Netware.).
-n, --netware
The source operating system is NetWare.
-f, --file
A filename that has a list of printers to be migrated.
For more information on ZENworks, refer to ZENworks 10 Configuration Management .