Ansible And CloudForms Hybrid Cloud Management With - Microsoft

Transcription

Hybrid cloud management withAnsible and CloudFormsSubheading goes herePresenterPresenter’s titleDate

MOISES RIVERAMoises has been in Red Hat for more than 6years and he is still as felt in love as thefirst day.Works as a Solutions Architect in differentverticals and his expertise is related withinfrastructure, storage and cloud

VICTOR ESTIVALVictor joined Red Hat back in 2015 as aCloudForms Specialist Solution Architectfor EMEA and since 2017 work for the BUVictor used to work with AIX for a long timeuntil he discovered THE CLOUD in 2010.

MANAGEMENT & AUTOMATIONreducing complexity of the hybrid cloudHYBRID CLOUD MANAGEMENTAND AUTOMATIONCLOUD-NATIVEAPP PLATFORMSHYBRID CLOUDINFRASTRUCTURELINUX OS& CONTAINERS

AUTOMATION IS CRITICAL86%79%Automation is either missioncritical or very important to theirfuture Cloud strategyOf IT organizations will need todeploy new management andautomation software betweennow and 2020Source: IDC Infobrief sponsored by Red Hat, Automation, DevOps and the Demands of a Multicloud World, March 2018N 1171 Worldwide It Operations Decision Makers

CLOUDFORMS DELIVERS SERVICES ACROSS HYBRID ENVIRONMENTSSERVICEAUTOMATIONStreamline complexservicedelivery processes,saving time and money.OPERATIONALVISIBILITYComplete lifecycle andoperationalmanagement that allowsIT to remain in control.POLICY &COMPLIANCEDraws on continuousmonitoring and deepinsights to raise alerts orremediate issues.UNIFIED HYBRIDMANAGEMENTDeploy acrossvirtualization, privatecloud, public cloud andcontainer-basedenvironments.

HYBRID CLOUD NCECloudFormsPUBLIC CLOUDSSelf ServiceProvisioning,Service Catalog,Ops ConsoleDiscovery,Monitoring ntoryRHOSPHYBRID INFRASTRUCTUREON-PREMISE/PRIVATE CLOUD

AUTOMATE EVERYTHING

RED HAT ANSIBLETHE MOST POPULAR OPEN SOURCE AUTOMATION PLATFORMGoal:Unify provisioning, configuration, and application deploymentResult: AnsibleA python-based command line engine that interprets and executesYAML-based “Playbooks” that contain one or more “plays” or tasks.

istaRHVPaloAltoCiscoOpenStackF5CumulusVIRT dScaleRackspace

THE UNIVERSAL LANGUAGEBUSINESSDEVNETWORKIT OPERATIONS

DAY 1 DEPLOYMENT DEMO

ENVIRONMENTRHV HOST1RHVMCloudFormsituserRHV HOST X

TASKS Task #1. Deploy VMs. CF will deploy abundle made of: 1 LB on RHV 1 Web Server on RHV 1 Web Server on OSP

DAY 2 OPERATIONS DEMO

ANSIBLE TOWERTOWER EMPOWERS TEAMS TO AUTOMATECONTROLKNOWLEDGEDELEGATIONScheduled andcentralized jobsVisibility and complianceRole-based accessand self-serviceSIMPLEPOWERFULAGENTLESSEveryone speaks thesame languageDesigned formulti-tier deploymentsPredictable, reliable,and secureAT ANSIBLE’S CORE IS AN OPEN-SOURCE AUTOMATION ENGINE

ENVIRONMENTGitHubConfig & towerLoad Balancerapache1nagioshaproxyHTTP ServerrepoitrootHTTP Serverapache2

DUTIESIT OperatorsIT Admin OperatorsHTTP GET CONFIGENVIRONMENT DEPLOYHTTP STARTHTTP MODIFY CONFIGHTTP STOPHTTP RESTART

TASKS Task #1. Environment Deploy. Deploy HTTP Servers and HAproxy server. Task #2. Modify Configuration. Modify HTTP configuration. Task #3. Integration with third party tools. Run a Template using Ansible Tower API.

TASK #1 - Environment DeployGitHubConfig & AnsiblePlaybookRepositorytowerLoad BalancerHTTP Serverapache1Minimal RHEL.yum repo: repoitoperatoritadminoperatornagioshaproxyHTTP ServerMinimal RHEL.yum repo: reporepoitrootapache2Minimal RHEL.yum repo: repo

TASK #1 - Environment Deploy - AfterGitHubConfig & AnsiblePlaybookRepositorytowerLoad BalancerHTTP Serverapache1Minimal RHEL.yum repo: repoHTTP listen :80itoperatoritadminoperatornagioshaproxyHTTP ServerMinimal RHEL.yum repo: repoHAproxy listen :80repoitrootMonitoring HTTPServers(apache[1.2])apache2Minimal RHEL.yum repo: repoHTTP listen :80

