ArcGIS Enterprise
Automating Installation and
ConfigurationCherry Lin
Bill Major
Agenda
• What is Chef?
• Getting Started with Esri Cookbooks
• Single machine deployment
• Esri ArcGIS Chef Automation At 10.5
• Chef Server and Advanced Options
IoT
Sensor Networks
Smart MappingAdvanced Analytics
Smart Devices
Real-Time
Web ServicesTrusted Collaboration
Distributed Computing
Automating & Scripting
….the ArcGIS platform
SoftwareInstallation
Software Configuration
SoftwareOperation (HA,
DR)
OrgAdministration
ContentManagement
Analytics
Deploy Operate
SoftwareInstallation
Software Configuration
SoftwareOperation (HA,
DR)
GIS Infrastructure Automation
Chef, Cloud Formation, Cloud Builder, and a new Enterprise Builder (10.5.1)
GIS Workflow Automation
Python API for ArcGISArcPy, R-bridge for ArcGIS
OrgAdministration
ContentManagement
Analytics
RecoveryProduction
Dev QA
Why ArcGIS Enterprise Automation
• Business Critical Deployments
- Reliable and testable deployments and upgrades (DEV TEST PROD)
- Faster Disaster Recovery
- Moving between data centers
• Cloud Environments
- Quick configuration with Disposable machines
- Rapid Auto-Scaling
- Simplifies moving VMs between data centers
• Everybody
- Automate and become more efficient at administration
- Focus more on GIS tasks
- Prepares for larger scale and clouds
- Ready-to-use tools with minimum requirements to start
ArcGIS
ArcGIS
ArcGIS
Getting Started
What is Chef
• Chef
- One of the most popular IT automation platforms
- Supported on Windows and Linux
- Provide tools to take on configuration files
• Chef Components
- Cookbook
- Attribute
- Chef-Server vs. Client
• How it works
- Install ready-to-use cookbooks and define the configuration
- Run chef with the configuration file
• Recipe
- Attributes
- Action
• Property Settings: Attibutes
• Run-list
ArcGIS Cookbook Recipe
Define You Own PropertiesDefine You Own
Define You Own Run List
Steps to get started with a single machine deployment with Chef
• Check out Esri Github Chef Cookbooks website – v.3.0 just released
- https://github.com/Esri/arcgis-cookbook/wiki/Get-Started-With-ArcGIS-Cookbook
• Install the Chef Client (v. 12.5.1 or later)
• Copy ArcGIS Cookbooks to server and unzip to c:\chef
- https://github.com/Esri/arcgis-cookbook/releases/tag/v3.0.0
• Stage Setups and License Files
• Edit JSON configuration file to meet your own needs
- c:\chef\roles\webgis-windows.json
• Run chef-solo from command prompt ‘As Administrator’
- chef-solo -j C:\chef\roles\webgis-windows.json
Easy Cooking Demo
Esri ArcGIS Chef Automation At 10.5
Supported ArcGIS Software
• Portal for ArcGIS
• ArcGIS GIS Server as Hosting Server
• ArcGIS Data Store
- General, spatialtemporal
• ArcGIS Web Adaptor
• ArcGIS GIS Server, Image Server, GeoAnalytics Server, GeoEvent Server
• And other Esri Software:
- ArcGIS Pro
- ArcGIS Insight
- ArcGIS Desktop
- ArcGIS License Manager
Support ArcGIS Enterprise Deployment Patterns
Upgrade ArcGIS Enterprise (WebGIS) to 10.4.1 or 10.5
• New Version:
- 10.4.1
- 10.5
• New Setup
• New License File
• Correct Attributes
- Easier if you used Chef to deploy before
Better Linux Support
• Linux OS:
- RHEL 6.5
- RHEL 7
- Ubuntu 14.04 LTS
- Ubuntu 16.04 LTS
• Well defined workflows
- Regular user, NOT super user
- Super user
- Configure the WA for the defined web server
- Focus on ArcGIS software
Other GIS functions
• Server: Publish services using Admin API……
"services" : [
{
"folder" : "",
"name" : "map_bv",
"type" : "MapServer",
"definition_file" : "C:\\ArcGIS\\SDs\\map_bv.sd",
"properties" : {
"maxInstancesPerNode" : 4
}
"run_list":[
……
"recipe[arcgis-server::services]"
]
• Setup repository
"version":"10.5",
"repository":{
"archives":"\\\\esri.com\\Software\\Esri\\Released"
},
Chef Server and Advanced Options
Distributed Deployment
• Login to every machine and run Chef-Client
• Chef-Server
- Central repository
- Assign roles to every machine
- Run the recipes/updates accordingly
- Setting up:
- By yourself or
- Hosted solution
Distributed Deployment using Chef Server
Demo: Using Chef Server to Deploy
10.5 ArcGIS Enterprise
Deployment Architecture
fs.devsummit.comga.devsummit.com
base.devsummit.com
bds.devsummit.com
portal.webgistesting.net
Chef Deployment Options
Combine with other
community cookbooks
Pick the recipes you need
Take ready to use ArcGIS cookbooks
Write new recipes
Write your own cookbook
Disconnected Environment Considerations
• Make sure you have proper Esri license files staged for use
• ArcGIS installations in a common location for access
• Setting up your own Chef Server for distributed deployments
• Having Chef Client installation staged for installation
Key Point about ArcGIS Enterprise Chef Automation
• Automate Your Manual Work
• Work with other automation tools
• Doesn’t require programming skills
• Need up front investment
- Design
- Configuration
- Testing
• Repeatable
- Success in production environment
- Less downtime in production
- Faster recovery