To add a vCenter to OnApp:
- Go to your Control Panel's Settings menu.
- Click the Compute Resources icon.
- Press "+" button or click the Add New Compute Resource button underneath the list of compute resources on the screen.
- On the screen that appears:
- Label - enter a compute resource label
- Compute Resource Type - choose the VMware compute resource type
- IP Address - add an IP address
- Backup IP address - add a backup server IP address - leave this field blank
- CPU Units - adjust the slider to set the desired amount of CPU units for this Compute resource
- Enabled - whether the compute resource is enabled or not (compute resources that are not enabled cannot be used to host VSs)
- Collect Stats - move the slider to the right to collect statistics for this compute resource
- Disable Failover - move the slider to the right to disable failover on this compute resource (failover is automatic VS migration to another compute resource if this one goes down)
- Login - specify the vCenter login
- Password - specify the vCenter password
- VMware Cluster Name - indicate the name of the VMware cluster from your DB
- Distributed virtual switch name - specify the distributed virtual switch label
- Use proxy - move the slider to indicate whether proxy should be used for this compute resource or not
- Local host address - fill in the local host IP address
- Local host port - specify the local host port
- NATed - move the slider to indicate whether NAT will be used for retrieving information from vCenter
- External address - fill in the external IP address
- External port - specify the the external port
Power Cycle command - arbitrary command string to be executed by IPMI from the CP server. If the command is entered, a new option "Power Cycle Compute resource" - which will execute the entered command will appear in Tools menu at Settings > Compute resources > Compute resource page.
Currently, a command or commands should be written in one line separated with semicolon. If the command(s) is written in two lines you will receive a "fail" response, although the transaction will be performed. The power cycle command is executed on Control Panel under user onapp, this may be any script created in bash.
- Click the Save button. The compute resource will be added to the system. You can view it under the Compute resources menu. Click the Back button to return to the Compute Resource Settings page.
- Go to Settings > Compute Zones.
- Create a Compute Zone.
- Attach the vCenter compute resource from the list of unassigned compute resources.