Article

ssalgy's picture
article
Reads:

3612

Score:
0
0
 
Comments:

1

Migrating ZCM bundles, relationships, and devices to a new server

Author Info

7 March 2011 - 11:59am
Submitted by: ssalgy

Tags

(View Disclaimer)

Q: MD wrote: We are currently running ZENworks Configuration Management 10 on a Windows 2008 32-bit server. Assuming we'd like to change to 64-bit and upgrade to 2008R2, is there any ability to migrate bundles/relationships/devices from old server to new, or is this completely manual?

A: This is very easy to do. Just add the second server (x64) to the zone as a Primary Server, and all of the content will replicate over automatically. No need to perform any migration. If you plan to then decommission the first server (x86), be sure to migrate the Certificate Authority to the second server before you uninstall ZCM.


Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

jkonney's picture

Select migration

Submitted by jkonney on 25 March 2011 - 11:40am.

And what if you did not want to migrate EVERYTHING from a ZENworks 11 server to another ZENworks 11 server? What if you just wanted to migrate bundles for example?

Here is a quick and dirty way I made to do the export of just Bundles with actions. It does not support spaces in the file names or subfolders in your Bundles folder.
---------------------------------------------------------------------
MASS BUNDLE LIST EXPORT:
#!/bin/sh
zman bundle-list -U administrator -P novell -R ./BundleExportTemp1
cat ./BundleExportTemp1 | tail -n +6 > ./BundleExportTemp2
cut -d '|' -f1 -s ./BundleExportTemp2 > ./BundleExportTemp3
list=`cat BundleExportTemp3`

for item in $list
do
item="${item%"${item##*[![:space:]]}"}"
echo "Processing: $item"
zman bundle-export-to-file "$item" "/Bundles/$item" -U administrator -P novell
done
---------------------------------------------------------------------
MASS BUNDLE LIST IMPORT:
#!/bin/sh
ls /Bundles > ./BundleImportTemp1
list=`cat BundleImportTemp1`

for item in $list
do
item="${item%"${item##*[![:space:]]}"}"
name=`echo $item | cut -d '.' -f1 -s`
echo "Processing: $name"
zman bundle-create "$name" "/Bundles/$item" -U administrator -P novell
done
---------------------------------------------------------------------

© 2013 Novell