Top Banner
ArcGIS Enterprise Automating Installation and Configuration Cherry Lin Bill Major
29

ArcGIS Enterprise Automating Installation and Configurationproceedings.esri.com/library/userconf/devsummit17/papers/dev_int... · Agenda •What is Chef? •Getting Started with Esri

Jul 28, 2018

Download

Documents

phungthuy
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: ArcGIS Enterprise Automating Installation and Configurationproceedings.esri.com/library/userconf/devsummit17/papers/dev_int... · Agenda •What is Chef? •Getting Started with Esri

ArcGIS Enterprise

Automating Installation and

ConfigurationCherry Lin

Bill Major

Page 2: ArcGIS Enterprise Automating Installation and Configurationproceedings.esri.com/library/userconf/devsummit17/papers/dev_int... · Agenda •What is Chef? •Getting Started with Esri

Agenda

• What is Chef?

• Getting Started with Esri Cookbooks

• Single machine deployment

• Esri ArcGIS Chef Automation At 10.5

• Chef Server and Advanced Options

Page 3: ArcGIS Enterprise Automating Installation and Configurationproceedings.esri.com/library/userconf/devsummit17/papers/dev_int... · Agenda •What is Chef? •Getting Started with Esri

IoT

Sensor Networks

Smart MappingAdvanced Analytics

Smart Devices

Real-Time

Web ServicesTrusted Collaboration

Distributed Computing

Automating & Scripting

….the ArcGIS platform

Page 4: ArcGIS Enterprise Automating Installation and Configurationproceedings.esri.com/library/userconf/devsummit17/papers/dev_int... · Agenda •What is Chef? •Getting Started with Esri

SoftwareInstallation

Software Configuration

SoftwareOperation (HA,

DR)

OrgAdministration

ContentManagement

Analytics

Deploy Operate

Page 5: ArcGIS Enterprise Automating Installation and Configurationproceedings.esri.com/library/userconf/devsummit17/papers/dev_int... · Agenda •What is Chef? •Getting Started with Esri

SoftwareInstallation

Software Configuration

SoftwareOperation (HA,

DR)

GIS Infrastructure Automation

Chef, Cloud Formation, Cloud Builder, and a new Enterprise Builder (10.5.1)

Page 6: ArcGIS Enterprise Automating Installation and Configurationproceedings.esri.com/library/userconf/devsummit17/papers/dev_int... · Agenda •What is Chef? •Getting Started with Esri

GIS Workflow Automation

Python API for ArcGISArcPy, R-bridge for ArcGIS

OrgAdministration

ContentManagement

Analytics

Page 7: ArcGIS Enterprise Automating Installation and Configurationproceedings.esri.com/library/userconf/devsummit17/papers/dev_int... · Agenda •What is Chef? •Getting Started with Esri

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

Page 8: ArcGIS Enterprise Automating Installation and Configurationproceedings.esri.com/library/userconf/devsummit17/papers/dev_int... · Agenda •What is Chef? •Getting Started with Esri

Getting Started

Page 9: ArcGIS Enterprise Automating Installation and Configurationproceedings.esri.com/library/userconf/devsummit17/papers/dev_int... · Agenda •What is Chef? •Getting Started with Esri

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

Page 10: ArcGIS Enterprise Automating Installation and Configurationproceedings.esri.com/library/userconf/devsummit17/papers/dev_int... · Agenda •What is Chef? •Getting Started with Esri

• Recipe

- Attributes

- Action

• Property Settings: Attibutes

• Run-list

ArcGIS Cookbook Recipe

Page 11: ArcGIS Enterprise Automating Installation and Configurationproceedings.esri.com/library/userconf/devsummit17/papers/dev_int... · Agenda •What is Chef? •Getting Started with Esri

Define You Own PropertiesDefine You Own

Page 12: ArcGIS Enterprise Automating Installation and Configurationproceedings.esri.com/library/userconf/devsummit17/papers/dev_int... · Agenda •What is Chef? •Getting Started with Esri

