Import vCenter Virtual Server

You can import one vCenter virtual server at a time using vCenter compute resource menu. The VS will be imported with limited functionality available. To gain access to the full functionality of the VS you need to set vCenter credentials.

Prerequisites:

  • Networks connected to Virtual Server must be already imported to OnApp.
  • Data stores containing Virtual Server's disks must be already imported to OnApp.

On this page:


Manual Import of vCenter VS


To import vCenter virtual server:

  1. Go to your Control Panel > Admin > Settings menu.
  2. Click the Compute Resources icon.
  3. Go to vCenter compute resource's label > Tools and click Import Virtual Server.
  4. On the screen that follows, fill in the following:
    • VM name - choose the vCenter virtual server 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
  5. Click Submit.

  • You need to set your vCenter credentials to gain access to the full functionality of the VS at Control Panel > Cloud > Virtual Server > Label >Tools > 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.



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.



View Auto Import Rules


To view the list of auto import rules:

  1. Go to your Control Panel > Admin > Settings menu.
  2. Click the Compute Resources icon.
  3. Go to vCenter compute resource's label > Tools 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
  4. Click the Actions button next to the auto import rule for quick access to the list of available actions.
  5. To edit an auto import rule, click the Edit button.
  6. To run an auto import rule, click the Run button.



Create Auto Import Rule


To create auto import rules:

  1. Go to your Control Panel > Admin > Settings menu.
  2. Click the Compute Resources icon.
  3. Go to vCenter compute resource's label > Tools and click Auto Import Rules.
  4. Click the Create Auto Import Rules button.
  5. 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
  6. Click Submit.



Run Auto Import Rule


To run an auto import rule:

  1. Go to your Control Panel > Admin > Settings menu.
  2. Click the Compute Resources icon.
  3. Go to vCenter compute resource's label > Tools and click Auto Import Rules.
  4. 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


To edit an auto import rule:

  1. Go to your Control Panel > Admin > Settings menu.
  2. Click the Compute Resources icon.
  3. Go to vCenter compute resource's label > Tools and click Auto Import Rules.
  4. Click the Actions button next to the auto import rule you want to edit and click the Edit button.
  5. 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
  6. Click the Submit button.



Delete Auto Import Rule


To delete an auto import rule:

  1. Go to your Control Panel > Admin > Settings menu.
  2. Click the Compute Resources icon.
  3. Go to vCenter compute resource's label > Tools and click Auto Import Rules.
  4. Click the Actions button next to the auto import rule you want to delete and click the Delete button.
  5. Click the OK button to confirm the deletion.