VMware {code}

Friday, 25 April 2014

Replace the vCD Transfer Storage

If you have a new NFS share and want to replace it with the existing one, you can follow something below,

For example you setup a new share name: 192.168.1.5:/mnt/esxsan/nfs/vcdshare

  • Stop the VCD service (Follow correct procedure to shutdown the vCD service here)
        #service vmware-vcd stop


  • Goto transfer directory
       #cd /opt/vmware/vcloud-director/data/transfer/


  • Compress the current data to a safe location
        #tar cvf /tmp/copy-of-transfer


  • Remove the existing data in transfer
        #rm -rf


  • Unmount the current share
        #umount /opt/vmware/vcloud-director/data/transfer


  • Modify the fstab file to match the new share
       192.168.1.5:/mnt/esxsan/nfs/vcdshare /opt/vmware/vcloud-director/data/transfer/ nfs rw 0 0


  • Mount the share
       #mount -a


  • Verify the permissions on the new share
       #chmod 750 /opt/vmware/vcloud-director/data/transfer


  • Start the VCD service
        #service vmware-vcd start

No comments:

Post a Comment