VMware Cloud Community
gilpena
Contributor
Contributor
Jump to solution

SDDC Manager removal of VRSLCM

I have deployed VCF 4.x management domain and using SDDC Manager deployed VRSLCM.

What is the recommended method to remove VRSLCM from a VCF management domain?

Reply
0 Kudos
1 Solution

Accepted Solutions
paramoyoo
Enthusiast
Enthusiast
Jump to solution

In case if VRSLCM deployment failed you can use API call:

VMware Cloud Foundation API Reference Guide

View solution in original post

Reply
0 Kudos
11 Replies
abhilashhb
VMware Employee
VMware Employee
Jump to solution

When you say remove, are you talking about deleting it or decoupling it from SDDC manager?

Abhilash B
LinkedIn : https://www.linkedin.com/in/abhilashhb/

Reply
0 Kudos
paramoyoo
Enthusiast
Enthusiast
Jump to solution

In case if VRSLCM deployment failed you can use API call:

VMware Cloud Foundation API Reference Guide

Reply
0 Kudos
barnette08
Expert
Expert
Jump to solution

 

When I try to remove a successfully deployed vRSLCM using VCF 4.2, I am returned the following json payload response.  Did this actually work successfully for anyone?

 

{
"errors": [
{
"message": "vRealize Lifecycle Manager Suite uninstall is not available"
}
]
}
Reply
0 Kudos
MannyRodriguez1
Contributor
Contributor
Jump to solution

How to remove it from DB (before doing that, shut down SDDC manager and take cold snapshot, so you will have temporary backup just in case) 

manually clean-up the DB entries:


psql -h localhost -U postgres -d platform -c "truncate vrslcm;"
psql -h localhost -U postgres -d platform -c "delete from vm_and_vm_type_and_domain where vm_type ='VRSLCM';"
psql -h localhost -U postgres -d platform -c "delete from credentialhistory where credential_id in (select id from credential where entitytype ='VRSLCM');"
psql -h localhost -U postgres -d platform -c "delete from credential where entitytype ='VRSLCM';"

Reply
0 Kudos
barnette08
Expert
Expert
Jump to solution

@MannyRodriguez1 any ideas on how to remove a WSA global environment from vRSLCM instead of removing vRSLCM from SDDC Mgr?  The delete button isn't available on the environment.

kivlintom
Contributor
Contributor
Jump to solution

@barnette08 did you find this out?  I'm trying to do the same. 

Reply
0 Kudos
barnette08
Expert
Expert
Jump to solution

@kivlintom, nope I was only able to get vRSLCM removed and start over from there by redeploying vRSLCM from SDDC Manager.

kivlintom
Contributor
Contributor
Jump to solution

Ah ok - using @MannyRodriguez1's approach?

Reply
0 Kudos
barnette08
Expert
Expert
Jump to solution

Correct, it seemed to work just fine.  Of course, be sure to take a snapshot of SDDC Manager just in case! 🙂

kivlintom
Contributor
Contributor
Jump to solution

Good stuff - thanks!

Reply
0 Kudos
toffaha1
Enthusiast
Enthusiast
Jump to solution

Hi All,

I am using this one with changing the VCF version inside the script to 4.2.* and it works well with me.

https://kb.vmware.com/s/article/81718

 

Best Regards

Muhammad Toffaha

Technical Consultant

Best Regards,
Muhammad Toffaha
Technical Consultant