9.17. sync

9.17.1. sync config

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

# rocks sync config

Rebuild all configuration files and restart relevant services.

9.17.2. sync dns

rocks sync dns

Rebuild the DNS configuration files, then restart named.

examples

# rocks sync dns

Rebuild the DNS configuration files, then restart named.

9.17.3. sync host firewall

rocks sync host firewall

Reconfigure and restart firewall for named hosts.

examples

# rocks sync host firewall compute-0-0

Reconfigure and restart the firewall on compute-0-0.

9.17.4. sync host network

rocks sync host network

Reconfigure and restart the network for the named hosts.

examples

# rocks sync host network compute-0-0

Reconfigure and restart the network on compute-0-0.

9.17.5. sync host sec_attr

rocks sync host sec_attr {host}

This command syncs the secure attributes of a host.

arguments

host

Hostname(s) whose secure attributes need to be synced.

9.17.6. sync host sharedkey

rocks sync host sharedkey

9.17.7. sync users

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

# rocks sync users

Send all user info to all known hosts.