[[ASAP Top]]

#contents

* 運び出し,復帰どちらの場合も [#l32cf9aa]

対象のPS3にrootログイン

 $ ssh -Y root@P**   <-- -Yオプション忘れずに

* 運び出すとき [#p3454312]

YGM72に接続されている PS3 を持ち出す際の設定方法です.
持ち出す前に,PS3部屋で必ずやっておきましょう〜

ポイントは,indraに依存しないようにすればOKです.

** rc.local の設定 [#n80d49de]

 # vi /etc/rc.local
 mount -t nfs indra:/home /home の行をコメントアウト

ついでに

 # umount /home

** LDAPの停止 [#cb29b634]

 # system-config-authentication
 "User Information"タブおよび"Authentication"タブの"Enable LDAP Support"のチェックを外す

 # su - 誰かのユーザ名
などしてログイン「できなければ」OK


** 起動するサービスの停止 [#aba418e7]
元々,このへんは挙げておく必要なんてないのだろう~
http://afexcel.seesaa.net/article/93682438.html

 # chkconfig auditd off
 # chkconfig autofs off
 # chkconfig bluetooth off
 # chkconfig cups off
 # chkconfig ip6tables off
 # chkconfig hidd off
 # chkconfig mdmonitor off
 # chkconfig ntpd off
 # chkconfig pcscd off
 # chkconfig restorecond off
 # chkconfig sendmail off

** NFSの設定 [#e8583995]

もしMPIとかやるなら,/homeを共有する必要あり

 # vi /etc/exports
 /home ほにゃらら

 # chkconfig nfs on
 
** リブート [#pb75f7e5]

 # shutdown -r now

これでもっかい ssh root@P** できればOK

* 会場にて [#j4732f38]

/homeをマウントせよ

 # mount -t nfs P50:/home /home


* YGM72に戻すとき [#s303c8aa]

上の逆をやる.

** rc.local の設定 [#n80d49de]

 # vi /etc/rc.local
 mount -t nfs indra:/home /home の行のコメントアウトを外す


** LDAPの有効化 [#cb29b634]

 # system-config-authentication
 "User Information"タブおよび"Authentication"タブの"Enable LDAP Support"のチェックを入れる

 # su - 誰かのユーザ名 などしてログインできればOK

** デーモンの復活 [#v97e8303]
ntpd だけ上げてください.

 # /sbin/chkconfig ntpd on

** リブート [#pb75f7e5]

 # shutdown -r now

これで ssh ユーザ名@P** できればOK

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS