gilpena
Contributor
Contributor

SDDC Manager removal of VRSLCM

Jump to solution

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?

0 Kudos
1 Solution

Accepted Solutions
paramoyoo
Enthusiast
Enthusiast

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

VMware Cloud Foundation API Reference Guide

View solution in original post

0 Kudos
11 Replies
abhilashhb
VMware Employee
VMware Employee

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

------------------------------------------------------------------------------------------------------------------------------------ If you find this or any other answer useful please mark the answer as correct or helpful. Abhilash B | Blog : http://vpirate.in | Twitter : @abhilashhb | LinkedIn : https://www.linkedin.com/in/abhilashhb/ |
0 Kudos
paramoyoo
Enthusiast
Enthusiast

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

VMware Cloud Foundation API Reference Guide

View solution in original post

0 Kudos
barnette08
Expert
Expert

 

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"
}
]
}
0 Kudos
MannyRodriguez1
Contributor
Contributor

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';"

0 Kudos
barnette08
Expert
Expert

@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

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

0 Kudos
barnette08
Expert
Expert

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

kivlintom
Contributor
Contributor

Ah ok - using @MannyRodriguez1's approach?

0 Kudos
barnette08
Expert
Expert

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

kivlintom
Contributor
Contributor

Good stuff - thanks!

0 Kudos
toffaha1
Enthusiast
Enthusiast

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