VCSA Server Profile

VCSA server profiles are a great way to configure all of your VCSAs the same way.

Configurations can be exported to a json, modified and then imported to different vCenters to ensure consistency.  Another benefit is that you can also use them for Desired State Configurations to keep that consistency after installations.

The procedure for extraction is by API call but thankfully the Developer Section has an API Explorer that lets you easily connect and use the calls.

Enter the Developer Section from the menu:

workloaa Management 
Global Inventory Lists 
Policies and Profiles 
Auto Deploy 
Hybrid Cloud Services 
Developer Center 
Administration 
Tasks 
Events 
ctrl + alt 
ctrl + alt +8 
Tags & Custom Attributes 
Lifecycle Manager

Go to the API Explorer and choose appliance API and search for profile

Developer Center 
Overview 
API Explorer 
Select Endpoint 
Select API 
Code Capture 
appliance 
API Categories 
v intraprotile/configs 
) GET 
) POST 
) POST 
/api/appliance/intraprofile/configs 
/api/appliance/intraprofile/configs?action=export 
profile 
List all the profiles which are registered. if you do not 
have all ot the privileges described as follows: - 
Operation execution requires Intraprofile_Read. 
Exports the desired profile specificatiorL it you do not 
have all ot the privileges described as follows: - 
Operation execution requires Intraprofile_Read. 
Imports the desired profile specificatiorL

Utilize Get to get the configurations and POST commands to export or input. 

Try it out 
EXECUTE 
Curl 
&COPY RESPONSE 
DOWNLOAD 
curl -X GET 'https://vcenter.sstep]ocal/api/appliance/infraprofile/contigs' -H 'vmware-api-session-id: 59933ddd68fb93d28c2ed01c6e6dd8 
Response 
Appliancelnfraprotileconfigsprotilelnfo (ApplianceManagement) { 
Appliancelnfraprotileconfigsprotilelnfo (ApplianceNetwork) { . 
Appliancelnfraprotileconfigsprotilelnfo (AuthManagement) { .

Hope this helps to ensure that you can maintain control of the configurations.

Sourced from: Achieve Consistent Configuration across vCenter Servers – vCenter Server Profiles | VMware


Discover more from Want Computers

Subscribe to get the latest posts sent to your email.

No responses yet

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.