copyright | lastupdated | keywords | content-type | services | account-plan | completion-time | subcollection | ||
---|---|---|---|---|---|---|---|---|---|
|
2024-12-13 |
migration, migrate, cloud migration, on-premises |
tutorial |
vpc, virtual-servers |
paid |
45m |
infrastructure-hub |
{{site.data.keyword.attribute-definition-list}}
{: #migrating-on-prem-cloud-vpc} {: toc-content-type="tutorial"} {: toc-services="vpc, virtual-servers"} {: toc-completion-time="45m"}
The RackWare Management Module (RMM) migration solution provides a seamless replatforming of on-premises workloads to {{site.data.keyword.cloud}} virtual server instances. Use the intuitive GUI to move the OS, applications, and data from on-premises to {{site.data.keyword.vpc_short}} instances. {: shortdesc}
Follow the steps to complete a migration from on-premises to {{site.data.keyword.vpc_short}}.
{: #onprem2cloud-supported-operating-systems}
Image | Architectures |
---|---|
CentOS Stream 9.x | x86-64 |
Debian 11.x, 12.x | x86-64 |
Fedora Core OS | x86-64 |
Red Hat Enterprise Linux 8.x, 9.x | x86-64 |
Red Hat Enterprise Linux for SAP 8.x, 9.x | x86-64 |
Rocky Linux 8.x, 9.x | x86-64 |
SUSE Linux Enterprise Server 12.x, 15.x | x86-64 |
SUSE Linux Enterprise Server for SAP 12.x, 15.x | x86-64 |
Ubuntu 20.04.x, 22.04.x, 24.04.x | x86-64 |
Windows 2016, 2019, 2022 | x86-64 |
{: caption="Supported x86_64 stock image operating systems" caption-side="top"} |
The Convert LVM feature is only supported for RHEL 7.x and RHEL 8.x {: note}
For more information about supported operating systems, see the following topics:
{: #onprem2cloud-architecture}
This diagram shows the architecture that you are about to create.
{: caption="Architecture diagram" caption-side="bottom"}
This architecture diagram is applicable for bare metal to bare metal, bare metal to virtual server, and virtual server to virtual server scenario in On-premises to {{site.data.keyword.vpc_short}} migration. {: note}
{: #onprem2cloud-order-rackware} {: step}
The RMM tool is available in the {{site.data.keyword.cloud_notm}} catalog. After you order, a virtual server with RMM software is installed into your VPC of choice. The RMM server has a public IP address for reachability and a default login.
If public IP address is not attached to RMM server, then its 'Reserved IP' address can be used to access RMM server with bastion host. {: note}
- Order the RMM server from the {{site.data.keyword.cloud_notm}} catalog{: external}.
- After you order, log in to the RMM server.
- In the RMM server, change the default password, create users, and create an SSH key.
- Upload the SSH key to {{site.data.keyword.vpc_short}}.
{: #byol-rackware-on-prem} {: step}
The license required for migration to {{site.data.keyword.cloud_notm}} is Bring Your Own License (BYOL). You need to purchase the license directly from RackWare.
Complete the following steps to get a license:
-
Order your license from RackWare.
-
Run the following command on the RMM CLI to generate a preinstall file:
rwadm relicense
{: pre}
-
After you generate a preinstall file, send a license generation request to the RackWare licensing team with the following information:
- RMM License (subject line)
- Company name
- License count
- Preinstall file (attached)
- Purchase order (attached)
-
Install the license.
a. After you receive a valid license, download the license file and place it in
/etc/rackware
. Restart the services to apply the license by running the following command:rwadm restart
{: pre}
b. Verify the license by running the following command:
rw rmm show
{: pre}
{: #onprem2cloud-connectivity-between-source-and-cloud} {: step}
Your source and target server need to communicate with each other and the RMM. You can establish connectivity over the public internet with public IP addresses, or if you have a private-only environment, then you must set up either a VPN or Direct Link 2.0:
- Use Direct Link 2.0 connection to {{site.data.keyword.cloud_notm}}.
- Have port 22 open with SSH accessible to RMM server.
- Public interface (least recommended due to security concerns).
{: #onprem2cloud-prepare-source-and-target} {: step}
You can set up target server manually or with the RMM auto-provision feature.
{: #onprem2cloud-option-manual}
The RMM solution handles only the OS, application, and data movement. It does not set up a VPC on the target side. Therefore, you must set up the {{site.data.keyword.vpc_short}} infrastructure. At a bare minimum, you need to set up a VPC, subnets, and virtual server instances. For more information, see the Virtual Private Cloud (VPC) documentation.
-
Create a VPC.
-
Create subnets.
-
Order a virtual server instance.
- SSH key
- Operating system name (Linux or Windows and their respective versions)
- Security groups
- Secondary volume (optional)
Encrypted volumes are not supported. {: note}
{: #onprem2cloud-option-auto}
{: #onprem2cloud-setting-up-cloud-user}
- Log in to the RackWare web console by entering
https://<ip address of your RMM server>
and your RMM admin user credentials in your browser. - In the RackWare web console, go to Configuration > Clouduser.
- When you add a cloud user, enter a name and select {{site.data.keyword.vpc_short}} for the Cloud Provider. Select the region where you want to auto-provision the virtual server instance, and enter your {{site.data.keyword.cloud_notm}} API key.
- Click Add.
{: #onprem2cloud-creating-wave}
A wave contains a single host or multiple hosts that are to be migrated. For this migration, you need to create one or more waves, provide information about the hosts in the wave, and then start the wave.
- In the RackWare web console, go to Replication > Waves.
- When you create a wave, select Target Type as Autoprovision.
- Enter source and target details.
If source server has a Linux operating system and it has a boot volume greater than 100 GB, then leave the ‘Provision disk’ textbox empty and select ‘Convert to LVM’ option. This selection creates additional disk of the required size and converts all eligible volumes to LVM on the target.’ For Windows, no action is required. It is handled automatically by RMM. {: note}
- After you enter your source and target information, you need to provide your {{site.data.keyword.vpc_short}} information.
- From the edit option in the Actions menu of your source, select the {{site.data.keyword.vpc_short}} Options tab, enter the relevant information, and click Modify.
- Run the replication.
Make sure that your VPC, subnet, and other necessary cloud components are set up before you add a cloud user in RMM. {: note}
{: #onprem2cloud-assigning-wave}
- In the RackWare web console, go to Replication > Waves.
- Select the wave that needs to be migrated.
- On the Wave Detail page, select the Autoprovision option as Not configured.
- Select your cloud user for the Environment, enter the region where the virtual server instance needs to be provisioned, and apply the changes.
{: #onprem2cloud-prepare-source-target-servers} {: step}
There are a few things that need to be done on the source and target server for the migration to work. The RackWare RMM server needs to SSH into the servers; thus, the RMM public SSH keys need to be copied onto both the source and target servers. If the source server has both public and private interfaces, host routes need to be added to direct the communication between the servers over the transit gateway path. Complete the following steps to prepare your relevant servers.
{: #onprem2cloud-linux-systems}
- Copy the RMM SSH public key to both the source and target servers.
- If your compute resource has both public and private IP addresses, the host level route needs to be added for it to work properly. Run the following command on your classic compute resources for the operating system:
ip route add <destination_network> via <Gateway_address> dev <private_ethernet_interface>
{: pre}
{: #onprem2cloud-windows-systems}
-
Copy the RMM SSH public key to both the source and target servers.
-
You need to download the SSH key utility. You can download it from the RMM server:
<https://<RMM_IP>/windows/RWSSHDService_x64.msi>
<RMM_IP>
is the IP address of your RMM server. {: note} -
The user is
SYSTEM
, and you need to key in the RMM SSH key to authenticate for both the source and target servers. -
If your compute resource has both public and private IP addresses, the host level route needs to be added for it to work properly. Run the following command on your classic compute resources for the operating system:
route ADD <destination_network> MASK <subnet_mask> <gateway_ip> <metric_cost>
{: pre}
If you use the auto-provision feature, you don't need to set up a target. Only the friendly name for the target server is required. {: note}
{: #onprem2cloud-setup-rackware-rmm-on-prem} {: step}
You can migrate the servers over one by one or run simultaneous migrations. If you are doing multiple, simultaneous migrations, download the CSV template from the RMM server and complete the appropriate fields.
- Log in to the RMM server.
- Create a Wave and define the Wave name.
- If multiple hosts are to be migrated, download the template, complete the appropriate fields, and then upload the template.
- Select the Wave name to enter source and target information.
- Select the "+" sign.
- Add source IP address or FQDN and add source username.
- Target Type = Existing system
- Sync Type = Direct sync
- Add a target IP address or FQDN.
- Add a target-friendly name, and add a target username.
- Start the migration.
The username field for Linux environments is root
. The username field for Windows environments is SYSTEM
.
{: note}
{: #validating-your-migration-on-prem} {: step}
After your server migration, validate your compute resources, such as applications and data. Update or validate the following items:
- Access the target server.
- Check partitions and volumes.
- Check the applications.
- Install any test application in the target server.
- Check networking routes.
- Check or update your
yum
repos, application settings, and configuration file. - Check or update application or operating system licenses.
- Remove the RMM SSH key.