From 817f119c60a24f1e990f64fae04050e23143b46e Mon Sep 17 00:00:00 2001 From: ebonynon Date: Sat, 10 Oct 2020 14:11:38 +0530 Subject: [PATCH 1/4] file init --- migrategce.sh | 1 + 1 file changed, 1 insertion(+) create mode 100644 migrategce.sh diff --git a/migrategce.sh b/migrategce.sh new file mode 100644 index 0000000..a9bf588 --- /dev/null +++ b/migrategce.sh @@ -0,0 +1 @@ +#!/bin/bash From 704352a74178f3238b3ccbeec658d1379369f0ee Mon Sep 17 00:00:00 2001 From: ebonynon Date: Sat, 10 Oct 2020 14:19:46 +0530 Subject: [PATCH 2/4] =?UTF-8?q?script=20=E2=9B=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- migrategce.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/migrategce.sh b/migrategce.sh index a9bf588..023a37f 100644 --- a/migrategce.sh +++ b/migrategce.sh @@ -1 +1,8 @@ #!/bin/bash + +printf "\n Welcome To MigrateGCE, perpare your VMs to migrate... \n\n" + +cd /tmp +wget https://storage.googleapis.com/velostrata-release/4.11.1/migrate-for-gce-prep-4.11.1-0.deb +dpkg -i migrate-for-gce-prep-4.11.1-0.deb +reboot From da14c90012686a2679f39f7517ae69d3ed912ae9 Mon Sep 17 00:00:00 2001 From: ebonynon Date: Sat, 10 Oct 2020 14:34:08 +0530 Subject: [PATCH 3/4] =?UTF-8?q?readme=20=E2=9B=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 19dbf8e..0e78449 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,29 @@ -# vmware-migration -Migrate existing VMWare server to Google Cloud and put it under K8s cluster (Offline Migration or Live migration) +# MigrateGCE + +## What is this +--- +This is a script that perpare your VMs to migrate.
+NOTE : This script only covers the [Prepare your Linux VMs](https://cloud.google.com/migrate/compute-engine/docs/4.11/how-to/migrate-on-premises-to-gcp/overview#prepare_your_linux_vms) step, other steps you must cover by manually. + +## How To +--- +### Intall + +``` +cd /tmp +git clone https://github.com/platformercloud/vmware-migration +cd vmware-migration +mv migrategce.sh /usr/local/share/ +chmod +x /usr/local/share/migrategce.sh +``` + +### Run it + +``` +migrategce +``` + +### References + + - [Overview of on-premises to GCP migration](https://cloud.google.com/migrate/compute-engine/docs/4.11/how-to/migrate-on-premises-to-gcp/overview) + \ No newline at end of file From 5456b5566c65994bc8c309728a24061897437ffa Mon Sep 17 00:00:00 2001 From: ebonynon Date: Sat, 10 Oct 2020 14:39:32 +0530 Subject: [PATCH 4/4] chage perpare to prepares --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 0e78449..8873856 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ## What is this --- -This is a script that perpare your VMs to migrate.
+This is a script that prepares your VMs to migrate.
NOTE : This script only covers the [Prepare your Linux VMs](https://cloud.google.com/migrate/compute-engine/docs/4.11/how-to/migrate-on-premises-to-gcp/overview#prepare_your_linux_vms) step, other steps you must cover by manually. ## How To @@ -26,4 +26,3 @@ migrategce ### References - [Overview of on-premises to GCP migration](https://cloud.google.com/migrate/compute-engine/docs/4.11/how-to/migrate-on-premises-to-gcp/overview) - \ No newline at end of file