The following sections provides solutions to the problems you might encounter while deploying ZENworks Virtual Appliance 11 (ZENworks Appliance):
An error occurs while downloading the ZENworks Appliance image
Appliance migration from 11.2.x to 11.3 fails due to temporary network outage
Unable to uninstall ZENworks 11 SP3 from ZENworks Virtual Appliance
Appliance migration fails when there are multiple network adapters (NICs)
An error message is displayed when you run Upgrade media on a 11.2.x Appliance server
An error is displayed when you reboot the server after migrating the Appliance successfully
An error occurs while downloading the ZENworks Appliance image
Appliance migration from 11.2.x to 11.3 fails due to temporary network outage
device is already upgraded.
Run the following command:
/var/zenworks/migrate.sh <APP_IP> <ZONE_NAME>
Replace APP_IP with the IP address of 11.2.x server and ZONE_NAME with the zone name.
Run the command:
/var/adm/zenworks/copyNetwork.sh <APP_IP>
Replace APP_IP with the IP address of 11.2.x server.
Create a new file called servicehandler and add the following text to it:
#!/bin/bash if [ $# != 4 ] ; then echo "Usage: servicehandler <servicename> <Operation (1 for install, 2 for uninstall)> <Start ID> <Kill ID>" exit 1 fi if [ `id -u` -ne 0 ] ; then echo "Run this file as root." exit 1 fi INSTALL=1 UNINSTALL=2 SERVICE_NAME=$1 OPERATION=$2 START_ID=$3 KILL_ID=$4 if [ $OPERATION -eq $INSTALL ] ; then #Install service if [ -x /usr/lib/lsb/install_initd ]; then /usr/lib/lsb/install_initd /etc/init.d/$SERVICE_NAME elif [ -x /sbin/chkconfig ]; then /sbin/chkconfig --add $SERVICE_NAME else for i in 2 3 4 5; do ln -s /etc/init.d/$SERVICE_NAME /etc/rc.d/rc$i.d/S$START_ID$SERVICE_NAME done for i in 1 6; do ln -s /etc/init.d/$SERVICE_NAME /etc/rc.d/rc$i.d/K$KILL_ID$SERVICE_NAME done fi elif [ $OPERATION -eq $UNINSTALL ] ; then #Uninstall service if [ -x /usr/lib/lsb/remove_initd ]; then /usr/lib/lsb/remove_initd /etc/init.d/$SERVICE_NAME elif [ -x /sbin/chkconfig ]; then /sbin/chkconfig --del $SERVICE_NAME else for i in 2 3 4 5; do rm /etc/rc.d/rc$i.d/S$START_ID$SERVICE_NAME done for i in 1 6; do rm /etc/rc.d/rc$i.d/K$KILL_ID$SERVICE_NAME done fi else echo "Invalid operation specified"; fi
To give executable permissions to the servicehandler file, run the chmod +x servicehandler command.
Place the service handler file in your root directory and run the following commands:
./servicehandler novell-zenmntr 1 90 10 ./servicehandler novell-zenworks-xplatzmd 1 90 10 ./servicehandler novell-xplat-RunLevelChange3 1 90 10 ./servicehandler novell-zenloader 1 90 10 ./servicehandler novell-zenserver 1 90 10 ./servicehandler novell-pbserv 1 90 10 ./servicehandler novell-proxydhcp 1 90 10 ./servicehandler novell-tftp 1 90 10 ./servicehandler novell-zmgprebootpolicy 1 90 10
If you are using an embedded Sybase database, run the following commands:
./servicehandler novell sybase-asa 1 90 10 ./servicehandler novell casa_atsd 1 90 10
To complete the process, run the /opt/novell/zenworks/bin/permissions.sh command.
Unable to uninstall ZENworks 11 SP3 from ZENworks Virtual Appliance
NOTE:Removing an Appliance through ZENworks Control Center is possible only if the Appliance is an additional primary server and not a first primary server in the zone.
Log in to ZENworks Control Center.
Click Configuration > Server Hierarchy.
Select an appliance machine object, which is generally the host name of the device.
Click Action > Delete ZENworks Server.
Click OK.
Appliance migration fails when there are multiple network adapters (NICs)
An error message is displayed when you run Upgrade media on a 11.2.x Appliance server
An error is displayed when you reboot the server after migrating the Appliance successfully
Could not create ICE listening socket:
Cannot establish any listening sockets.