Wednesday, 4 April 2018

VMware on Ubuntu - Cloning Around

Following an earlier post: -

I've built a brand-new Ubuntu 16.04 VM, suitably updated, and am now cloning it to create an IBM Cloud Private 2.1.0.2 cluster.

This is what I did: -

ssh hayd@beast

vmrun clone ~/vmware/Ubuntu\ 64-bit/Ubuntu\ 64-bit.vmx ~/vmware/icpboot/icpboot.vmx full
vmrun clone ~/vmware/Ubuntu\ 64-bit/Ubuntu\ 64-bit.vmx ~/vmware/icpworker/icpworker.vmx full
vmrun clone ~/vmware/Ubuntu\ 64-bit/Ubuntu\ 64-bit.vmx ~/vmware/icpproxy/icpproxy.vmx full

vmrun start ~/vmware/icpboot/icpboot.vmx nogui
vmrun start ~/vmware/icpworker/icpworker.vmx nogui
vmrun start ~/vmware/icpproxy/icpproxy.vmx nogui

vmrun list

Total running VMs: 3
/home/hayd/vmware/icpboot/icpboot.vmx
/home/hayd/vmware/icpproxy/icpproxy.vmx
/home/hayd/vmware/icpworker/icpworker.vmx


vmrun getGuestIPAddress ~/vmware/icpboot/icpboot.vmx

172.16.32.131

vmrun getGuestIPAddress ~/vmware/icpworker/icpworker.vmx

172.16.32.132

vmrun getGuestIPAddress ~/vmware/icpproxy/icpproxy.vmx

172.16.32.133

which is nice.

For the record, Beast is my 32 GB, 8-core PC, which is about to have a personality transplant thanks to the addition of a 1 TB SSD.

So it's gonna fly …….

Perhaps I'll then add more RAM :-)

No comments:

Note to self - use kubectl to query images in a pod or deployment

In both cases, we use JSON ... For a deployment, we can do this: - kubectl get deployment foobar --namespace snafu --output jsonpath="{...