power of one automation through web services
TRANSCRIPT
Automic World 2015November 2015
Automation through Web Services
2 Property of Automic Software. All rights reserved
The Challenge of Keeping up with Change..
Distributed World Mutualized World
Orchestration Strategies:Command Line Interface
APIsBinary Calls
OS Commands & Scripts
Orchestration Strategies:Web Services
3 Property of Automic Software. All rights reserved
Using Web Services will become necessary
If…
You are leveraging any SaaS based solution today or planning it
You are adopting big data solutions (Cloudera, Hortonworks)
You are using Web Services in your internal development You are using any Software as a Service solution (Salesforce, Jira)
You are using Infrastructure as a Services (ex: Amazon EC2)
You are using Platform as a Service (ex: OpenShift, Cloud Foundry)
You are pulling Data from Partners, Entities, Customers etc.
4 Property of Automic Software. All rights reserved
What makes the Web Service Agent interesting
No Scripting Necessary
Support for Rest and SOAP Ability to parse and extract values from Responses Define Custom Variables Get Request and Response as Reports
5 Property of Automic Software. All rights reserved
Demo: Request Management & Ticketing
Open JIRA Ticket upon failure in Workflow Close JIRA Ticket from Job Recovery Add Comments to JIRA Ticket
6 Property of Automic Software. All rights reserved
Demo: Provisioning Servers
Dynamically Provision New Servers via Elastic Cloud Computing (EC2) Easily Identify Instances Automatically Run Maintenance and clean ups Dynamically Deprovision Servers
7 Property of Automic Software. All rights reserved
Web Service Connection – Object Definition
Handles Proxies Handles Authentication Contains the Endpoint (URI / WSDL) Handles Headers and Query Parameters (ex: Version of authentication method)
https://ec2.us-east-1.amazonaws.com/finance/?Version=2013-02-01&Action=DescribeInstances&InstanceId=&instanceid
8 Property of Automic Software. All rights reserved
Web Service - End Point & Curl
9 Property of Automic Software. All rights reserved
Web Service Request –Variable Query Parameters
10 Property of Automic Software. All rights reserved
Web Service Request – URL Query Parameters
11 Property of Automic Software. All rights reserved
Web Service Request – Data
12 Property of Automic Software. All rights reserved
Web Service Response – Parsing XML / JSON Responses
13 Property of Automic Software. All rights reserved
Best Practices
Use a proxy for better control
Install 2 Web Services Agents for High Availability
Put all Generic / Common parameters in Connection Objects Run tests with cURL when starting your implementation
“Variabilize” as much as possible
14 Property of Automic Software. All rights reserved
Q&A
Thank You!