vCAC 5.2 series – vCenter integration

Shares

vCloud Automation Center can communicate with several different virtualization platforms such as:

  • VMware vSphere
  • Microsoft SCVMM
  • Citrix XEN server
  • RedHat VE

vCAC does communicate with platforms using : Distributed Execution Managers (specifically, DEM Workers) and agents. DEM were installed during vCAC installation process described in Part 3 of my vCAC series.

Step 1 – Prepare user for vCenter agent

User permission to vSphere 4 vCenter server and newer:

  • Global
    • Manage Custom Attributes
    • Set Custom Attribute
  • Folder
    • Create Folder
    • Delete folder
  • Datastore
    • Browse Datastore
    • Allocate Space
  • Virtual Machine
    • Inventory
      • Create from existing
      • Create new
      • Move
      • Remove
    • Interaction
      • Power On
      • Power Off
      • Suspend
      • Reset
      • Device Connection
      • Configure CD Media
      • Tools Install
    • Configuration
      • Rename
      • Add Existing Disk
      • Add New Disk
      • Remove Disk
      • Change CPU Count
      • Memory
      • Add or Remove Device
      • Settings
      • Change Resource
      • Advanced
      • Swap Placement
      • Modify Device Settings
      • Disk Change Tracking
      • Set Annotation (5.0 and 5.1 only)
    • Provisioning
      • Customize
      • Clone
      • Deploy Template
      • Read Customization Specs
    • State
      • Create Snapshot
      • Remove Snapshot
      • Revert to Snapshot
  • Resource
    • Assign VM to Res Pool
    • Migrate
  • Permissions
    • Modify Permission
    • Assign Network

Or just give user Administrator rights 🙂 to vCenter server.

Step 2 – prepare credentials for endpoint
  • Log in to vCAC management console to add credentials for vCenter server which will be connected with vCAC server.
  • Under vCAC Administrator –> Credentials –> New Credentials – provide username and password for vCenter server.
vCenter endpoint credentials

vCenter endpoint credentials

Step 3 – create and configure endpoint
  • Log in vCloud Automation Center web console
  • Go to vCAC Administrator –> Endpoints –> New endpoint –> virtual –> vSphere and enter:
    • endpoint name
    • address as follows https://<vcenter server IP/sdk
    • credentials – browse and mark credentials prepared in Step 2
vCenter server endpoint installation

vCenter server endpoint installation

  • new endpoint should appear on the list

 

[box type=”warning”] NOTE:if you have not enough free memory on vCenter server you might get error like below during endpoint installation. Verify FREE memory on vCenter server you will be connecting to.

Unable to complete the requested operation:Memory gates checking failed because the free memory (76685312 bytes) is less than 5% of total memory.  As a result, the service will not be available for incoming requests.  To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element.

Server Error in ‘/Repository’ Application.


Memory gates checking failed because the free memory (76685312 bytes) is less than 5% of total memory.  As a result, the service will not be available for incoming requests.  To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InsufficientMemoryException: Memory gates checking failed because the free memory (76685312 bytes) is less than 5% of total memory.  As a result, the service will not be available for incoming requests.  To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17929

[/box]

Step 4 – install agent
  • From a vCAC installation package run vCAC-Agent-Setup.exe on vCAC server
  • Provide basic agent configuration:
    • agent name
    • vCAC FQDN and port number
    • Model Manager Web Service host name and port
vCenter agent configuration

vCenter agent configuration

  • On next screen choose agent type – in our case will be vSphere agent – and installation path
  • On service configuration screen provide credentials for vCAC agent service – Do not select Use Local System Account for a vSphere agent

[box type=”warning”] NOTE: you have to specified user name and password which you used during vCenter endpoint configuration.[/box]

Selection_143

configure vCAC service

  • On the vSphere Agent Configuration page, enter the credentials you entered for the Model Manager Web service on the Model Manager Configuration page when installing vCAC
  • On the vSphere Endpoint Configuration page, enter the name of the generic endpoint you prepared in Step 2
  • Click on Install button to complete installation
  • Verify in Windows services if vCenter agent is started
vCenter vCAC agent service

vCAC vCenter agent service

Step 5 – add vCenter resources to enterprise group
  • Log in to vCAC administration console
  • Go to vCAC administrator –> Enterprise group –> New Enterprise Group
  • Provide requested information on configuration screen

[box type=”info”] NOTE: vCAC will discover resources only with ESX or ESXi servers attached[/box]

Enterprise Group configuration

Enterprise Group configuration

As you can see on below screen, resources (CL01) are the same like on vSphere client.

vc02 inventory

vc02 inventory

0 0 votes
Article Rating

Artur Krzywdzinski

Artur is Consulting Architect at Nutanix. He has been using, designing and deploying VMware based solutions since 2005 and Microsoft since 2012. He specialize in designing and implementing private and hybrid cloud solution based on VMware and Microsoft software stacks, datacenter migrations and transformation, disaster avoidance. Artur holds VMware Certified Design Expert certification (VCDX #077).

You may also like...

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x

FOR FREE. Download Nutanix port diagrams

Join our mailing list to receive an email with instructions on how to download 19 port diagrams in MS Visio format.

NOTE: if you do not get an email within 1h, check your SPAM filters

You have Successfully Subscribed!

Pin It on Pinterest