Retrofitting a shared directory into an existing vCD Cell
You need some more space in ../data/transfer
or you want to have more than one vCD Cell; this section shows how you do it.
Getting ready
We need a vCloud Director Cell VM with no shared directory. We need an NFS-shared directory we can use.
How to do it...
- Log in to the vCloud Director Cell VM.
- Gain root access, if you haven't already.
- Shut down the cell (see the A scripted cell shutdown recipe in Chapter 5, Working with the vCloud API).
- Run the following commands to copy the content of the
data/transfer
directory:cp -R /opt/vmware/vcloud-director/data/transfer /tmp/vcloudtreansfer
- Add the NFS directory to the filesystem table by using the
vi
editor as follows:vi /etc/fstab
- Scroll to the end ...
Get VMware vCloud Director Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.