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...

  1. Log in to the vCloud Director Cell VM.
  2. Gain root access, if you haven't already.
  3. Shut down the cell (see the A scripted cell shutdown recipe in Chapter 5, Working with the vCloud API).
  4. Run the following commands to copy the content of the data/transfer directory:
    cp -R /opt/vmware/vcloud-director/data/transfer /tmp/vcloudtreansfer
    
  5. Add the NFS directory to the filesystem table by using the vi editor as follows:
    vi /etc/fstab
    
  6. 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.