Control Panel Configuration
Read the steps described in this section carefully to get a common notion of the VMware vCenter configuration within the OnApp cloud.
To configure VMware vCenter on Control Panel:
- Сreate a vCenter server logical point on the OnApp side.
Create a new vCenter compute resource, which should correspond to the cluster on the vCenter side, in the compute resource settings. See the Create vCenter Compute Resource section for details on how to do that. A transaction will be launched to import all networks and data stores:
PortGroups are created as Networks under a single zone with an initial name of dvSwitch - dvPortGroup Name. It is necessary to configure the network the following way:
- Go to your Control Panel > Settings > Compute Resouces > click the label of the necessary vCenter compute resource to see its details.
- On the page that appears, click Actions > point to Management Options > Manage Networks > click the label of the newly created network (dvPortGroup Name).
- Click the New IP Net button to add the correct IP net for that network.
- Fill in the details of the new IP net:
- Label - the name of the IP net
- Network address - the network address of the IP net
- Network mask - the network mask. Must be less or equal to 32.
- Default gateway - the default gateway to be added to the IP net automatically
- Allow gateway to be outside from IP net - select the checkbox to allow the gateway to be outside from the IP net.
- Add default IP range - select the checkbox for the default IP range to be added to the IP net automatically. Otherwise, you'll need to add the required IP ranges after the IP net is created.
Click Submit to finish.
If required, specify a custom IP range.
Click here to see the instruction on adding an IP range.- Go to your Control Panel > Settings > Compute Resouces > click the label of the necessary vCenter compute resource to see its details.
- On the page that appears, click Actions > point to Management Options > Manage Networks > click the label of the newly created network (dvPortGroup Name).
- Click the Actions icon next to the required IP net and select Add New IP Range.
- Fill in the start and end address and the default gateway of the new IP range; if necessary, select the Allow gateway to be outside from IP net checkbox to allow the gateway to be outside from the IP net.
- Click Add to save the new IP range.
The Add New IP Range button is not displayed if there are no IP addresses that can be added to the IP net.
b. Data stores Cluster (PODs) are created as individual zones with their Cluster Name in the zone Name
c. Data stores not in a cluster are created under a single zone
2. Create a VS template. Also, you can upload templates using OVA import.
3. Create a new vCenter virtual server or import VS from vCenter.
- To import a VS from vCenter successfully, make sure vCenter resources for compute, network, and datastore zones are added in your bucket in the Virtual section.
- In order for the vCenter VS console to work, the system_host parameter in /onapp/interface/config/on_app.yml file must be changed from its default value onapp.com to an appropriate FQDN or IP address of the Control Panel server. Also, for the console to work, a host should resolve, so you may need to add an entry of the server in the CP host file (/etc/hosts).