icasd — Intra Cluster Accessibility Slave Daemon
service icasd  { start  |   stop  |   restart  |   reload  |   status  |   hash }
This daemon allows one or more Kernun system (masters) to control this Kernun system (slave). Each master starts the complementary daemon icamd(8). The relation is asymetric: the master can control the slave(s). If two systems should be able to control each other, each of them must start both master daemon (icamd) and slave daemon (icasd).
When started, the icasd daemon tries to connect to all the configured masters. If the connection to some master fails, the daemon retries to connect. The daemon tries to keep the connections to the masters established. When the connection to the master is established, the master can control the slave system.
The ssh rsa key pair is used for icasd authentication. The icasd private key is the part of the icasd configuration. The icasd public key is part of the master(s) configuration. Use ssh-keygen(1) for creating the ssh key pair.
service icasd startStarts the daemon. The daemon connects to the master(s), and possibly reconnects to them when the connection fails.
service icasd stopStops the daemon. The connected master(s) are disconnected.
service icasd restart, service icasd reloadStops and starts the icasd daemon.
service icasd statusPrints the status of the icasd daemon. If running, all the configured masters are listed with the information whether they are currently connected or not.
service icasd hashPrints the configuration hash.
The icasd daemon is enabled in rc.conf
        with variable icasd_enable="YES".
The configuration of the icasd daemon is in
        /usr/local/kernun/etc/icasd.conf. The
        following variables can be set in the configuration file:
        
SLAVE_ID_RSA, FN_SLAVE_ID_RSAThe private SSH key of the icasd daemon. Either the contents of the file, or the file name.
WRITE_CFG_HASHThe file name where the hash should be written upon start (including restart, reload).
MASTER_NAMESThe list of masters (space separated). For each
            master MA, the following variables
            define each icamd master:
MASTER_ADDR_MAThe address of the master
            MA. Either IP
            address or hostname. Slave connects to this address using ssh
            protocol.
MASTER_PORT_MAThe port of the master
            MA. Slave connects to this port
            using ssh protocol.
MASTER_ID_RSA_PUB_MA, FN_MASTER_ID_RSA_PUB_MAThe public SSH key of the icamd master. The authenticity of the master is checked against the ssh key.
MASTER_CFG_NAME_MAOptional. Defines the name for the master
            MA. Use this, if the icamd name
            should differ from MA
            (MA may not
            contaion hypens (-)).
See ica(5) for the high level configuration in CML Kernun configuration.