Migrating Physical Servers
Migrating a Physical Server
Migrating a physical server to the cloud is done by booting a Velostrata Connector ISO image into RAM from a virtual or physical DVDROM/CDROM device. The Velostrata connector maps the local storage and creates a Stub VMware VM as a management object for Velostrata cloud migration operations. From that point forward, the migration is done in a similar way to the migration of other VMs except here it takes place in write isolation mode, meaning data changes made in the cloud are not synced back to on-prem.
- The Stub VM created in the process is intended for Velostrata management operations only, and not set up for local execution on vSphere. It is set up with no network interface, and a minimal CPU/RAM setting.
- Test clone is not supported for physical servers.
- Disk types supported include SAS, SATA, SSD, virtual disks presented by hardware controller, and SAN volumes mounted on physical HBAs.
- PATA/IDE disks are not supported.
- Minimum of 4GB RAM is recommended
- For machines with less than 4GB RAM, press any key during the boot splash screen (one with the keyboard icon) and choose the Velostrata Connector (low memory) option from the menu. This uses an on-demand copy from the CD image.
- Physical DVDROM/CDROM or virtual CDROM to boot the Velostrata Connector ISO from.
- Check OS compatibility in the Velostrata release notes.
- For Linux OS install the Velostrata-Prep RPM.
- As described in the relevant chapter here.
- Download the Velostrata Connector ISO: http://tiny.cc/VelosPhysicalConnector
- Boot from the Velostrata ISO.
- This can be done by using ILO (HP Enterprise servers) or iDRAC (Dell servers).
The steps below use HP ILO:
- Launch the remote console.
- Select Virtual Drives > Image File CD/DVD-ROM, and select the Velostrata Connector ISO that you downloaded.
- Select Power Switch > Reset.
- Once the server is up, ensure that it boots from the ISO.
- Log in to the ISO using the following credentials: ubuntu\Welcome01
- Run ./VelosConnector.sh script to view the menu.
- In vCenter, check for an iSCSI Software Adapter. If you do not have one, navigate to Configure > Storage Adapters and add an iSCSI Software Adapter.
Note: we recommend a 1:1 relationship between a VM and an iSCSI Target.
- Select 1) Register a Stub VM for Velostrata operations and follow the instructions. Note that registering the OS properly is required in order to create the correct AMI in the cloud and enable proper migration.
The VM appears in vCenter.
- Now that the VM is in vCenter, you can perform the migration using the standard process as outlined here.
Deleting a Stub VM
You can delete the VM and the iSCSI target configuration on the ESX side after your migration is complete.
Note: If you create more than one VM using the same iSCSI Target, when you delete any of those VMs, it will automatically delete the iSCSI Target as well. Therefore, you must manually delete any additional VMs that were tied to that iSCSI Target.
Showing the iSCSI Target Settings
You can view the iqn, portals and luns that will be migrated to the cloud.
- Select 3) Show iSCSI Target Settings. Ensure that you can see all the disks of the server.
Managing the IP Configuration
You can view the IP of the server that will be used for the iSCSI target configuration. The ISO gets the IP from DHCP by default, but you can configure a static IP. It is necessary to have a valid IP before the stub can be registered.
- Select 4) Show IP Configuration.
- Select 5) Setup Static IP to configure a static IP.