06 Mar 2014 by Simon Greaves
When setting up a multi-cell vCloud Director environment you will need to create a shared area to store the transfer folder that is used whenever something is uploaded to a vCloud Director cell, such as an ISO or an OVF template.
The diagram below shows a typical multi-cell, multi-vCenter setup.
In order to create the share we can use a CentOS virtual machine as the shared area. Any NFS mount will suffice provided that it allows for ownership of folders to be set. This guide will assume you have already created the NFS share.
This guide also assumes this is being run on a new vCD cell. If you have already deployed vCloud Director take a backup of the contents of the
/opt/vmware/vcloud-director/data/transfer folder before you start otherwise any uploaded content that hasn’t yet been copied to a datastore will be lost.
Also if the cell already exists you can skip step 1. Just make sure to stop the cell service first.
service vmware-vcd stop
The steps to be performed on the vCD cells are:
mkdir -p /opt/vmware/vcloud-director/data/transfer
mount nfshost.fqdn.or.ippaddr:/nfs.export.name /opt/vmware/vcloud-director/data/transfer
nfshost.fqdn.or.ippaddr:/nfs.export.name /opt/vmware/vcloud-director/data/transfer nfs rw 00
chown -R vcloud:vcloud /opt/vmware/vcloud-director/data/transfer/*
service vmware-vcd start
Comments are closed for this post.