wtbt Super Contributor.
Super Contributor.
938 views

Delete ZENWorks primary server

Hi!

We have at the moment three primaries (ZCM 2017 upd 1) in our zone, two of which are old running on SLES and upgraded several times. For several reasons we'd like to delete these one at a time and eventually replace them with appliances. Which are the major pitfalls when deleting a ZENWorks primary? We use an internal CA and we have moved it away from the server we plan to delete first. All clients are pointed to one of the servers not to be deleted.
Anything else to do before going to action?

Kind regards

Bengt W
Labels (1)
0 Likes
4 Replies
Micro Focus Expert
Micro Focus Expert

Re: Delete ZENWorks primary server

I don't want to try and give a comprehensive list, but .......
I would Power Off the Server you are planning on retiring and leaving it off for a bit before removing it and make sure all devices continue to work fine....
While it is Off, attempt to promote another device to that of an Auth Satellite....this will verify the CA has indeed been properly moved. (Does not have to stay an auth sat....)
0 Likes
Highlighted
wtbt Super Contributor.
Super Contributor.

Re: Delete ZENWorks primary server

Thanks!

Ok, the first one to remove is the first one we installed, ages ago, and thus the original holder of the internal zone CA. We moved the CA to another primary some time ago and all things seem to agree that the CA lives on that server now. We powered off the server and the test you suggested succeded, as far as we can see things work just fine. Only worry is that when we went on to delete the server a recommendation to run an unistall on the server instead appeared. In the related documentation, "ZENWorks Uninstall Guide" our scenario is not mentioned. A general text there states:
"The first ZENworks Primary Server installed in your system should only be removed after all other Primary Servers. If you are using an embedded ZENworks database, it is on the first Primary Server and is removed when the server is uninstalled. If you are using an external database, the first Primary Server holds the server certificate for the Management Zone; removing it breaks all other Primary Server’s connection to the ZENworks database".
We use a separate database and the server to be removed does not hold the CA any more (but it IS the first primary we ever installed and it did hold the CA at that time). Is there a risk that the other primaries get orphaned anyway if we remove/uninstall the first primary?

Kind regards
Bengt W
0 Likes
Micro Focus Expert
Micro Focus Expert

Re: Delete ZENWorks primary server

There are 3 things that are difficult to recover from.....
Lost CA
Lost DB
Lost Device Communication. (CA Reminted and agents miss the window to learn about it. Server Swap and they do not talk to zone between the time new server comes in and old server goes out and they only know about old server.)

As far as I can tell....You have all 3 cases covered.
You can't really "Orphan a Primary".
You "Should" be good....especially if all operates with the server to be deleted off.....including new cert creation...
0 Likes
wtbt Super Contributor.
Super Contributor.

Re: Delete ZENWorks primary server

Thanks! All went perfectly well! The original first primary is now deleted and replaced by a a new appliance version with no sideeffects at all so far. We'll let this sink in for a couple of days before we move om and do the same thing with the remaining old server. It would be a good thing if this scenario was covered in the documentation (I coldn't find anything about it) as well as introducing an appliance when it is "lower" (17.0) than the other servers already in the zone (17.1). No problem but it is reassuring to read about it in advance.

Kind regards
Bengt W
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.