TASK #2 - Modify ConfigurationGitHubConfig & AnsiblePlaybookRepositorytowerLoad BalancerHTTP Serverapache1Minimal RHEL.yum repo: repoHTTP listen :80itoperatoritadminoperatornagioshaproxyHTTP ServerMinimal RHEL.yum repo: repoHAproxy listen :80repoitrootMonitoring HTTPServers(apache[1.2])apache2Minimal RHEL.yum repo: repoHTTP listen :80

TASK #2 - Modify Configuration - AfterGitHubConfig & AnsiblePlaybookRepositorytowerLoad BalancerHTTP Serverapache1Minimal RHEL.yum repo: repoHTTP listen :xxxxitoperatoritadminoperatornagioshaproxyHTTP ServerMinimal RHEL.yum repo: repoHAproxy listen :80repoitrootMonitoring HTTPServers(apache[1.2])apache2Minimal RHEL.yum repo: repoHTTP listen :xxxx

TASK #3 - Integration with Nagiospkill -9 httpdGitHubAnsible PlaybookRepositorytowerLoad BalancerHTTP Serverapache1Minimal RHEL.yum repo: repoHTTP listen :xxxxitoperatoritadminoperatornagioshaproxyHTTP ServerMinimal RHEL.yum repo: repoHAproxy listen :80repoitrootMonitoring HTTPServers(apache[1.2])apache2Minimal RHEL.yum repo: repoHTTP listen :xxxx

TASK #3 - Integration with Nagios - AfterGitHubAnsible PlaybookRepositorytowerLoad BalancerHTTP Serverapache1Minimal RHEL.yum repo: repoHTTP listen :xxxxitoperatoritadminoperatornagioshaproxyHTTP ServerMinimal RHEL.yum repo: repoHAproxy listen :80repoitrootMonitoring HTTPServers(apache[1.2])apache2Minimal RHEL.yum repo: repoHTTP listen :xxxx

BONUS TRACK - SSH interactiveconnections (ON/OFF)GitHubAnsible PlaybookRepositorytowerLoad BalancerusBonkTracHTTP Serverapache1Minimal RHEL.yum repo: repoHTTP listen :xxxxSSH interactive: ONitoperatoritadminoperatornagioshaproxyMinimal RHEL.yum repo: repoHAproxy listen :80SSH interactive: ONrepoitrootMonitoring HTTPServers(apache[1.2])HTTP Serverapache2Minimal RHEL.yum repo: repoHTTP listen :xxxxSSH interactive: ON

BONUS TRACK - SSH interactiveconnections (ON/OFF) - AfterGitHubAnsible PlaybookRepositorytowerLoad BalancerusBonkTracHTTP Serverapache1Minimal RHEL.yum repo: repoHTTP listen :xxxxSSH interactive: OFFitoperatoritadminoperatornagioshaproxyMinimal RHEL.yum repo: repoHAproxy listen :80SSH interactive: OFFrepoitrootMonitoring HTTPServers(apache[1.2])HTTP Serverapache2Minimal RHEL.yum repo: repoHTTP listen :xxxxSSH interactive: OFF

A challenge for you.Why don’t you try it at home?https://github.com/MoyRivera/dcFailover

AUTOMATION & MANAGEMENTCome see us in the Red Hat booth in the Ecosystem Expoplus‘Management - What’s New’New products under development

THANK YOUplus.google.com/ eos

INSERT DIVIDER COPY

ANSIBLE TOWER - hosts: “{{ host or group }}”remote user: rootvars files:- vars/httpd vars.ynmltasks:- name: Download and install httpd pkgyum: name {{ item }} state presentwith items:- apr- apr-util- httpd- name: Applying configurationtemplate:src:templates/{{ file }}dest: {{ config file path }}- name: Activating service on bootservice:name: httpdstate: startedenabled: yes uPLAYBOOKsapache-mng.ymlStart, Stop, Reload, RestartHTTP servicesite deploy.ymlDeploy a site and the test page tocheck the HTTP serviceapply conf.ymlApply the configurationapache deploy.ymlInstall and activate HTTP serviceWORKFLOWsapache deploy.ymlInstall and activate HTTP serviceapply conf.ymlApply the configurationsite deploy.ymlDeploy a site and the test page tocheck the HTTP serviceapache-mng.ymlStart, Stop, Reload, RestartHTTP servicenagios-deploy.ymlnagios-deploy.ymlAdd the server(s) to RH InsightsAdd the server(s) to RH Insights

A10 Cumulus Big Switch Cisco Cumulus Dell F5 Juniper Palo Alto OpenSwitch HipChat IRC Email RocketChat Sendgrid Slack Twilio 10. THE UNIVERSAL LANGUAGE DEV NETWORK IT OPERATIONS . Load Balancer haproxy HTTP Server apache1 HTTP Server apache2 tower nagios repo Minimal RHEL. yum repo: repo HAproxy listen :80 SSH interactive: OFF Minimal RHEL.