Define You Own Run List

Page 13: ArcGIS Enterprise Automating Installation and Configurationproceedings.esri.com/library/userconf/devsummit17/papers/dev_int... · Agenda •What is Chef? •Getting Started with Esri

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

Page 14: ArcGIS Enterprise Automating Installation and Configurationproceedings.esri.com/library/userconf/devsummit17/papers/dev_int... · Agenda •What is Chef? •Getting Started with Esri

Easy Cooking Demo

Page 15: ArcGIS Enterprise Automating Installation and Configurationproceedings.esri.com/library/userconf/devsummit17/papers/dev_int... · Agenda •What is Chef? •Getting Started with Esri

Esri ArcGIS Chef Automation At 10.5

Page 16: ArcGIS Enterprise Automating Installation and Configurationproceedings.esri.com/library/userconf/devsummit17/papers/dev_int... · Agenda •What is Chef? •Getting Started with Esri

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

Page 17: ArcGIS Enterprise Automating Installation and Configurationproceedings.esri.com/library/userconf/devsummit17/papers/dev_int... · Agenda •What is Chef? •Getting Started with Esri

Support ArcGIS Enterprise Deployment Patterns

Page 18: ArcGIS Enterprise Automating Installation and Configurationproceedings.esri.com/library/userconf/devsummit17/papers/dev_int... · Agenda •What is Chef? •Getting Started with Esri

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

Page 19: ArcGIS Enterprise Automating Installation and Configurationproceedings.esri.com/library/userconf/devsummit17/papers/dev_int... · Agenda •What is Chef? •Getting Started with Esri

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

Page 20: ArcGIS Enterprise Automating Installation and Configurationproceedings.esri.com/library/userconf/devsummit17/papers/dev_int... · Agenda •What is Chef? •Getting Started with Esri

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"

},

Page 21: ArcGIS Enterprise Automating Installation and Configurationproceedings.esri.com/library/userconf/devsummit17/papers/dev_int... · Agenda •What is Chef? •Getting Started with Esri

Chef Server and Advanced Options

Page 22: ArcGIS Enterprise Automating Installation and Configurationproceedings.esri.com/library/userconf/devsummit17/papers/dev_int... · Agenda •What is Chef? •Getting Started with Esri

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

Page 23: ArcGIS Enterprise Automating Installation and Configurationproceedings.esri.com/library/userconf/devsummit17/papers/dev_int... · Agenda •What is Chef? •Getting Started with Esri

Distributed Deployment using Chef Server

Page 24: ArcGIS Enterprise Automating Installation and Configurationproceedings.esri.com/library/userconf/devsummit17/papers/dev_int... · Agenda •What is Chef? •Getting Started with Esri

Demo: Using Chef Server to Deploy

10.5 ArcGIS Enterprise

Page 25: ArcGIS Enterprise Automating Installation and Configurationproceedings.esri.com/library/userconf/devsummit17/papers/dev_int... · Agenda •What is Chef? •Getting Started with Esri

Deployment Architecture

fs.devsummit.comga.devsummit.com

base.devsummit.com

bds.devsummit.com

portal.webgistesting.net

Page 26: ArcGIS Enterprise Automating Installation and Configurationproceedings.esri.com/library/userconf/devsummit17/papers/dev_int... · Agenda •What is Chef? •Getting Started with Esri

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

Page 27: ArcGIS Enterprise Automating Installation and Configurationproceedings.esri.com/library/userconf/devsummit17/papers/dev_int... · Agenda •What is Chef? •Getting Started with Esri

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

Page 28: ArcGIS Enterprise Automating Installation and Configurationproceedings.esri.com/library/userconf/devsummit17/papers/dev_int... · Agenda •What is Chef? •Getting Started with Esri

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

Page 29: ArcGIS Enterprise Automating Installation and Configurationproceedings.esri.com/library/userconf/devsummit17/papers/dev_int... · Agenda •What is Chef? •Getting Started with Esri