Service Desk Practitioners Forum
cancel

Updating CI Relations at one shot

SOLVED
Go to solution
Highlighted
Deepika G
Respected Contributor.

Updating CI Relations at one shot

Hello,

I am using HPSD 4.5 SP19.
I have a scenario:
I have a mainframe which is connected to 10 Servers. The mainframe and servers are all individual CIs.
I need to decommision this mainframe, and install a new one in it's place.

Can someone please suggest as to what the best approach is to unrelate all the servers from the first mainframe and relate to the new mainframe without having to manually unrelate and relate the 10 servers.

In the Update all option, relationships are not available to update.IS there any way in which the first mainframe can be replaced by the second one for all the servers together?

Thanks in advance.
Deepika
3 REPLIES
Terry A. Moir
Outstanding Contributor.
Solution

Re: Updating CI Relations at one shot

Deepika G
Respected Contributor.

Re: Updating CI Relations at one shot

Hiya Terry,

Thanks a lot for the link. Will try out the code in my test environment.
Deepika G
Respected Contributor.

Re: Updating CI Relations at one shot

Thanks a lot! The code works perfectly. I modified it for updating parent as well as related CIs as well.