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

0 Likes
over 10 years ago
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.

Tags:

Labels:

How To-Best Practice
Comment List
Anonymous
  • 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
    ---------------------------------------------------------------------

Related Discussions
Recommended