2. 2
Who is Peter Ngai
July 28, 2017
Software Architect
https://www.linkedin.com/in/peterngai/
peter.ngai@ge.com
3. 3
Agenda
• Asset Performance Management (APM)
• APM Business Benefits
• Meridium APM
• APM Solutions
• On-Premise APM – Logical Architecture
• Problem Statement
• How to package software for the Edge?
• On-Premise APM – Dev to Deploy Ecosystem
• Approach to Dockerization
• On-Premise APM – Edge Execution Model
• Dockerfile
• Intercept Docker Container
• Demo
July 28, 2017
What we do
Our problem set
Our solution
6. 6July 28, 2017
APM Business Benefits
Proven end-to-end value
2-6%
Increased
Availability
5-10%
Inventory
Cost
Reduction
10-
40%
Reduction
in Reactive
Maintenanc
e
3-40%
EH&S
Incident
Reduction
5-25%
Gain in
Employee
Productivity
5-25%
Reduction in
IT Total
Cost of
Ownership
11. A: Containerize your software Easy to deploy
Q: How to package software for the Edge?
12. 12
Windows Server 2016
Windows Docker
Docker images
redis:
wsc
microsoft/sql-server-
windows:latest
meridium:0.
1
Ubuntu Server LTS
Management
Console
GE Docker
registrymeridium:0.1
meridium:0.2Windows 10 pro
(engineer)
VS2012
meridium:0.2.
5
Windows Docker
meridium:0.2.
5
Windows Server 2016
(qa)
… …
Build
JenkinsGithub
meridium:0.2.5
Development Quality Assurance Production
Deployment / Management
On-Premise APM – Dev to Deploy Ecosystem
13. 13
Approach to Dockerization
• Expandability
• Utilize off the shelf docker images
• Maintainability
• Externalize customer data from docker images – use docker volumes
• Integrate-ability
• Hook into current software deployment systems
July 28, 2017
14. 14
On-Premise APM – Edge Execution Model
July 28, 2017
GE
APM
System
Legend
Asset Performance Management (Edge) – Ubuntu LTS
Windows Server 2016 VM
Win App A
DB
Windows Docker
Docker
Redis
DockerVolumes
Docker Host
Volume
[Base - 15.28GB]
Meridium
app
SQL
Server
Meridium Docker
Network [192.168.1.0/24]
[192.168.1.7:80:80]
[192.168.1.6:1433:1433][X: drive]
Custome
r data
[:6379:6379]
[10.0.0.5]
Docker
AppNDocker
AppNDocker
AppX
Win App B
DB
Win App C
[10.0.0.4]
Windows Applications (co-existing)
Win App D
Customer
Predix
MicroSvcPredix
MicroSvc
Docker App
Predix
MicroSvcPredix
MicroSvc
Docker App
Predix
MicroSvcPredix
MicroSvc
Docker App
*nix App A
DB
Linux Applications (co-existing)
*nix App B
DB
*nix App C
*nix App D
Docker
AppNDocker
AppNDocker
AppY
Docker Images
@ Edge – Machine & Equipment Health
Asset Modeling utilizing BitStew technologies
- mapping in Asset data, Historian tags, time series data
- heuristics engine to determine asset model
- test and tweak asset model
Meridium on-prem technologies
- using APM Connect to connect to on-prem systems
- can perform:
- data management
- condition monitoring
- data analysis
- recommendation mgmt
@ Cloud is composed of 2 clouds deployed on AWS:
- Predix APM
- APM Now
- UI is single pane of glass which uses AppHub to stitch together the presentation
Sizing:
Windows Server 2016 VM:
Base = 15.28GB
Docker = .2GB = total: 15.3GB
Meridium-app docker image = 14.8GB
HostOS:
Attempting to host sql-server-linux image – host volumes nor data volumes working properly to write data. Reading data is fine.
=> need to revert to hosting SQL Server docker image in Windows
=> have found that using host volumes across shared folders does not work – must host data (db files) within Windows Server
Could not host c:\ProgramData\Meridium through shared folders – had to be a local directory. must host data (config files) within Windows Server
SQL Server docker image = 16.7GB, size: 46.8GB total