Learn HCX – Topic 7- Steps to Migrate Virtual Machines using HCX

In last blog we learned type of migration we have in HCX. Today  we will come to know about  the steps involved during migrating virtual machine from on premises to cloud

You need to log in to on premises virtual center , Go to home page and click HCX

HCX1

Go to migration  tab  in right pane and click migrate virtual machineHCx2

On left hand side you will see the data center details of your on premises virtual center. Select the cluster from where you want to migrate the virtual machine. On right hand side you will find the name of the virtual machine from that cluster

Select the virtual machine which  you want to migrate to cloud. You also need to define the migration option shown in below screen shot. You have to specify the destination cluster, destination datstore , Type of disk provision and most important is type of migration (vmotion or bulk migration) and select or verify the correct VXLAN where you want to place your machine. Once you define all option click next.

HCX3Verify  the values and click finish to start migration. We have select vMotion so it will the live migration. If you select the bulk migration please speci fy the cut over time else machine will be fail over immediately after replication.

HCX5

Monitor the task till it gets complete.

Related Topics:

Learn HCX – Topic 1 – What is HCX (Hybrid Cloud Extension) ?

Learn HCX – Topic 2 – What are the Components of HCX?

Learn HCX – Topic 3 – How to Obtain Activation Key for HCX?

Learn HCX – Topic 4 – Deployment and configuration of HCX

Learn HCX – Topic 5 – Site Pairing and Deploying Fleet Components

Learn HCX – Topic 6 – Type of Migration

Thanks for visiting here. Share this article if you found it useful.

Verify Operation | OpenStack Swift – Part 8

We are done with all installation and deployment. Now it’s time to validate and verify the operations.

Perform below  steps  on controller node ( Proxy server node).

swift stat

13

 

Related Topics:

An Overview of Swift – An Object Storage Service | OpenStack Swift – Part 1

Deploy Multi node Openstack Swift – Queens Configuration | OpenStack Swift – Part 2

Configuring Keystone | OpenStack Swift – Part 3

Install and Configure Proxy Server Components | OpenStack Swift – Part 4

Install and Configure the Storage Nodes | OpenStack Swift – Part 5

Install and configure components | OpenStack Swift – Part 6

Create and Distribute Initial Rings | OpenStack Swift – Part 7

Verify Operation | OpenStack Swift – Part 8

Migrating VMware workload to Cloud

Companies are moving their workload to cloud as it gives you agility, security, reliability and global scale while reducing your overall cost of infrastructure.

Today we are going to discuss migration tools which can help to migrate VMware workload  from on-premises to cloud.
First we will talk about Azure, Azure offers  many services out of which one is “Migrate applications with Azure Migrate” which offers
1)Discovery and assessment
2)Migration
3)Resource & Cost Optimization.
Here we are going to discuss about migration which is done once discovery has completed. With help of Azure site recovery  you can migrate your on-premises applications to Azure in just few simple click. Here are some benifits  of using ASR:
  • Azure Site Recovery (ASR) enables customers to migrate VMware-virtualized Windows Server and Linux workloads with minimal downtime.
  • For migrating application in sequence ,ASR offers application-centric migration which helps you to sequence your application servers as they migrate.
  • On  top of it, to migrate their SQL Server and Oracle databases directly into the fully managed Azure SQL Database ,Azure Database Migration Service is there to help you out.
  • For large volume storage migration,  Azure Data Box, an appliance designed to simplify data movement to Azure.

On the other AWS has come up with VMware cloud on AWS, where dedicated VMware infrastructure is offered to customer to their work load from on-premises to cloud. One of best migration tool for seamless and error free migration is HCX. Here are key characteristics using VMware on AWS.

aws2.png

If I missed anything or you want to add something, please do share your inputs in comment box.
Thanks for visiting here. Share this article if you found it useful.

Create and Distribute Initial Rings | OpenStack Swift – Part 7

Before starting the Object Storage services, you must create the initial account, container, and object rings. The ring builder creates configuration files that each node uses to determine and deploy the storage architecture. For simplicity, this guide uses one region and one zone with 2^10 (1024) maximum partitions, 3 replicas of each object, and 1 hour minimum time between moving a partition more than once. For Object Storage, a partition indicates a directory on a storage device rather than a conventional partition table.

Perform these steps on the controller (Proxy server)  node1

We need to  create account , container and  object  rings. Follow  below  steps.

  • Change to the /etc/swift directory.
  • Create the base account , container  and object.builder file:
$ swift-ring-builder account.builder create 10 3 1

$ swift-ring-builder container.builder create 10 3 1

$ swift-ring-builder object.builder create 10 3 1
  • Add each storage node to the ring:
  • Repeat this command for each storage device on each storage node.

9.jpg

10.jpg

11

Distribute ring configuration files to each storage nodes:

  • Copy the account.ring.gz, container.ring.gz, and object.ring.gz files to the /etc/swift directory on each storage node.

Finalize installation:

Perform these  steps on Proxy  node.

  • Obtain the /etc/swift/swift.conf file from the Object Storage source repository:
