�����ď�ԏ�����\���\¹\������������Ð���·������\³\���\���\��������ҏ����»��Џ�����¼���¹��ԏ��������������\������¼\������������·��������¡�돪�����돢����pssh������»����·�����������Ώ��������·�����ď�¡�
�����㏢������¡�Parallel Distributed Shell (pdsh) ������»����·�����ď��������³��������¡�»���������¾���¼������̏������«�����������ď���������\���\������·�����������쏢����������¹��¡�
���¾����돢�������������쏢������¡������я����������ď�ď�ԏ�����\���\¹\���������\³\���\���\��������ҏ����»���¼���¹��ԏ�����������������¹��¡�
��������ď�����������ssh�������¾��¡�rsh�����㏢����»�����𡯏��������¹��¡�
����²��я�����\½���¼\¹���«������make���·������\���\���\¹\������¼\������·���������·�����ď�¡�
configure������\���\��\·\���\��я������������돪�²¼������»��������Џ��·�����������Ώ��������·�����ď�¡�
rsh������»����������������������������������µ�����⏢�������·��������¡�ssh������»��������Ï����������Ï��������·��¡�-g������\���\¹\���������\��\������¼\��»�����������������������������������Ï��������·��¡�GNU readline library������»��������Ï����������Ï�������¡�
--without-rsh --with-ssh --with-dshgroups --with-readline
����²��я�����»������������������»�����я��������·�����ď��̏�¡�--with-machines=/etc/machines ������������²������·���������������������������«��������¡�
-a������ /etc/machines ������µ½��ҏ��µ������������\���\¹\���������»�����������������������������������Ï��������������������������¹��¡�
\���\���\¹\������¼\��������������� -V \���\��\·\���\��я�����������¼���¹���·���²����������돪�²¼��¡�
console01:~ # pdsh -V pdsh-2.22 (+readline) rcmd modules: ssh,exec (default: ssh) misc modules: dshgroup console01:~ #
[������µ]
������¾�����������������¡�src.rpm������\���\���\�ޏ��¼\���������\���\���\���\������¼\������·��������¡�rpmbuild --rebuild�����㏢�·���������������������rpm\���\���\�ޏ��¼\���������\���\���\¹\������¼\������·�����ď�������³��⏢�������¹��������¡�
[������µ���³���³������������]
-g \���\��\·\���\��я�����»�����𡯏�����\��\������¼\��»������������̏����������̏��������¹��¡�
~/.dsh/group/ ������ /etc/dsh/group/ �돪�²¼������\���\¹\���������\��\������¼\�ߏ���������̏��ޏ�������¡��������«���������������¹������\���\���\���\������¾����������������¡�
������𡯏��Ð��¡�·��»»\����¼\������������·������ /etc/dsh/group/compute ������������������������\���\���\���\��������ҏ�돫�����·��¡�돪�²¼���������������Ï�����»��������Џ����������������¡�
console01:~ # cat /etc/dsh/group/compute node01 node02 node03 node04 console01:~ # console01:~ # pdsh -g compute uptime | sort node01: 2:26pm up 132 days 21:48, 0 users, load average: 0.00, 0.02, 0.00 node02: 2:26pm up 132 days 20:39, 0 users, load average: 0.10, 0.08, 0.01 node03: 2:26pm up 132 days 21:47, 0 users, load average: 0.08, 0.15, 0.16 node04: 2:26pm up 132 days 20:11, 0 users, load average: 0.00, 0.02, 0.00 console01:~ #
���о���\���\¹\���������»����������������������������¾����������������������������������������������¡�½��������Ï�����»���������������������������¹��¡�
¾��䏢�·������������man\��⏢�¼\���������»²¾������·���������������������µ��������¡�
�����������ď�¡�pdsh�����������»��Џ�����\���\���\¹\������¼\������µ������������ dshbak ������»��������Ï�������¡�pdsh ������½Ð���������ҏ����·���������������������¹��¡�

