intra-mart Accel Platform / ジョブスケジューラ仕様書

«  モニタリング   ::   コンテンツ   ::   サンプル  »

設定

ジョブスケジューラの設定

ジョブスケジューラ
現在の設定ファイルの内容、カスタマイズ可能項目の変更があれば修正する
  • マネージャファクトリクラス

ファクトリの実装クラス名

ジョブスケジューラの実装に適したジョブスケジューラ管理のファクトリクラス名を設定します。

  • ジョブ実行スレッド数
1つのノードでジョブスケジューラが同時に実行できるジョブネットの上限値を設定します。
  • モニタステータス監視間隔(単位:秒)
停止されたジョブネットがステータスを確認する間隔(単位:秒)を設定します。

ファイルの保管場所

/imart/WEB-INF/conf/im-job-scheduler-config.xml

設定例

<?xml version="1.0" encoding="UTF-8"?>
<im-job-scheduler-config xmlns="http://www.intra-mart.jp/job-scheduler/config"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.intra-mart.jp/job-scheduler/config ../schema/im-job-scheduler-config.xsd ">
    <manager-factory-class>jp.co.intra_mart.foundation.job_scheduler.impl.JobSchedulerManagerFactoryImpl</manager-factory-class>
    <job-thread-count>1</job-thread-count>
    <monitor-check-idol>10</monitor-check-idol>
</im-job-scheduler-config>

サービスの設定

ジョブスケジューラを実行するには、 intra-mart Accel Platform のバックエンドサービスの設定を行う必要があります。

ファイルの保管場所

/imart/WEB-INF/conf/service-controller-config/service-controller-config-job_scheduler.xml

設定例

<?xml version="1.0" encoding="UTF-8"?>
<service-controller-config
   xmlns="http://intra-mart.co.jp/system/service/config/service-controller-config"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://intra-mart.co.jp/system/service/config/service-controller-config ../schema/service-controller-config.xsd">
   <service>
      <service-id>server.service.job_scheduler</service-id>
      <service-name>Job Scheduler Service</service-name>
      <service-weight>5</service-weight>
      <multiple>true</multiple>
      <service-class>jp.co.intra_mart.system.job_scheduler.JobSchedulerService</service-class>
   </service>
</service-controller-config>

«  モニタリング   ::   コンテンツ   ::   サンプル  »