Auto Import vCenter Virtual Server

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.

On this page:

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 an 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.