shigefumi: pdsh������·���²���������\���\���\�ߏ��·������ dshbak -c ���������«��¡�\���\���\¹\��ġ�����������������������������������������������̏�¡�
������𡯏��Ð��¡�fs\��\������¼\�ߏ����� fs01����fs10 ������OS����SLES10SP3��������¡�fs11����fs15����SLES11SP1���������������¹��������������¡�돪�²¼���������������Ï�����·���²��������ҏ��«���������¹���������������������������������������������������¹��¡�
console01:~ # pdsh -g fs cat /etc/SuSE-release | dshbak -c ---------------- fs[01-10] ---------------- SUSE Linux Enterprise Server 10 (x86_64) VERSION = 10 PATCHLEVEL = 3 ---------------- fs[11-15] ---------------- SUSE Linux Enterprise Server 11 (x86_64) VERSION = 11 PATCHLEVEL = 1 console01:~ #
[2010������9/15������µ]
man\��⏢�¼\���������½��Џ�������������������»��ӏ��������¹���̏�¡�\���\���\���\���\������������»���¼���¹��ԏ�ď�ԏ�����32���������������������������������������¹��¡�
¼���¹��ԏ��о����̏��½�����������������������ď�����¾���¹�����¡�32\����¼\���������¼���¹��ԏ���½��쏢���������������ď�������������¡�¼�����¼���¹��ԏ��µ���������������¹��¡�
������𡯏��Ð��¡�100\����¼\��������»��Џ�����¼���¹��ԏ��·�����ď�����¾���¹�����������¡�\���\��\·\���\��� -f 100 �����ҏ����؏��ޏ��������ÐOK���������¹��¡�
µ��؏�������¡�1�����������돢����½��������ӏ�����¼���¹��ԏ��·�����ď�����¾���¹�����������¡�-f 1 ������²������½���������¹��¡�¾���¹��������������������������������������������̏��������¹��¡�
�����������ď�¡�¼���¹���\³\���\���\��������¡돫⏢ď�ԏ����� %h ���������о�������\���\¹\������¾�����������С�¹���µ���������������¹��¡�»���������µ���²��Џ��̏����������«��������¡�
[������µ���³���³������������]
����������¡�pdsh�����ҏ����\����¼\��������������Џ�������������������¡�pdcp������rpdcp����»�����𡯏����������������Ï��������������������������¹��¡�
pdcp�����������\����¼\���������\³\��ԏ��¼�����������¡�rpdcp�����������\����¼\������«������»���������\���\��\���\���\���\���������\���\¹\������¾������\µ\���\��\���\���\¹�����؏��������\³\��ԏ��¼������������������¹��¡�
console01:~ # ls -l /tmp/foo -rw-r--r-- 1 root root 0 Sep 12 15:07 /tmp/foo console01:~ # console01:~ # pdcp -g compute /tmp/foo /var/tmp console01:~ # console01:~ # pdsh -g compute ls -l /var/tmp/foo node01: -rw-r--r-- 1 root root 0 Sep 12 15:11 /var/tmp/foo node02: -rw-r--r-- 1 root root 0 Sep 12 15:11 /var/tmp/foo node03: -rw-r--r-- 1 root root 0 Sep 12 15:11 /var/tmp/foo node04: -rw-r--r-- 1 root root 0 Sep 12 15:11 /var/tmp/foo console01:~ # console01:~ # mkdir /tmp/work console01:~ # rpdcp -g compute /var/tmp/foo /tmp/work/ console01:~ # console01:~ # ls -l /tmp/work/ total 0 -rw-r--r-- 1 root root 0 Sep 12 15:12 foo.node01 -rw-r--r-- 1 root root 0 Sep 12 15:12 foo.node02 -rw-r--r-- 1 root root 0 Sep 12 15:12 foo.node03 -rw-r--r-- 1 root root 0 Sep 12 15:12 foo.node04 console01:~ #
Parallel Distributed Shell ���«�����������������������̏��������¹��������¡�
���³������\���\���\�돢���¡���������µ»���