Home Installation and Operations Manual

Validate Configuration Node

Now it’s time to validate your configuration infrastrucuture.

Check validity of reclass data for entire infrastructure:

reclass-salt --top

It will return service catalog of entire infrastructure.

Get reclass data for specific node:

reclass-salt --pillar ctl01.workshop.cloudlab.cz

Verify that all salt minions are accepted at master:

root@cfg01:~# salt-key
Accepted Keys:
cfg01.workshop.cloudlab.cz
mtr01.workshop.cloudlab.cz
Denied Keys:
Unaccepted Keys:
Rejected Keys:

Verify that all Salt minions are responding:

root@cfg01:~# salt '*workshop.cloudlab.cz' test.ping
cfg01.workshop.cloudlab.cz:
    True
mtr01.workshop.cloudlab.cz:
    True
web01.workshop.cloudlab.cz:
    True
cmp02.workshop.cloudlab.cz:
    True
cmp01.workshop.cloudlab.cz:
    True
mon01.workshop.cloudlab.cz:
    True
ctl02.workshop.cloudlab.cz:
    True
ctl01.workshop.cloudlab.cz:
    True
ctl03.workshop.cloudlab.cz:
    True

Get IP addresses of minions:

root@cfg01:~# salt "*.workshop.cloudlab.cz" grains.get ipv4"

Show top states (installed services) for all nodes in the infrastructure.

root@cfg01:~# salt '*' state.show_top
[INFO    ] Loading fresh modules for state activity
nodeXXX:
    ----------
    base:
        - git
        - linux
        - ntp
        - salt
        - collectd
        - openssh
        - reclass