UPDATE_SLAVE(8)
NAME
update_slave − update auxiliary system administrator’s nodes
USAGE
update_slave //master_nodeid //slave_nodeid . . .
update_slave //master_nodeid[/systype] //slave_nodeid[/systype] . . .
DESCRIPTION
Update_slave is a DOMAIN/IX shell script which updates the /etc directories, as well as other system administrative information, on auxiliary system administrator’s nodes. Master_nodeid is the node name of the single master system administrator’s node on the network. Slave_nodeid is the node name of any slave, or auxiliary, system administrator’s node. Multiple auxiliary nodes may be specified on the same command line.
Because of the distributed nature of the DOMAIN/IX system, you may maintain only one master set of such files as /etc/passwd, /etc/passwd.map, and /etc/group per network, on the network’s single master system administrator’s node. Otherwise, the mapping between information in the DOMAIN registries and information in these files will not always be accurate.
However, since two DOMAIN networks can be connected to operate as one internet, it may be necessary to have copies of the /etc files and directories on both networks, in case the connection fails. In that case, the update_slave script is used to ensure that information in /etc on the slave administrator’s node agrees with that in /etc on the master administrator’s node. You might also wish to have slave system administrator’s nodes if you have a very large network.
The update_slave script is normally run from cron on the master node, in a line of the following form. 0 6 * * * //master_nodeid/etc/update_slave //master_nodeid //slave_nodeid It can also be run from a shell prompt, if necessary.
The bsd4.2 version of this script also updates the network files in the /etc directory, hosts, hosts.equiv, gateways, networks, protocols, and services.
It is possible that a master administrative node will run one systype of DOMAIN/IX, and a slave, another. The second case of the command, under USAGE, is used in this case. In the example that follows, the master node(//administrator) is running bsd4.2, and is updating a slave node (//auxiliary) running sys5. /etc/update_slave //administrator/bsd4.2 //auxiliary/sys5