[CentOS6][SOS JobScheduler] アクセス制限


Create: 2013/04/09
LastUpdate: 2013/04/09
[ メニューに戻る ]

インストール時に設定したManagerサーバのJobScheduleEngineへのアクセス制限を変更したい場合は、以下の設定ファイルを変更します。
  • /home/jobs/sos-berlin.com/jobscheduler/scheduler/config/scheduler.xml
JobSchedulerのアクセス制限を定義している場所は以下のとおり。
このアクセス制限は、JOCへのアクセスにも影響します。
    <security ignore_unknown_hosts = "yes">
      <allowed_host host = "localhost" level = "all"/>
      <allowed_host host = "0.0.0.0" level = "all"/>
    </security>
これは、私の環境の初期値です。アクセス制限なしで誰でも全機能を利用できます。
<allowed_host> タグでアクセスを許可するマシンを定義します。
host にはIPアドレス(またはホスト名)、level には、権限レベルを設定します。
host に "0.0.0.0" を設定すると、制限なしで全てのマシンにアクセスを許可します。
level に指定できる値は以下のとおり。(ドキュメントから引用)
  • level="none"
    The computer has no access.
  • level="signal"
    The computer may carry out signalizing commands.
  • level="info"
    The computer may carry out commands which convey information, but which do not change the Job Scheduler's state.
  • level="no_add"
    The computer has full access, with the exception of <add_jobs>, <job> and <add_order>.
  • level="all"
    The computer has full access. 
"all" は全機能を利用できます。
"info" は、参照系の機能しか利用できないので、JOCでジョブの結果だけ見せたい端末に設定するといいかもしれません。
なお、設定変更を有効にするには、JobScheduler の再起動が必要です。