3. Cluster environment setup
●
8 nodes
–
–
●
4 servers
4 clients
Simple tasks
–
–
Get IP settings from all nodes
–
●
Check time on all cluster nodes
Copy /etc/multipath.conf only to server nodes
How to complete this tasks?
5. Environment Setup
●
pdsh
–
–
●
pdsh -a date
pdsh -w server-[1-4] uptime
dshbak
–
●
pdsh -a ip addr | dshbak
pdcp
–
pdcp -a /etc/hosts /etc/
–
pdcp -a -x client-[1-8] /etc/multipath.conf /etc/
6. Environment Setup
●
Ansible = Puppet, Chef, but
●
but has differences
–
minimal infrastructure
●
–
requires only Python and SSH access to node
2 modes
●
●
command line mode similar to pdsh
playbooks
–
keeps configuration in YAML files
–
extensible
●
modules (any language), plugins
7. Test Execution
●
screen
–
keep long running test active in SSH session
–
store information about bugcreate log file
●
●
test is started, test is finished ctrl-alt-H
log file name can be changed
–
–
●
: logfile tc78_%c_%D_%M
create console “screenshot” to file
similar tools
–
tmux, script, nohup
8. Summary
●
Cluster tools
–
for environment configuration
●
●
–
pdsh https://code.google.com/p/pdsh/
Ansible http://www.ansibleworks.com/
for test execution
●
screen or tmux, script