Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 28 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,28 @@
# 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 prepares your VMs to migrate. <br>
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)
8 changes: 8 additions & 0 deletions migrategce.sh
Original file line number Diff line number Diff line change
@@ -0,0 +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