• Skip to primary navigation
  • Skip to content

www.open902.com

My own Knowledge Base made public ..

  • Home
  • vRealize Automation 7
    • vRA & vRB 7.2
      • Installation
        • vRA 7.2 – Installation
        • vRA 7.2 – Unattended Enterprise Install
        • vRA 7.2 – Unattended Install Answer File Generator
        • vRB 7.2 – Installation
      • Configuration
        • vRA 7.2 – Initial Configuration
        • vRA 7.2 – Endpoints and AD Integration
        • vRA 7.2 – Fabric and Business Groups
        • vRA 7.2 – Reservations, Reservation Policies and Network Profiles
        • vRA 7.2 – Blueprints and Entitlements
        • vRA 7.2 – Email Config and Approval Policies
      • Advanced Configuration
        • vRA 7.2 – Guest Agent and Software Components
        • vRA 7.2 – Custom Property RegEx
        • vRA 7.2 – Make IP in Network Profile unavailable for deployments
      • Integrations
        • vRA 7.2 – Azure Integration
        • vRA 7.2 – vRB 7.2 Configuration
        • vRB Cloud without vRA by using vIDM
    • vRA 7.0 & 7.1
      • Installation & Configuration
        • vRealize Automation 7 – Simple install
        • vRealize Automation 7 – Enterprise install
        • Upgrade vRealize Automation 7.0 to 7.0.1
        • vRA7 – Initial Configuration
        • vRA7 – Endpoint
        • vRA7 – Business Groups
        • vRA7 – AD Integration
        • vRA7 – Fabric Group
        • vRA7 – Network Profile
        • vRA7 – Reservations
        • vRA7 – IaaS Blueprint
        • vRA7 – Mail and Approvals
      • Advanced Configuration
        • vRA7 – Customize Hostname, VLAN and IP during deployment
        • vRA7 – Custom Property Relationships using Actions
        • vRA7 – vRealize Orchestrator 7
        • vRA7 – VAMI Certificate
        • vRA7 – Gugent on Linux
        • vRA7 – Gugent on Windows
        • vRA7 – Import Unmanaged Virtual Machines from vSphere
      • Integrations
        • vRA7 – NSX 6 Integration
        • Ubiquiti EdgeRouter X, NSX and vRealize Automation in network kinda harmony
        • vRA7 – vRealize Business Standard
        • vRealize Business for Cloud – Change Time zone
        • vRB Cloud without vRA by using vIDM
      • Troubleshooting
        • vRA7 – Delete stuck ‘In Progress’ Deployments
        • vRA 7 – Remove Stuck Approval Process
        • Remove Orphaned Network Profiles
        • vRA7 – Remove Stuck or Orphaned Managed Machines
  • vRA / vCAC 6
    • Installation
      • 1. Requirements
      • 2. Identity Appliance
      • 3. vCAC Appliance
      • 4. IaaS Server
    • Configuration
      • 5. Add a Tenant
      • 6. Agents & Endpoints
      • 7. Resource Allocations
      • 8. Blueprints
      • 9. Services & Catalogs
      • 10. Entitlements & Test
    • Advanced Configuration
      • Enable vCenter Orchestrator in vCAC
      • Configure External vCenter Orchestrator for vCAC
      • vCAC – Create Active Directory Endpoint & Test
      • vCAC – Refresh Inventory
      • vCAC – SMTP Settings
  • NSX
    • Ubiquiti EdgeRouter X, NSX and vRA7 Configuration
    • NSX 6 Integration into vRA7
    • NSX Authentication in Web Client using Sub-Domain users
  • vCloud Director 8.x
    • Install vCloud Director 8.0 for SP
    • NSX 6.2 for vCloud Director 8.0 SP
    • Configure vCloud Director 8.0 for SP – PVDC
    • Configure vCloud Director 8.0 for SP – Organization
    • vCloud Director 8.0 with NSX 6.2 – Final Testing
  • vCloud Director 5.x
    • 1. Installation of vCD 5.5
    • 2. vShield Manager
    • 3. VXLAN Configuration
    • 4. Initial vCloud Config
    • 5. Create a Provider vDC
    • 6.External Network
    • 7. Organization VDC
    • 8. vShield Edge & Organization Network
    • 9. Final Testing
    • 10. Installing an additional vCloud cell
    • Upgrade 1.5 > 5.5
      • 1. vCloud Director Binaries
      • 2. vShield Manager
      • 3. Final Touches
  • Lego NUC vSAN Cluster
  • Vembu
  • About Me

