rocks sync config
For each system configuration file controlled by Rocks, first rebuild the configuration file by extracting data from the database, then restart the relevant services.
examples
Rebuild all configuration files and restart relevant services.
rocks sync dns
Rebuild the DNS configuration files, then restart named.
examples
Rebuild the DNS configuration files, then restart named.
rocks sync host firewall
Reconfigure and restart firewall for named hosts.
examples
Reconfigure and restart the firewall on compute-0-0.
rocks sync host network
Reconfigure and restart the network for the named hosts.
examples
Reconfigure and restart the network on compute-0-0.
rocks sync host sec_attr {host}
This command syncs the secure attributes of a host.
arguments
Hostname(s) whose secure attributes need to be synced.
rocks sync host sharedkey
rocks sync users
Update all user-related files (e.g., /etc/passwd, /etc/shadow, etc.) on all known hosts. Also, restart autofs on all known hosts.
examples
Send all user info to all known hosts.