반응형

1. SSH 및 RSH 접속 확인

icluster] # ssh compute-0-0

Rocks Compute Node

Rocks 6.0 (Mamba)

Profile built 00:32 06-Jun-2012


Kickstarted 02:28 03-Jul-2012

compute-0-0] # exit



icluster] # rsh compute-0-0

compute-0-0.local: Connection refused


2. 노드 RSH 서버 설정

2.1 Enabling RSH on Compute Nodes(All nodes)

icluster] # rocks set appliance attr compute rsh true 

icluster] # rocks list appliance attr | grep rsh

compute:                 rsh                  true


2.2 Enabling RSH on Compute Nodes(compute-0-0)

icluster] # rocks set host attr compute-0-0 rsh true 

icluster] # rocks list host attr compute-0-0 | grep -w rsh

compute-0-0: rsh                               true                         A


3. rsh server 추가 설치 및 설정

icluster] # yum install --enablerepo=base rsh-server

icluster] # cd /export/rocks/install/contrib/6.0/x86_64/RPMS/

icluster] # cp /var/cache/yum/base/packages/* .

icluster] # ls

rsh-server-0.17-60.el6.x86_64.rpm


icluster] # cd /export/rocks/install/site-profiles/6.0/nodes/

icluster] # cp skeleton.xml extend-compute.xml

icluster] # vi extend-compute.xml

<package>rsh-server</package>

<post>

echo "rsh" >> /etc/securetty 

echo "rlogin" >> /etc/securetty 

sed -i -e s/'auth       required     pam_securetty.so'/'#auth       required     pam_securetty.so'/ /etc/pam.d/rsh

sed -i -e s/'auth       required     pam_securetty.so'/'#auth       required     pam_securetty.so'/ \

>/etc/pam.d/rlogin

sed -i -e s/'+@rocks'/'+'/ /etc/hosts.equiv    ### "+@rocks" to "+"

cp /etc/hosts.equiv /root/.rhosts

</post>

icluster] cd /export/rocks/install

icluster] rocks create distro


4. Reinstall all your compute nodes 


반응형

'HPC > Rocks Clusters' 카테고리의 다른 글

Adding Packages to Compute Nodes  (0) 2012.07.04
노드 재설치  (0) 2012.07.02
Changing the Root password - Compute nodes  (0) 2012.06.10
노드 자동 재설치 비활성화  (0) 2012.06.10
Rocks 6.0(Mamba) 설치  (0) 2012.06.10
  • 네이버 블러그 공유하기
  • 네이버 밴드에 공유하기
  • 페이스북 공유하기
  • 카카오스토리 공유하기