vRA7 – Import Unmanaged Virtual Machines from vSphere

Here I am showing how you import virtual machines from vSphere (not managed by any vRA instance) and pull them into vRA managed by a user.

There are a few things you need to prepare – and here I assume that this is already done

  • You run vRealize Automation 7.0.1 – Bulk Import is broken in GA !!
  • You have a converged Blueprint with only a single component. It must not even have a network configured

screenshot_062

  • Networks attached to the unmanaged machines are available in vRA
  • If the VMs using static IPs, the IP needed is added to the IP Pool and available. Here you can see I simply added an additional IP Pool with the range of the VMs to be imported.

screenshot_054

  • A data collection has finished successfully

screenshot_058

Here you can see that I have four VMs (Bulk-01 / 02 / 03 / 04) .. these are not managed by any vRA instance – you can pretty much see that by the fact they don’t have a prefix in the virtual machine name. Imported VMs do not automatically get a prefix and won’t be renamed !

screenshot_056

Above VMs have the following IPs and as mentioned – they need to be made available

  • Bulk-01
    • 10.10.0.104
  • Bulk-02
    • 10.10.0.172
  • Bulk-03
    • 10.10.0.173
  • Bulk-04
    • 10.10.0.174

Now navigate to Infrastructure > Administration > Bulk Imports

Click vra7_unmanaged_316

vra7_unmanaged_315

Enter here the details you want the VMs to be mapped against. All four VMs to be imported are Server 2012R2 machines and you can see I created a Blueprint for the Bulk Import specifically.

Click OK

screenshot_063

You should now receive a CSV file – save it

screenshot_064

Once you saved the file, you need to edit it. A straight import is unlikely to work. Each VM imported will need to have a unique name but by default, all exported VMs have the same Deployment ID (which really is the new name of the VM)

UNNAMED_DEPLOYMENT

Adding multiple VMs to the same Deployment ID is not supported so it needs renaming.

Open the file with for example notepad

screenshot_066

Change the names of the VM – can be tedious if you got a LOT of VMs to import. Here I changed

UNNAMED_DEPLOYMENT

to

Bulk-01

to match its current name in vCenter – the new name will be the name displayed in vRA under Items

screenshot_067

Ensure you change the Import from Yes to No if you don’t want them imported. Here for example I got an vRealize Infrastructure Navigator appliance and an NSX Edge – which I certainly don’t want to manage through vRA.

screenshot_068

As previously mentioned – I already reserved IPs for the imported VMs. Now add a custom property to include the IP

,VirtualMachine.Network0.Address, A.B.C.D, HOP

screenshot_069

Note: The HOP string sets the visibility of the property. This default property is removed from the virtual
machine after a successful import.

Now close / save the CSV.

If you got the export view in vRA still open, cancel it

screenshot_070

Click New

screenshot_071

Give the task a name and Browse for the CSV – you can run a test import to ensure the CSV file is solid.

screenshot_072

Make sure the test completed successfully

screenshot_074

Either delete the test import or create a new task with a different name

screenshot_075

Now ensure the import runs through – here you can see the status changing eventually to Registering

screenshot_077

And finishes

screenshot_078

Go to Managed Machines 

There you can also follow the detailed progress

screenshot_080

And all VMs should finish importing

screenshot_081

Under Items you should now see the imported VMs

screenshot_082

And you can also confirm the IP address which is now managed by vRA – making sure it matches the IP of the VM in vCenter and vRA.

screenshot_083

Another check you can perform is the Network Profile IP Range configured and ensure that the IP has been assigned and removed from the pool of available IPs

screenshot_085

That’s it – you now ‘Bulk-Imported VMs’. Bear in mind now – if you delete this VM from within vRA – it WILL be deleted physically from vCenter.

The VMs now have a new annotation as well, showing that the VM is now managed

screenshot_086

 

Copyright © 2019 · Genesis Sample on Genesis Framework · WordPress · Log in