Import vCenter Virtual Server
You can import one or more vCenter virtual servers at a time using vCenter compute resource menu. The VS(s) will be imported with limited functionality available. To gain access to the full functionality of the VS(s) you need to set vCenter credentials.
Prerequisites:
- Networks connected to Virtual Server(s) must be already imported to OnApp.
Data stores containing Virtual Servers' disks must be already imported to OnApp.
Manual Import of vCenter VS
- Go to your Control Panel > Admin > Settings menu.
- Click the Compute Resources icon.
- Go to vCenter compute resource's label > Actions > Resources Options and click Import Virtual Server.
- On the screen that follows, fill in the following:
- VM name - choose the vCenter virtual server(s) from the drop-down list
- Assign to User - choose a user from the drop-down list, who will be an owner of the virtual server(s)
Click Submit.
- You need to set your vCenter credentials to gain access to the full functionality of the VS at your Control Panel > Cloud > Virtual Server > Label > Actions > Administrative Options > Set Credentials.
- The IPs of VSs imported from vCenter become a part of either IP Pool or Manual IP nets. For more information, refer to Manual IP Nets.
Resync vCenter VS
In case you apply any changes to the imported VS on the vCenter side, you may resync the VS to update all the VS's changes to match on both vCenter and OnApp sides. To resync vCenter VS:
- Go to your Control Panel > Cloud > Virtual Servers menu.
- Click the label of the imported VS.
- Click the Actions button on the VS's screen to expand the menu.
Click the Resync VS button in the Options section to start the re-import transaction.
Auto Import of vCenter VS
If you need a quick import of multiple new VSs from vCenter to OnApp, use the auto import rules functionality. It allows you to apply the rule/rules to the already created but not yet imported virtual servers. After applying auto import rules, vCenter resources are recognized at OnApp side and can be billed immediately.
Prerequisites
- The auto import rule functionality is available on clouds that run OnApp 6.1 Edge 2 and subsequent versions.
- The Manage auto import rules permission should be enabled for a user who wants to view, create, run, edit or delete auto import rules.
- It only applies to the newly created vCenter virtual servers that are not yet imported to OnApp.
Create Auto Import Rule
- Go to your Control Panel > Admin > Settings menu.
- Click the Compute Resources icon.
- Go to vCenter compute resource's label > Actions, point to Resources Options, and click Auto Import Rules.
- Click the Create Auto Import Rules button.
- On the screen that follows, fill in the following:
- Label - specify the name of the vCenter VS
- Source Type - choose the type of vCenter source from the drop-down list
- Source - choose the vCenter resource from the drop-down list
- Target Type - choose the type of vCenter target user from the drop-down list
- Target - choose the vCenter user from the drop-down list, who will be an owner of the virtual server
Click Submit.
View Auto Import Rules
- Go to your Control Panel > Admin > Settings menu.
- Click the Compute Resources icon.
- Go to vCenter compute resource's label > Actions, point to Resources Options, and click Auto Import Rules to see a list of all rules and the following details:
- Label - the name of the vCenter VS
- Source Type - the type of vCenter source
- Source - the vCenter resource
- Target Type - the type of vCenter target user
- Target - the vCenter user, who is the owner of the virtual server
- Click the Actions button next to the auto import rule for quick access to the list of available actions.
- To edit an auto import rule, click the Edit button.
- To run an auto import rule, click the Run button.
Run Auto Import Rule
- Go to your Control Panel > Admin > Settings menu.
- Click the Compute Resources icon.
- Go to vCenter compute resource's label > Actions, point to Resources Options, and click Auto Import Rules.
- Click the Actions button next to the auto import rule you want to run and click the Run button.
After you click the Run button, OnApp system receives the list of vCenter VSs suitable for this rule and schedules proper import transactions.
Edit Auto Import Rule
- Go to your Control Panel > Admin > Settings menu.
- Click the Compute Resources icon.
- Go to vCenter compute resource's label > Actions, point to Resources Options, and click Auto Import Rules.
- Click the Actions button next to the auto import rule you want to edit and click the Edit button.
- Edit the following details:
- Label - specify the name of the vCenter VS
- Source Type - choose the type of vCenter source from the drop-down list
- Source - choose the vCenter resource from the drop-down list
- Target Type - choose the type of vCenter target user from the drop-down list
- Target - choose the vCenter user from the drop-down list, who will be an owner of the virtual server
- Click the Submit button.
Delete Auto Import Rule
- Go to your Control Panel > Admin > Settings menu.
- Click the Compute Resources icon.
- Go to vCenter compute resource's label > Actions, point to Resources Options, and click Auto Import Rules.
- Click the Actions button next to the auto import rule you want to delete and click the Delete button.
- Click the OK button to confirm the deletion.