OpenPBS/client をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
ジョブ発行ノードには「&color(magenta){openpbs-client-23.0...
途中で下記のようなメッセージが表示されます。
#code(nonumber){{
[root@client ~]# dnf localinstall ./openpbs-client-23.06....
:
*** PBS Installation Summary
***
*** Postinstall script called as follows:
*** /opt/pbs/libexec/pbs_postinstall client 23.06.06 /opt...
***
*** No configuration file found.
*** Creating new configuration file: /etc/pbs.conf
*** =======
*** NOTICE:
*** =======
*** The value of PBS_SERVER in /etc/pbs.conf is invalid.
*** PBS_SERVER should be set to the PBS server hostname.
*** Update this value before starting PBS.
***
*** Replacing /etc/pbs.conf with /etc/pbs.conf.23.06.06
*** /etc/pbs.conf has been created.
***
***
*** The PBS commands have been installed in /opt/pbs/bin.
***
*** End of /opt/pbs/libexec/pbs_postinstall
:
[root@client ~]#
}}
このメッセージに従って計算ノードに調整を加えます
-/etc/pbs.conf
#code(nonumber){{
PBS_EXEC=/opt/pbs
PBS_SERVER=openpbs
:
}}
clientはこの部分の修正のみで、デーモンの起動もありません。
#code(nonumber){{
[saber@pbs-client ~]$ qstat -Q
Queue Max Tot Ena Str Que Run Hld ...
---------------- ----- ----- --- --- ----- ----- ----- --...
workq 0 0 yes yes 0 0 0 ...
[saber@pbs-client ~]$ qstat -B
Server Max Tot Que Run Hld Wat Tr...
---------------- ----- ----- ----- ----- ----- ----- ----...
openpbs 0 0 0 0 0 0 ...
[saber@pbs-client ~]$
}}
と利用可能になります。
***hosts.equiv [#n3745c6b]
発行したジョブの標準出力、標準エラーは、発行したノードに...
計算ノードからジョブ発行ノードへファイルがすんなりコピー...
適切に設定がなされていないとエラーとなります。
簡単には rsh-server パッケージを入れて/etc/hosts.equivを...
#code(nonumber){{
[root@client ~]# yum install rsh-server
[root@client ~]# systemctl enable rexec.socket rsh.socket
[root@client ~]# systemctl start rexec.socket rsh.socket
[root@client ~]# cat /etc/hosts.equiv
+
[root@client ~]#
}}
***qmgr [#k414a616]
ジョブ管理ノード以外からのジョブを受け入れるために、ジョ...
#code(nonumber){{
set server flatuid = True
}}
***インターラクティヴモードで計算ノードにログインする [#h...
firewallを調整します. 具体的には 32768-61000/tcp を開けま...
#code(nonumber){{
[root@client ~]# firewall-cmd --zone=public --permanent -...
[root@client ~]# firewall-cmd --reload
}}
&color(red){*};&color(blueviolet){計算ノード};のポートを...
***別のOpenPBSにジョブを流したい [#h04560d8]
qsubでジョブを投入する際、/etc/pbs.confの「&color(magenta...
ジョブ管理ノードにジョブを投入している。
別のPBSPro(ジョブ管理ノード)にジョブを投げたいのなら
#code(nonumber){{
[illya@client ~]$ PBS_SERVER=pbs2nd qsub sample.sh
あるいは
[illya@client ~]$ qsub -q workq@pbs2nd sample.sh
}}
として実行する
qstatもまた環境変数「&color(magenta){PBS_SERVER};」を指定...
#code(nonumber){{
[illya@client ~]$ PBS_SERVER=pbs2nd qstat -Q
Queue Max Tot Ena Str Que Run Hld ...
---------------- ----- ----- --- --- ----- ----- ----- --...
workq 0 0 yes yes 0 0 0 ...
[illya@client ~]$
}}
終了行:
ジョブ発行ノードには「&color(magenta){openpbs-client-23.0...
途中で下記のようなメッセージが表示されます。
#code(nonumber){{
[root@client ~]# dnf localinstall ./openpbs-client-23.06....
:
*** PBS Installation Summary
***
*** Postinstall script called as follows:
*** /opt/pbs/libexec/pbs_postinstall client 23.06.06 /opt...
***
*** No configuration file found.
*** Creating new configuration file: /etc/pbs.conf
*** =======
*** NOTICE:
*** =======
*** The value of PBS_SERVER in /etc/pbs.conf is invalid.
*** PBS_SERVER should be set to the PBS server hostname.
*** Update this value before starting PBS.
***
*** Replacing /etc/pbs.conf with /etc/pbs.conf.23.06.06
*** /etc/pbs.conf has been created.
***
***
*** The PBS commands have been installed in /opt/pbs/bin.
***
*** End of /opt/pbs/libexec/pbs_postinstall
:
[root@client ~]#
}}
このメッセージに従って計算ノードに調整を加えます
-/etc/pbs.conf
#code(nonumber){{
PBS_EXEC=/opt/pbs
PBS_SERVER=openpbs
:
}}
clientはこの部分の修正のみで、デーモンの起動もありません。
#code(nonumber){{
[saber@pbs-client ~]$ qstat -Q
Queue Max Tot Ena Str Que Run Hld ...
---------------- ----- ----- --- --- ----- ----- ----- --...
workq 0 0 yes yes 0 0 0 ...
[saber@pbs-client ~]$ qstat -B
Server Max Tot Que Run Hld Wat Tr...
---------------- ----- ----- ----- ----- ----- ----- ----...
openpbs 0 0 0 0 0 0 ...
[saber@pbs-client ~]$
}}
と利用可能になります。
***hosts.equiv [#n3745c6b]
発行したジョブの標準出力、標準エラーは、発行したノードに...
計算ノードからジョブ発行ノードへファイルがすんなりコピー...
適切に設定がなされていないとエラーとなります。
簡単には rsh-server パッケージを入れて/etc/hosts.equivを...
#code(nonumber){{
[root@client ~]# yum install rsh-server
[root@client ~]# systemctl enable rexec.socket rsh.socket
[root@client ~]# systemctl start rexec.socket rsh.socket
[root@client ~]# cat /etc/hosts.equiv
+
[root@client ~]#
}}
***qmgr [#k414a616]
ジョブ管理ノード以外からのジョブを受け入れるために、ジョ...
#code(nonumber){{
set server flatuid = True
}}
***インターラクティヴモードで計算ノードにログインする [#h...
firewallを調整します. 具体的には 32768-61000/tcp を開けま...
#code(nonumber){{
[root@client ~]# firewall-cmd --zone=public --permanent -...
[root@client ~]# firewall-cmd --reload
}}
&color(red){*};&color(blueviolet){計算ノード};のポートを...
***別のOpenPBSにジョブを流したい [#h04560d8]
qsubでジョブを投入する際、/etc/pbs.confの「&color(magenta...
ジョブ管理ノードにジョブを投入している。
別のPBSPro(ジョブ管理ノード)にジョブを投げたいのなら
#code(nonumber){{
[illya@client ~]$ PBS_SERVER=pbs2nd qsub sample.sh
あるいは
[illya@client ~]$ qsub -q workq@pbs2nd sample.sh
}}
として実行する
qstatもまた環境変数「&color(magenta){PBS_SERVER};」を指定...
#code(nonumber){{
[illya@client ~]$ PBS_SERVER=pbs2nd qstat -Q
Queue Max Tot Ena Str Que Run Hld ...
---------------- ----- ----- --- --- ----- ----- ----- --...
workq 0 0 yes yes 0 0 0 ...
[illya@client ~]$
}}
ページ名:
1