Skip to content

Instantly share code, notes, and snippets.

@yohm
Last active November 16, 2016 03:41
Show Gist options
  • Save yohm/a16b9fbac0b33f710166bd235412a20a to your computer and use it in GitHub Desktop.
Save yohm/a16b9fbac0b33f710166bd235412a20a to your computer and use it in GitHub Desktop.
HostGroup機能の使い方

目的

OACISにHostGroupという機能を導入した。 ジョブの作成時にHostを個別に指定するのではなく、HostGroupというHostの集団を指定できるようにする。 ジョブの投入先としてHostGroupを指定した場合、workerがジョブの投入時にGroupの中の空いているHostに投入する。

仕様

  • Runの作成時にHostだけではなくHostGroupに投入先として指定できるようにする
    • HostGroupに投入する際にはHostParameterはすべてデフォルトの値で投入される

利用法

  1. 対象となるHostをすべてOACISに登録する
  2. HostGroupを作成する
  3. 以後、Runを作る際に投入先としてHostGroupを指定する
    • Runを作るときに "Submitted to" のフィールドでHostGroupを指定できる
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment