Octavia Hands-On Lab Adam Harwell Carlos Garza Franklin Naval

Slides:



Advertisements
Similar presentations
Using OpenStack With OpenDaylight
Advertisements

Presented by W1BAW Bruce Wattendorf. What is a Raspberry PI A $35 computer with out a monitor, keyboard, mouse but they all can be added.
FILEMAKER SERVER SOFTWARE & REMOTE ADMINISTRATION
FIRST SESSION - XAMPP Jeongmin Lee.  Jeongmin Lee  CS  PHD  Machine Learning, AI  Web System Development.
beas WEB App Installation
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
© 2011 VMware Inc. All rights reserved High Availability Module 7.
DIMES Planner The DIMES Project Tel Aviv University October-2010.
ManageEngine TM Applications Manager 8 Monitoring Custom Applications.
Senior Design Lab Policies Presented by: Trey Murdoch CSC IT Staff.
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
UPLOADING YOUR SERVER CODE TO YOUR VIRTUAL MACHINE.
SETUP AND CONFIGURATIONS WEBLOGIC SERVER. 1.Weblogic Installation 2.Creating domain through configuration wizard 3.Creating domain using existing template.
Confidential property of Belkin International. Unlawful to copy or reproduce in any manner without the express written consent of Belkin International.
Introducing VMware vSphere 5.0
© 2010 VMware Inc. All rights reserved VMware ESX and ESXi Module 3.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
APACHE SERVER By Innovationframes.com »
Remote Accessing Your Home Computer Using VNC and a Dynamic DNS Name.
Additional SugarCRM details for complete, functional, and portable deployment.
Microsoft Windows 2003 Server. Client/Server Environment Many client computers connect to a server.
Port Knocking Software Project Presentation Paper Study – Part 1 Group member: Liew Jiun Hau ( ) Lee Shirly ( ) Ong Ivy ( )
Remote Agent setting 721 to to to to to to or 11 are recommended 743 Network setting IP address Subnet.
One to One instructions Installing and configuring samba on Ubuntu Linux to enable Linux to share files and documents with Windows XP.
Installing and Using Relay Recorder. System Requirements for Windows Microsoft Windows 7 [32-bit or 64-bit] or Windows 8 Internal or external microphone.
Monitoring Scale-Out with the MySQL Enterprise Monitor Andy Bang Lead Software Engineer MySQL-Sun, Enterprise Tools Team Wednesday, April 16, :15.
Eucalyptus Virtual Machines Running Maven, Tomcat, and Mysql.
© 2005,2006 NeoAccel Inc. Partners Presentation SSL VPN-Plus 2.0 Quick Start Guide.
Customized cloud platform for computing on your terms !
CSN08101 Digital Forensics Lecture 1B: Essential Linux and Caine Module Leader: Dr Gordon Russell Lecturers: Robert Ludwiniak.
CIS 90 - Lesson 15 Lesson Module Status Slides – draft Properties - done Flash cards – 1 st Minute quiz – NA Web calendar summary – done Web book pages.
POS/420 Introduction to Unix Philip Robbins – March 12, 2013 (Week 1)
Hands-On Virtual Computing
Lab How to Use WANem Last Update Copyright 2011 Kenneth M. Chipps Ph.D. 1.
Oracle10g RAC Service Architecture Overview of Real Application Cluster Ready Services, Nodeapps, and User Defined Services.
Guidelines for Homework 6. Getting Started Homework 6 requires that you complete Homework 5. –All of HW5 must run on the GridFarm. –HW6 may run elsewhere.
Using Virtualization in the Classroom. Using Virtualization in the Classroom Session Objectives Define virtualization Compare major virtualization programs.
Network Management Tool Amy Auburger. 2 Product Overview Made by Ipswitch Affordable alternative to expensive & complicated Network Management Systems.
Tivoli Storage Manager for Virtual Environments TDP For Exchange/FCM This environment is used to demo TSM for VE integration with Exchange.
Chapter 1: The Internet and the WWW CIS 275—Web Application Development for Business I.
| nectar.org.au NECTAR TRAINING Module 10 Beyond the Dashboard.
Client – Server Application Can you create a client server application: The server will be running as a service: does not have a GUI The server will run.
Integrating and Troubleshooting Citrix Access Gateway.
Sponsored by the National Science Foundation 1 ICDCS13: July 8, 2013 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do the.
General rules 1. Rule: 2. Rule: 3. Rule: 10. Rule: Ask questions ……………………. 11. Rule: I do not know your skill. If I tell you things you know, please stop.
Networks Part 3: Packet Paths + Wireshark NYU-Poly: HSWP Instructor: Mandy Galante.
EXPOSING OVS STATISTICS FOR Q UANTUM USERS Tomer Shani Advanced Topics in Storage Systems Spring 2013.
Configuring and Troubleshooting Identity and Access Solutions with Windows Server® 2008 Active Directory®
MySQL Getting Started BCIS 3680 Enterprise Programming.
Microsoft Confidential Automation Query, Manage and Configure Windows Azure resources (VMs, Cloud Services, Websites, Storage, Queues, Databases etc…)
VIRTUAL HOSTING WITH PureFTPd And MYSQL (Quota And Bandwidth Management) BY Odoh Kenneth Emeka Sun Yu Patrick Appiah.
Senior Design Lab Policies Presented by: Trey Murdoch CSC IT Staff.
Tutorial How-To install Nuxeo 5.3 on Virtual Ubuntu 9.04 Jean Marie PASCAL
Remote Api Tutorial How to call WS-PGRADE workflows from remote clients through the http protocol?
SSH. 2 SSH – Secure Shell SSH is a cryptographic protocol – Implemented in software originally for remote login applications – One most popular software.
WordPress and Etherpad with BlueMix and Docker. Our aim is to run on BlueMix containers (now in beta) these two famous services In the BlueMix dashboard,
1 E-Site - FTP Services Setup / install guide. 2 About FTP services can run on any desired port(s) Runs as a windows service Works for all sites installed.
Andrew Lahiff HEP SYSMAN June 2016 Hiding infrastructure problems from users: load balancers at the RAL Tier-1 1.
Sandbox Setup 2-Node Cluster. ©2015 Couchbase Inc. 2 What are the Pre-requisites for the Setup  Have at least an Intel i3 or AMD equivalent processor.
Understanding and Improving Server Performance
Archiver.ias.ethz.ch easy to use solution for end user to store data on LTS strongbox. requirements: apache web-server to host end user frontend (php,html,jquery)
Troubleshooting Network Communications
Lab 1 introduction, debrief
INSTALLING AND SETTING UP APACHE2 IN A LINUX ENVIRONMENT
CUPS Print Services.
Lab 1: Getting Started.
Port Forwarding ( VirtualBox / VMware Player )
Turn up the Heat with LBaaS v2
Presentation transcript:

Octavia Hands-On Lab Adam Harwell Carlos Garza Franklin Naval German Eichberger Michael Johnson Al Miller Susanne Balle Stephen Balukoff

Are you ready? Grab a USB key or download from http://tinyurl.com/octaviaWorkshop-tar-bz A computer with 8+ GB of RAM VMware Workstation/Fusion - trial versions of both included on the USB drive Windows users need ssh client (putty) or work in the vmware window Copy OctaviaWorkshop from USB drive Unzip with tar –jxvf or 7zip on windows Start VMWare - make sure VT-X and nested Virtualization is enabled VM also at ... johnsom can cover this topic

VMWare Fusion Setup (VT-X Setting) Mac I had to double-click the image in Finder, it didn't want to load from within VMWare's file select, and when I did so, it said "This virtual machine appears to be in use." and I had to click "Take Ownership". It then asked me if I wanted to upgrade the VM, and I said "don't upgrade". --Adam

Agenda Introduction and Architecture Operations Troubleshooting How to contribute Q&A

Introduction and Architecture

Octavia High Level Architecture

Operations

Ground rules Slide: https://goo.gl/O9c5jn To login User: ubuntu Pwd: ubuntu sudo su - stack cd /opt/stack/devstack/ . openrc admin admin script /dev/null ← This will fix the devstack’s screen problem now you are good to go

Create a load balancer The vm contains two web servers on port 80, so as user admin: nova list - take note of the two ips LB: neutron lbaas-loadbalancer-create --name lb1 private-subnet Check if ACTIVE with neutron lbaas-loadbalancer-list - take note of VIP Listener: neutron lbaas-listener-create --loadbalancer lb1 --protocol HTTP --protocol- port 80 --name listener1 Pool: neutron lbaas-pool-create --lb-algorithm ROUND_ROBIN --listener listener1 -- protocol HTTP --name pool1 For each member: neutron lbaas-member-create --subnet private-subnet --address <ip> --protocol-port 80 pool1 Test: curl <vip>

Get information about amphora - 1 As admin: Show all amphora vms: nova list --name amphora Amphora info commands: curl -k --cert /etc/octavia/certs/client.pem https://<ip on lb-mgmt-net>:9443/0.5/info curl -k --cert /etc/octavia/certs/client.pem https://<ip on lb-mgmt-net>:9443/0.5/details curl -k --cert /etc/octavia/certs/client.pem https://<ip on lb-mgmt- net>:9443/0.5/listeners curl -k --cert /etc/octavia/certs/client.pem https://<ip on lb-mgmt- net>:9443/0.5/listeners/ <listener-id>

Get information about amphora - 2 As admin: Log in to a VM: ssh -i /etc/octavia/.ssh/octavia_ssh_key ubuntu@<ip on lb-mgmt-net> -- good for debugging amphora changes Check on agent: sudo service amphora-agent status Check on haproxy: sudo service haproxy-<listener-id> status

Force/Simulate a fail over -1 Set up health monitoring: Edit /etc/octavia/octavia.conf Uncomment controller_ip_port_list and set to controller_ip_port_list = 172.24.4.1:5555 (this is some voodoo due to some bug in devstack we still need to fix) Restart o-cw: ./rejoin-stack.sh find o-cw screen; ctrl-c; cursor up; return find o-hm screen; ctrl-c; cursor up; return ctrl-a d Create another loadbalancer (see the other slide) – make sure to use different names, e.g. lb2, listener2, etc.

Force/Simulate a fail over - 2 Perform a failover: ssh into the amphora: ssh -i /etc/octavia/.ssh/octavia_ssh_key ubuntu@<ip on lb- mgmt-net> Stop the amphora agent: sudo service amphora-agent stop Observe the fail over: in one window curl the vip: while :; do curl <vip>; done; in the other one monitor nova (repeat until ip changes): nova list --name amphora

Troubleshooting

Increase Log Level Edit /etc/octavia/octavia.conf Uncomment debug = False and replace False with true. Alternatively you can also uncomment verbose=False and replace with True if you only require INFO level logging. We recommend DEBUG in most cases. Restart o-cw, o-api, o-*: ./rejoin-stack.sh find o-* screen; ctrl-c; cursor up; return repeat until all services you like to debug are restarted ctrl-a d

Log files on the host Review /opt/stack/logs ls /opt/stack/logs/o-*.log o-api.log o-cw.log o-hk.log o-hm.log o-api.log - logs the api server. Useful to see if requests made it to the system and if they actually got executed o-cw.log - logs the controller worker. This does most of the work and this logs will usually aid in debugging problems with nova, neutron, etc. o-hk.log - logs the housekeeping manager. Here we do the deletion of amphora marked for deletion, certificate rotation (the ones on the amphora), etc. o-hm.log - logs the information about the healthmanager and heartbeats the amphorae send; this is good for failover debugging

Log files on the amphora Ssh into the amphora cd /var/log/upstart/ sudo sudo less amphora-agent.log Useful to review if the amphora is sending heartbeats and if the API commands were successful; essential for contoller-worker <- -> amphora communication debugging

Octavia Database mysql use octavia show tables; There is some interesting stuff but let’s just look at Amphora table - information about all the amphora in the system Load_balancer, Listener, Member, Pool, Health_monitor - what you expect amphora_health - this has a timestamp of the last time we received a heartbeat from the amphora

How to contribute? For more information: Our next presentation “LBaaS V2 - Liberty and beyond” – 2:40 Thursday Weekly meetings Wednesdays, 20.00 UTC Freenode IRC: #openstack-lbaas https://wiki.openstack.org/wiki/octavia http://www.octavia.io https://launchpad.net/octavia https://github.com/openstack/octavia

Q&A