vCloud Director 9.1: Migrate and Transfer NFS – Part 5


At first, we need to stop vCloud Services by running the next commands.

# service vmware-vcd stop

And them, copy the information to other location.

# cp -r /opt/vmware/vcloud-director/data/transfer/ /tmp/copy

Them, delete the exiting data.

# rm -fR /opt/vmware/vcloud-director/data/transfer/*

Next, we need to mount the shared NFS by runing this command.

# mount -t nfs 10.161.115.160:/nfs /opt/vmware/vcloud-director/data/transfer

And them copy the information from /tmp to /opt/vmware/vcloud-director/data/transfer/

# cp -r /tmp/copy-of-transfer/* /opt/vmware/vcloud-director/data/transfer/

We will confirm the mount point.

01

And them we need to make sure the shared NFS is mounted after reboot by editing /etc/export.

# nano /etc/export

10.161.115.168:/nfs /opt/vmware/vcloud-director/data/transfer/ nfs rw 0 0

02

We have to confirm that the “cells” directory is now owned by vcloud. To configure this:

# chown -R vcloud:vcloud /opt/vmware/vcloud-director/data/transfer/*

Finally, start the vCloud Director service

# service vmware-vcd start

 

Hoping you have enjoyed this post, see you next time.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s