• 検索結果がありません。

jobscheduler ja JobSchedulerのご紹介

N/A
N/A
Protected

Academic year: 2018

シェア "jobscheduler ja JobSchedulerのご紹介"

Copied!
42
0
0

読み込み中.... (全文を見る)

全文

(1)

OSS 管理製品

JobScheduler 紹介

Version 1.11 update

2017/3/10

http://www.ossl.co.jp

TWITTER: http://twitter.com/satoruf

LINKEDIN: http://jp.linkedin.com/in/satorufunai/ja

SLIDESHARE: http://www.slideshare.net/sfunai

FACEBOOK: http://www.facebook.com/satoru.funai

(2)

求 自動化 視化

情報量 爆

重要 自動化 視化

2017/3/22 Copyright 2017(C) OSS Laboratories Inc. All Rights Reserved 2

仮想化 論理構成

物理構成 複雑化

ン ン

変更 高 高 度化

動的構成管理 関係 ン

視や変更管理 連携

運用管理 担軽減

自動情報収集 ワ

外部 柔軟 連携

管理内容 視化

活用

(3)

運用管理自動化基 例

運用

視-

- 構成管理-変更管理

作成 害通知

管理

作業依

コ 管理

コ 作成-修

管理

API

結果 録

置場 CMDB

2017/3/22 3

(4)

ワ 管理

資源管理

& -VM-実機- '

OS

初期設定-構成管理

ン構成

コ ン 自動実行

openQRM

CMDBuild

OpenAudit

Kubernetes

GlusterFS

XtreemFS Ceph

Puppet

Ansible

N ag io s Za bb ix

Fabric

運用管理自動化 OSS

JobScheduler

Open Contrail

Etc.

管理

2017/3/22 Copyright 2017(C) OSS Laboratories Inc. All Rights Reserved 4

- 工 程 管 理 - R ed m in e G it/ sv n O TR S

(5)

ン管理

Open Pro ramma le

In rastru ture Environment

運用

設定

構成管理

実行管理

構築情報 変更依

API連携

-コン

SE

状態

vmware

構築/検証

Fabric

物理

Copyright 2017(C) OSS Laboratories Inc. All Rights Reserved 収集

管理

(6)

自動化 鍵:ワ 制御

人間 Enhydra Shark

承認 指示 入力

制御: JobScheduler

制御 記述

2017/3/22 Copyright 2017(C) OSS Laboratories Inc. All Rights Reserved 6

(7)

SOS JobScheduler 特長

GNU Public License V.2

Linux/Windows 機能 無料 使用 &但 Universal Agent 時複数 実行

償 ン 必要'

購入 害対応 -ワ 提供 新機能 早期提

供 (OTRS) JIRA 利用 提供

Java, Perl, JavaScript, VBScript, Powershell, javax.script API 使 記述

外部 API REST 実行制御 実行状況

転送や ン等豊富 機能

実行 冗長化機能 外部認証等 向け大規模

Zabbix/Nagios 実行 視' 連携機能

MySQL PostgreSQL, Oracle, DB2, MS SQL Server, Firebird 対応

豊富 入実績

2017/3/22 7

(8)

管理

実行制御

*nix: Cron

Windows:

● Mainframe: JCL

商用製品

JP1

A-AUTO

Hinemos

千手

Tivoli

Etc.

2017/3/22 Copyright 2017(C) OSS Laboratories Inc. All Rights Reserved 8

(9)

JobScheduler 用途

処理制御

業務

等'

自動

収集 自動対応

運用

自動化

自動 構築

作成 配備

依存

2017/3/22 9

(10)

国内 入 例/

国内製 A

流通 売業向け 各種機器

機器 入先 企業 機器 保守 運用

併せ 提供 い

Nagios 使用

2012 1 開始 9 本稼働

CakePHP

視対象 現在 6,000 超え

視対象

疎通や 生死等

業務運用系 Nagios

店舗 開閉店処理 実施

送信処理 成否

視規模

1 企業 数百店舗&= 必要

2017/3/22 Copyright 2017(C) OSS Laboratories Inc. All Rights Reserved 10

(11)