$ curl -o /etc/swift/swift.conf https://git.openstack.org/cgit/openstack/swift/plain/etc/swift.conf-sample?h=stable/queens
  • Edit the /etc/swift/swift.conf file
[swift-hash]
swift_hash_path_suffix = HASH_PATH_SUFFIX
swift_hash_path_prefix = HASH_PATH_PREFIX
  • Replace HASH_PATH_PREFIX and HASH_PATH_SUFFIX with unique values.
    Ex –   df7efae72397a5395ae7 and df7efae72390a5095ae6
[storage-policy:0]
name = Policy-0
default = yes
  • Copy the swift.conf file to the /etc/swift directory on each storage node.
$ chown -R root:swift /etc/swift  - Do on all nodes

$systemctl enable openstack-swift-proxy.service memcached.service

$ systemctl start openstack-swift-proxy.service memcached.service

Perform These  steps on storage nodes:

$ systemctl enable openstack-swift-account.service openstack-swift-account-auditor.service openstack-swift-account-reaper.service openstack-swift-account-replicator.service
$ systemctl start openstack-swift-account.service openstack-swift-account-auditor.service openstack-swift-account-reaper.service openstack-swift-account-replicator.service
$ systemctl enable openstack-swift-container.service openstack-swift-container-auditor.service openstack-swift-container-replicator.service openstack-swift-container-updater.service
$ systemctl start openstack-swift-container.service openstack-swift-container-auditor.service openstack-swift-container-replicator.service openstack-swift-container-updater.service
$ systemctl enable openstack-swift-object.service openstack-swift-object-auditor.service openstack-swift-object-replicator.service openstack-swift-object-updater.service
$ systemctl start openstack-swift-object.service openstack-swift-object-auditor.service openstack-swift-object-replicator.service openstack-swift-object-updater.service

12.jpg

 

Related Topics:

An Overview of Swift – An Object Storage Service | OpenStack Swift – Part 1

Deploy Multi node Openstack Swift – Queens Configuration | OpenStack Swift – Part 2

Configuring Keystone | OpenStack Swift – Part 3

Install and Configure Proxy Server Components | OpenStack Swift – Part 4

Install and Configure the Storage Nodes | OpenStack Swift – Part 5

Install and configure components | OpenStack Swift – Part 6

Create and Distribute Initial Rings | OpenStack Swift – Part 7

Verify Operation | OpenStack Swift – Part 8

Install and configure components | OpenStack Swift – Part 6

Perform these steps on each storage node:

$yum install openstack-swift-account openstack-swift-container openstack-swift-object

Obtain the accounting, container, and object service configuration files from the Object Storage source repository:

$curl -o /etc/swift/account-server.conf https://git.openstack.org/cgit/openstack/swift/plain/etc/account-server.conf-sample?h=stable/queens

$curl -o /etc/swift/container-server.conf https://git.openstack.org/cgit/openstack/swift/plain/etc/container-server.conf-sample?h=stable/queens

$curl -o /etc/swift/object-server.conf https://git.openstack.org/cgit/openstack/swift/plain/etc/object-server.conf-sample?h=stable/queens

Edit the /etc/swift/account-server.conf file:

[DEFAULT]
bind_ip = 10.0.0.4
bind_port = 6202
user = swift
swift_dir = /etc/swift
devices = /srv/node
mount_check = True

[pipeline:main]
pipeline = healthcheck recon account-server

[filter:recon]
use = egg:swift#recon
recon_cache_path = /var/cache/swift

Edit the /etc/swift/container-server.conf file:

[DEFAULT]
bind_ip = 10.0.0.4
bind_port = 6201
user = swift
swift_dir = /etc/swift
devices = /srv/node

[pipeline:main]
pipeline = healthcheck recon container-server

[filter:recon]
use = egg:swift#recon
recon_cache_path = /var/cache/swift

Edit the /etc/swift/object-server.conf file

[DEFAULT]
bind_ip = 10.0.04
bind_port = 6200
user = swift
swift_dir = /etc/swift
devices = /srv/node
mount_check = True

[pipeline:main]
pipeline = healthcheck recon object-server

[filter:recon]
use = egg:swift#recon
recon_cache_path = /var/cache/swift
recon_lock_path = /var/lock

Ensure proper ownership of the mount point directory structure:

$chown -R swift:swift /srv/node

Create the recon directory and ensure proper ownership of it:

$ mkdir -p /var/cache/swift

$ chown -R root:swift /var/cache/swift

$ chmod -R 775 /var/cache/swift

 

Related Topics:

An Overview of Swift – An Object Storage Service | OpenStack Swift – Part 1

Deploy Multi node Openstack Swift – Queens Configuration | OpenStack Swift – Part 2

Configuring Keystone | OpenStack Swift – Part 3

Install and Configure Proxy Server Components | OpenStack Swift – Part 4

Install and Configure the Storage Nodes | OpenStack Swift – Part 5

Install and configure components | OpenStack Swift – Part 6

Create and Distribute Initial Rings | OpenStack Swift – Part 7

Verify Operation | OpenStack Swift – Part 8