Run the Syncing File action periodicallyΒΆ
If the admins want to run the Syncing File action automatically or periodically, the xdcp -F
, xdcp -i -F
and updatenode -F
commands can be used in the script, crontab or FAM directly.
For example:
Use the cron daemon to sync files in the /install/custom/<inst_type>/<distro>/<profile>.<os>.synclist to the nodegroup compute every 10 minutes with the xdcp command by adding this to crontab. :
*/10 * * * * root /opt/xcat/bin/xdcp compute -F /install/custom/<inst_type>/<distro>/<profile>.<distro>.synclist
Use the cron daemon to sync files for the nodegroup compute every 10 minutes with updatenode
command.
*/10 * * * * root /opt/xcat/bin/updatenode compute -F