国内 入 例0

業者& CTC 様'

設定 自動化

設定 視対象 Zabbix -設定 Zabbix 自動化

業者& NHN 様'

設定 作成 ン設定 全自動化

確認 害対応 全自動化

大手製 業&東京日産コン 様経由'

A-AUTO 連携

処理 行う1

実行管理 A-AUTO 管理 呼び出 実行 自動化

大手新聞社& 様経由'

入稿 配送

既存 独自開 制御 JobScheduler 変更

70 180 制御

数秒単 50 起動 制御

大手通信 業者

社内設備 環境 自動化

数百 試験 自動実行

大手通信 業者

携帯 コン 管理

AWS

大手保険会社

CA-Unicenter(Autosys)/..以

約/ヶ 移行完了

2017/3/22 11

(12)

12

海外 入実績

eBank 決済 会社

務 ン

( ) 大手金融

保健福祉 機関

中心 金融 産業 政府 大学

様々 機関 使用 い

大学図書館

2017/3/22

Copyright 2017(C) OSS Laboratories Inc. All Rights Reserved

(13)

JobScheduler 構成

JOC

WEB UI 管理画面

待機中 実行中 完了 状態

一覧 WEB

JobScheduler 独立 稼働

● JobScheduler

制御 管理

機能

RDBMS 使用 履歴 管理機能

JDBC 接 '

● JobScheduler

実行

コン

● JOE (JobScheduler Object Editor)

定義 作成 Java 稼働

ン ン ン

2017/3/22 13

JobScheduler

JobScheduler ン

JobScheduler ン

JobScheduler ン JOE

JOC

RDB JobScheduler

JobScheduler RDB

RDB

ン ssh

管理用 PC

管理

管理対象

WEB

Sftp/ftp

定義

V.1.11 新機能

(14)

JOC

従来 WEB-UI(JOC) 機能 (JID)

包含

JOC JobScheduler Operation Center JobScheduler 付属 管理用 WEB-UI

JID JobScheduler Information Dashboard '複数 JobScheduler 管理

V1.11

WEB

ン& PC 対応'

表示'

実行状況 表示'

JobScheduler 独立 稼働

強化

制御

認証& Apache Shiro or RDB '及び Microsoft Active Directory Open LDAP 認証 対応

査証跡 開始-停 -変更 WEB 操作 操作 記録

操作 理由や時間 操作 追加

機能

各種検索 作成保存 設定

作成 検索 表示画面 Excel 自由 作成

2017/3/22 Copyright 2017(C) OSS Laboratories Inc. All Rights Reserved 14

V.1.11 新機能

(15)

ReportingDB

JOC

2017/3/22 15

JobSchedulerDB

認証

コ ン

ン ン 情報

JSONXML ン

JS JS

XML

ン ン

実行計画 ン ン

scheduler.xml Ini

MySQL/MariaDB/P ostgres/Oracle/SQ

Lserver etc.

xml

REST

http/htt ps

ン ン

JobScheduler

JOC

V.1.11 新機能

xml

OpenLDAP MS ActiveDierctory

RDB

(16)

JOC

2017/3/22 Copyright 2017(C) OSS Laboratories Inc. All Rights Reserved 16

V.1.11 新機能

稼働状態

ン 稼働状態

稼働状態

稼働状態

実行結果

実行計画

(17)

JOC 表示

2017/3/22 17

V.1.11 新機能

表示

実行 表示

実行履歴表示

(18)

JOC :実行計画

2017/3/22 Copyright 2017(C) OSS Laboratories Inc. All Rights Reserved 18

V.1.11 新機能

表示 実行予定表示

表示 ン

現時刻表示

Excel 出力

(19)

JOC 制御

2017/3/22 19

操作単 権限付与

設定

V.1.11 新機能

(20)

JOC :操作

2017/3/22 Copyright 2017(C) OSS Laboratories Inc. All Rights Reserved 20

時刻- -操作

操作コ ン

コ ン 内容

Excel 出力

V.1.11 新機能

(21)

JobScheduler 主要機能

定義

実行&時間指定 /

多重実行 制御

先行 制御

