intersystems iris cloud manager r―compute nodes, storage, network, infrastructure services...
TRANSCRIPT
June 22, 2018
InterSystems IRISCloud Manager
2 | © InterSystems Corporation. All rights reserved. | Confidential
Agenda
Docker
InterSystems Cloud Manager
InterSystems IRIS Data Platform
4 | © InterSystems Corporation. All rights reserved. | Confidential
• DevOps
Flickr 10
•2017 IT 75% (Gartner)
(IDC 2017)
DevOps≠Full Stack Engineer
5 | © InterSystems Corporation. All rights reserved. | Confidential
https://www.gartner.com/doc/3170720?srcId=1-7840328962&stl=0
SoR SoE
6 | © InterSystems Corporation. All rights reserved. | Confidential
…
:
” ”
• ” ”•
:
” ”
•••
7 | © InterSystems Corporation. All rights reserved. | Confidential
• OS ( , )
•••• ( )
•
―
•••
8 | © InterSystems Corporation. All rights reserved. | Confidential
( )• e.g. Atelier,
Studio, etc
e.g. Git, VSS,Perforce, SVN,etc
• e.g. %UnitTest
e.g. %Installer
• e.g. Jenkins
e.g. Docker,ICM
--–••••
9 | © InterSystems Corporation. All rights reserved. | Confidential
: •• ( )•
O/S
https://www.cio.com/article/2924995/software/what-are-containers-and-why-do-you-need-them.html
Linux®
https://www.redhat.com/ja/topics/containers/whats-a-linux-container
10 | © InterSystems Corporation. All rights reserved. | Confidential
Docker(dotCloud 2008 Docker 2013)
- Linux, Mac/OS, Windows(*)
(+ )
Docker ?
11 | © InterSystems Corporation. All rights reserved. | Confidential
12 | © InterSystems Corporation. All rights reserved. | Confidential
12
13 | © InterSystems Corporation. All rights reserved. | Confidential
InterSystems Docker Containers
• IRIS Data Platform
• InterSystems
•
•••••Dockerfilehttp://docs.intersystems.com/iris201811/csp/docbook/DocBook.UI.Page.cls?KEY=AFL_containershttps://community.intersystems.com/post/containerization-cach%C3%A9-lets-add-our-application
• Durable %SYS •
14 | © InterSystems Corporation. All rights reserved. | Confidential
IRIS Data Platform (exe )
%SYS
Linux
/boot /etc /usr /dev /opt /myAppDB
IRIS-Container/usr/irissys/bin/CODEDB/DATADB
/boot /usr/irissys/bin /CODEDB
Linux
/boot /etc /usr /dev /opt /content
NGINX-Container/usr/sbin/usr/share/nginx/html
/boot/usr/sbin
MASTER/IRIS.DATORDER/IRIS.DAT…
index.htmlpage1.html…
NGINXnginxhtml ,js,css
Docker run --volume
15 | © InterSystems Corporation. All rights reserved. | Confidential
o %SYS(MGR)
o IRISo (^Z|z*), iris.cpf
o
o
o
o IRIS
Durable %SYS
16 | © InterSystems Corporation. All rights reserved. | Confidential
Durable %SYS
17 | © InterSystems Corporation. All rights reserved. | Confidential
o Docker Volumeo -v /fastFS:/irissys
o InterSystemso -e ISC_DATA_DIRECTORY=/irissys/conf.d
$ docker run –d
–v /fastFS:/irissys ¥
–e ISC_DATA_DIRECTORY=/irissys/conf.d ¥
-p 51773:51773 ¥
–p 52773:52773 ¥
<container_image>
Durable %SYS Linux
/boot /etc /usr /dev /opt /fastFS/conf.d
MyApp-Container/irissys/conf.d
19 | © InterSystems Corporation. All rights reserved. | Confidential
•Docker
••
Linux
• Red Hat Enterprise Linux, SUSE Enterprise Linux, Ubuntu + CentOS( )• Windows
http://docs.intersystems.com/documentation/ISP/ISP-iris20181/
20 | © InterSystems Corporation. All rights reserved. | Confidential
1. InterSystems Cloud Manager(ICM)
3. InterSystems Cloud Manager
InterSystems Cloud Manager
21 | © InterSystems Corporation. All rights reserved. | Confidential
( )
•― Compute nodes, Storage, Network, Infrastructure services― Terraform
• Docker• InterSystems JSON• Software Defined Infrastructure
••
InterSystems Cloud Manager
22 | © InterSystems Corporation. All rights reserved. | Confidential
•― AWS, Azure, GCP
• ( )― VMware vSphere,
InterSystems Cloud Manager
23 | © InterSystems Corporation. All rights reserved. | Confidential
IRIS • Shard Master Data Server DM• Shard Data Server DS• Shard Query Server QS• Shard Master Application Server AM• Mirroring, WebGateway AR, WG, LB,…• Generic GG
InterSystems Cloud Manager
Shard master
QS QS QS QS QS QS
DS DS DS
DM
AM AM
24 | © InterSystems Corporation. All rights reserved. | Confidential
IRIS Dataplafrom
Weave
User App
ICM
O/S #1#1
IRIS Dataplafrom
O/S #2#1
Weave
Database
journal
Database
journal#2
Weave
#2cpf cpf
#3
#4User App
25 | © InterSystems Corporation. All rights reserved. | Confidential
InterSystems Cloud Manager
••• PoC•
•• REST API( )
26 | © InterSystems Corporation. All rights reserved. | Confidential
defaults.json
26
{"Provider": "AWS","Label": "Sample","Tag": "TEST","OSVolumeSize": "10","DataVolumeSize": "10","SSHPrivateKey": "/Samples/ssh/insecure","SSHUser": "ec2-user","SSHPublicKey": "/Samples/ssh/insecure-ssh2.pub","DockerImage": "intersystems/iris:2018.1.1.643.0","DockerUsername": “xxxxxxx","DockerPassword": “xxxxxxx","TLSKeyDir": "/Samples/tls","Region": "ap-northeast-1","Zone": "ap-northeast-1b","AMI": "ami-d1315fb1","InstanceType": "m4.large","Credentials": "/Samples/AWS/sample.credentials","ISCPassword": “xxxxxx","Namespace": "BIGDB","Mirror": "false"
}
[{"Role": "DM","Count": "1","ISCLicense": "/Samples/license/ubuntu/ShardMaster/iris.key"
},{"Role": "DS","Count": "2","StartCount": "2"
}]
definitions.json
27 | © InterSystems Corporation. All rights reserved. | Confidential
InterSystems Cloud Manager
$ icm provision
$ icm run/start/stop/rm/upgrade
$ icm run ––container custom_app …
$ icm ssh/exec/ssh/sql/session/docker
$ icm unprovision
27
28 | © InterSystems Corporation. All rights reserved. | Confidential
1 2 3 4 5 6 7
GitHub Jenkins
SlackS
30 | © InterSystems Corporation. All rights reserved. | Confidential
•• JSON• ICM Docker•
― Software Defined Infrastructure (SDI) / Infrastructure as Code (IaC)―― Docker
• DevOps, System of Engagement••
―
InterSystems Cloud Manager
31 | © InterSystems Corporation. All rights reserved. | Confidential
Docker
• ICM
• docker• Rancher,Weave Scope
•
32 | © InterSystems Corporation. All rights reserved. | Confidential
•• DevOps, System of Engagement• IRIS Data Platform Docker• ICM•
Q&AInterSystems IRIS: Cloud Manager
34 | © InterSystems Corporation. All rights reserved. | Confidential
InterSystems IRIS Experience ( )https://www.intersystems.com/learn-play/
( )https://learning.intersystems.com
FAQhttp://faq.intersystem.co.jp
Developer Community( )https://community.intersystems.com
Googlehttp://bit.ly/2wh28v2
IRIShttp://www.intersystems.com/jp/library/documentation/
http://www.intersystems.com/jp/services-support/learning-services/
Thank you.