As described in the Cloud Director Installation and Upgrade Guide, a Cloud Director server group requires use of a shared storage volume, which is referred to as the transfer server storage. This transfer server storage must be accessible to all Cloud Director servers, the cells, in the Cloud Director server group. You can use either NFS or another type of shared-storage file system configuration, such as iSCSI and OCFS, according to what is suitable for your organization's environment. Because NFS is easier to set up and configure than other shared-storage file systems, NFS is typically chosen as the shared storage volume for this purpose.
When NFS is used for the transfer server storage, certain configuration settings must set so that each Cloud Director cell in the Cloud Director server group can mount and use the NFS-based transfer server storage. The ability for each cell to mount the NFS-based location and use it as the transfer server storage is related to the user and group permissions settings that Cloud Director uses.
For each Cloud Director cell in the Cloud Director server group:
As a result, if you want the ability to run the vmware-vcd-support script with its multi-cell options (--all --multicell) to collect the logs from all of your Cloud Director system's cells in one operation and bundle, the root user must have the ability to write to the transfer server storage location when it is mounted on each server group member. The first time the vmware-vcd-support script with the --all and --multicell options is run on one of the cells, the script creates a directory vmware-vcd-support in the directory that is mounted as the transfer server storage location, and subsequently writes the collected diagnostic log bundle in that vmware-vcd-support directory. For more information about the vmware-vcd-support script and running it with its multi-cell options, see the Generate and View the VMware Cloud Director Logs.Note: If you do not use the multi-cell options when running the vmware-vcd-support script, that is, you only run it to collect logs from one cell, the script creates a file in the directory on the cell where the script is run, and not in the transfer server storage location. In this situation, the root user does not need the ability to access the transfer server storage location.
VMware Cloud Director
If you choose the chmod 1777 permissions method to achieve this requirement, the chmod 1777 permissions must be set on the volume on the NFS server machine. If you choose the no_root_squash method, the no_root_squash is set in the NFS export configuration.
Method for allowing read-write access to the shared location for two cells named vcd-cell1-IP and vcd-cell2-IP | Example settings on the NFS server |
Use chmod 1777 method |
|
Use no_root_squash method |
Add a line like the following line to the /etc/exports file, where vcd-cell1-IP is the IP address of a cell in your Cloud Director server group. 192.168.120.7/nfs/vCDspace vcd-cell1-IP(rw,sync,no_subtree_check,no_root_squash) vcd-cell2-IP(rw,sync,no_subtree_check) |
192.168.120.7:/nfs/vCDspace /opt/vmware/vcloud-director/data/transfer nfs intr 0 0