Wednesday 13 January 2016

pdsh (Parallel Distributed Shell) installation in CentOS/RHEL 6

#yum groupinstall "Development tools" -y
#tar -xjf pdsh-2.29.tar.bz2
# ./configure
Note:- /configure --with-ssh
# make
# make install
[root@server ~]# which pdsh
/usr/local/bin/pdsh
[root@server pdsh-2.29]# vim /etc/profile.d/pdsh.sh
[root@server pdsh-2.29]# cat /etc/profile.d/pdsh.sh
# setup pdsh for cluster users
export PDSH_RCMD_TYPE='ssh'

export WCOLL='/etc/pdsh/machines'

No comments:

Post a Comment