優先度設定

通知

外部 設定

開始 / 終了遅延検知

/

REST 外部 API

使用 内部 API

● Javascript / Perl / Java / Shell Script /

Powershell / VBScript / javax.script

定義

2017/3/22

Copyright 2017(C) OSS Laboratories Inc. All Rights Reserved

21

高度 管理機能

Dev 使い慣 言語 Job 定義

(22)

主要機能概要

2017/3/22 Copyright 2017(C) OSS Laboratories Inc. All Rights Reserved 22

JobScheduler

JobScheduler

JOE

JOC

JobScheduler

JobScheduler

制御 視

定義 視

DB

SSH

実行

送 信

整合性確認 再送

ン等

DMZ

Internet

JobScheduler

Web (REST

Job 外部連携

Job

Job Job

通知

Nagios/Zabbix

荷 散

(23)

V1.10 以降

従来 違い

https://kb.sos-berlin.com/display/PKB/JobScheduler+Universal+Agent+-+Features

Pure Java

コン

設定 変更

Docker

Docker コン 稼働 起動-停

MacOSX/Raspberry Pi

無償 -使用 時複数 実行 出来

SSH

1.日間 申込い 機能 無料

JobScheduler 使用

2017/3/22 23

(24)

ン ン構成 ン 構成

冗長構成 構成

構成例

2017/3/22 Copyright 2017(C) OSS Laboratories Inc. All Rights Reserved 24

JobScheduler

JOC JOE

JobScheduler

RDBMS

JobScheduler

JOC

JOE

JobScheduler

RDBMS

JobScheduler

JOC

JOE

JobScheduler

JobScheduler

JobScheduler

JOC

JOE

JobScheduler

RDBMS

JobScheduler

JOC

管理PC

管理PC 管理PC

./live 共

./live

RDBMS

./live

RDBMS

(25)

冗長構成& Passive Cluster

構成情報& ./config/live

共 必要

行 視

害時

実行状況 引

実行中

影響 け い

Ssh 実行中

25 JobScheduler

JobScheduler Windows/Linux RDBMS

JobScheduler

SSH

SSH

ssh

JobScheduler Windows/Linux

./config/li ve

heartbeat

2017/3/22

JOCWindows/Linux JOC

Windows/Linux

VRRP/Keepalived

害時自動 替

(26)

冗長構成& Active Cluster

構成情報& ./config/live

全 共 必要

荷 散

害時

実行状況 残 引

実行中

影響 け い

Ssh 実行中

JOC 両方 稼働

ン 必要

26 JobScheduler

JobScheduler Windows/Linux RDBMS

JobScheduler

SSH

SSH

ssh

JobScheduler Windows/Linux

./live

heartbeat

2017/3/22 Copyright 2017(C) OSS Laboratories Inc. All Rights Reserved JOC

Windows/Linux JOC

Windows/Linux

荷 散

(27)

ン 構成

Process_class

複数

Process_class

ン 以 方法

荷 散 能

&/'固定

& Fixed Priority Scheduling

最初 指定 稼働

い 常 そ ン

実行

稼働

次 指定 ン

実行

&0' ン ン

& Round-Robin Scheduling

指定

割 振

構成 合わ

せ 能

27 JobScheduler

JobScheduler

Windows/Linux RDBMS

Process_class

JobScheduler

JobScheduler

JobScheduler

JobScheduler

JobScheduler ン Process_class

固定

ン ン

2017/3/22

JOC

Windows/Linux

(28)

構成

複数 構成情報& ./live

集中管理 各ワ

自動 期 行う

各ワ 構成

ン構成 構わ い

各ワ

あ 構わ い

や通信経路 害時

各ワ 影響 く 配信

構成情報 稼働 け

28 JobScheduler

Windows/Linux

RDBMS

JobScheduler

JobScheduler

Windows/Linux

JobScheduler

SSH

SSH

ssh

JobScheduler

Windows/Linux

./live

RDBMS

./live RDBMS

./live

JobScheduler

SSH

2017/3/22 Copyright 2017(C) OSS Laboratories Inc. All Rights Reserved JOC

Windows/Linux

(29)

定義方法

● JOE (Job ObjectEditor) 定義例

XML 定義例

2017/3/22 29

<?xml version="1.0" encoding="ISO-8859-1"?>

<job >

<params />

<script language="shell">

<![CDATA[

#!/bin/sh

echo “$SCHEDULER_JOB_NSME is running”

echo “Current Timestamp `date`”

exit $?

]]>

</script>

</job>

(30)

実行方法

実行

作成-更新 自動的 起動 移動-

-削除-処理対象外 指定

信や 任意 制御

計画実行

休日 特定 休業日 毎週-毎 特定日 柔軟 指定 実行日 休業日や特定

日 場合 実行日時 翌営業日 前 営業日 実行中 指定

実行時間 制限 機能

実行優先 制御 機能

制御 機能

複数 時並行実行 制御 &待合わせ' 機能

実行 再実行 制御 機能等 柔軟 実行

制御機能 備え い

2017/3/22 Copyright 2017(C) OSS Laboratories Inc. All Rights Reserved 30

(31)

内部 API

● JobScheduler 制御 内部 API

外部 API 備え い

内部 API

Job 定義 呼び出 様々 JobScheduler Engine 機能 使

い 動的 や 定義 操作

● Java, JavaScript, Perl, JScript, VBScript, Powershell, javax.script API 用意

内部 API 使 動的 定義 操作

Java 内部 API 使 情報 出力 特定

即時実行 例& script CDATA 内 記述'

// print my hostname

spooler_log.info(‘My hostname is ' + spooler.hostname());

// kick next job

spooler.job(‘path/to/job').start();

2017/3/22 31

(32)

外部 APIREST API

外部 API 用い 定義 動的追加や指定 即時実行 操作 外部

JobScheduler 実施

外部 API REST xml 実行制御 実行状況

例え localhost 4444 JobScheudler 特定

行 記 URL

http://localhost:4444/<start_job job="path/to/job"/>

● JobScheduler JSON 形式

場合 JobScheduler 状態 JSON

面 表示

2017/3/22 Copyright 2017(C) OSS Laboratories Inc. All Rights Reserved 32

(33)

Cron コン

● JobScheduler 既存 cron 変換 方法 用意

※本機能 使用 場合 JobScheduler cron 選択

動的変換

JOC 画面 Stand alone Job sos/cron/scheduler_cron_adopter 実行 自動的

crontab 情報 JobScheduler Job 変換

Crontab 設定追加 必要

# job_name = my_cron_job ##JobScheduler Job

# job_title = test cron job1 ##Job

# job_timeout = 1 ##Job

*/5 * * * * rppt/usr/bin/hoge.sh

変換

# cd /opt/sos-berlin.com/jobscheduler/[user-id]/bin/

Stand alone Job 変換

# ./cronconverter.sh –crontab [crontab_name] –target [out_file]

Job chain 変換

# ./cronconverter.sh –crontab [crontab_name] –target [out_file] –createJobChains true

生成 定義 xml

# cd /opt/sos-berlin.com/jobscheduler/[user-id]/bin/

# java –jar lib/saxon9he.jar –s:”[sos.destination=“out_dir” 変換元 ]” –xsl:”scheduler_data/config/xml2live.xml”

out_dir config/live

2017/3/22 33

(34)

ン ン

● JobScheduler JOC 以外 様々 作成

ン ン 用意 い

● JobScheduler 使用 DB DB 作成

ン 用 DB Excel 任意 SQL 使用

作成

DB JobScheduler 使用 DB

異 異 DBMS 使用 能

2017/3/22 Copyright 2017(C) OSS Laboratories Inc. All Rights Reserved 34

Reporting DB JobScheduler

Windows/Linux

JOC

Windows/Linux

JobScheduler

DB ./live

定義

ン ン

作成

ン 用実

行履歴 作成

定期的

ン 集計 実

(35)

JobScheduler

API 使 必要 機能 連携

2017/3/22 35

JobScheduler

管理

Getinfo

自動情報 得

Zabbix/Nagios

HyClops

JobMonitoring

vmware

&物理 仮想 ン'

連携 構成情報

連携

管理

JOC

JADE

転送

HyClops

For Zabbix

構成管理

ン管理

(36)

HyClops JobMonitoring 概要

2017/3/22 Copyright 2017(C) OSS Laboratories Inc. All Rights Reserved 36

Zabbix 自動

● JobScheduler 自動的 Zabbix

視 設定

Zabbix

定義 指定 &開始遅延 実行失敗等'

Zabbix 実行時間

実行時間履歴 傾向 表示

Zabbix 視閾値 自動変更

特定 実行 cpu load memory free

値 変更 実行完了後元 戻

(37)

Zabbix 画面

2017/3/22 37

実行時間

推移

(38)

無償

GPL 提供

応答

SOS 情報提供

契約者様

間対応件数無制限

償版 提供

入方法 質問

新機能 早期提供

害調査

生現象 確認 過去 調査

-ワ 提供

2017/3/22 Copyright 2017(C) OSS Laboratories Inc. All Rights Reserved 38

(39)

契約者様

提供

拡張

標準 設計-作成支援 性能 QA 及び

提供

客様環境 ssh/vpn 調査

SOS 直接対応 能&英語

管理製品 移行支援

客様 既存 定義 提供い 調査- 見積

JobScheduler 初級 &2時間 x 0回'

概要 構成 操作方法 作成方法

詳細 問い合わせく

問い合わせ

http://www.ossl.co.jp/jpn/node_184

2017/3/22 39

(40)

日本 JobScheduler

2013/4

● JobScheduler いけ いう人

SOS 掲載

“Company News : Japanese language JobScheduler user group on Facebook”

http://www.sos-berlin.com/modules/news/article.php?storyid=42

会則-会費あ

会員資格あ Google Groups 参加

https://groups.google.com/forum/?fromgroups#!forum/jobscheduler-ja

● JobScheduler 使う 疑問や

勉強会 言う

2017/3/22

Copyright 2017(C) OSS Laboratories Inc. All Rights Reserved

40

(41)

活動内容

運営

https://sites.google.com/site/jobschedulerja/home

● Wiki, tips, 掲載

Facebook

http://ja-jp.facebook.com/pages/Jobscheduler-Japan-

/594469610565511

各種告知

いい 願い !!

普及活動

定期勉強会

OSC

2017/3/22

Copyright 2017(C) OSS Laboratories Inc. All Rights Reserved

41

(42)

各種情報 ン

日本語紹介資料

http://www.ossl.co.jp/jpn/Products/infrastructure/JobScheduler

&英語'

https://kb.sos-berlin.com/display/PKB/Product+Knowledge+Base+Home

JIRA &英語'

https://change.sos-berlin.com/secure/Dashboard.jspa

User Forum &英語'

http://sourceforge.net/projects/jobscheduler/forums/forum/486122

SOS http://www.sos-berlin.com

2017/3/22 Copyright 2016(C) OSS Laboratories Inc. All Rights Reserved 42

参照

関連したドキュメント

We have seen that under rather natural source condi- tions error estimates in Bregman distances can be extended from the well-known quadratic fitting (Gaussian noise) case to

Mainly, by using the extrapolation method, families of estimates can be derived which are valid for any nonsingular matrix and thus can be used for nonsymmetric problems. In

M AASS , A generalized conditional gradient method for nonlinear operator equations with sparsity constraints, Inverse Problems, 23 (2007), pp.. M AASS , A generalized

In summary, based on the performance of the APBBi methods and Lin’s method on the four types of randomly generated NMF problems using the aforementioned stopping criteria, we

In this paper, we extend the results of [14, 20] to general minimization-based noise level- free parameter choice rules and general spectral filter-based regularization operators..

As an approximation of a fourth order differential operator, the condition number of the discrete problem grows at the rate of h −4 ; cf. Thus a good preconditioner is essential

In this paper we develop and analyze new local convex ap- proximation methods with explicit solutions of non-linear problems for unconstrained op- timization for large-scale systems

(i) the original formulas in terms of infinite products involving reflections of the mapping parameters as first derived by [20] for the annulus, [21] for the unbounded case, and