Here are steps you can use as a reference. Check with your admin where Xcalar is installed. Let's say the directory where it is installed is
Preparation (Do in Advance)
Make sure you have the new shared directory mounted and available to every node of the Xcalar cluster. Let's call this
/newmnt/xcalar. This could be an nfs mount point. You may need to speak to a Xcalar admin to give you access to this new shared directory.
Changing Xcalar Root
- Stop Xcalar using XD Administration screen (do not need to use stop-supervisor)
- Backup the current Xcalar Root. You can also look at this article to see how to backup or restore.
- Copy the current root (say
/new_mnt/xcalar using the cp command with appropriate options on one of the nodes of the cluster:
cp -r /mnt/xcalar/* /new_mnt/xcalar
- You'll need to change the
$XCALAR_DIR/etc/xcalar/default.cfg file to set
Constants.XcalarRootCompletePath to point to the new path which is
/newmnt/xcalar. If you have separate physical copies of
default.cfg on each node, you will need to change each of these copies.
- Start Xcalar