EXperimental Infrastructures for the Future Internet www.fi-xifi.eu Training Session “Service Integration” Álvaro Alonso Joaquín Salvachúa UPM-DIT.

Slides:



Advertisements
Similar presentations
Vasinee Siripoonya Kasidit Chanchio
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.
FI-WARE Testbed Access Control temporary solution.
© 2012 IBM Corporation Architecture of Quantum Folsom Release Yong Sheng Gong ( 龚永生 ) gongysh #openstack-dev Quantum Core developer.
Seamless migration from Nova-network to Neutron in eBay production Chengyuan Li, Han Zhou.
Securing OpenStack with Intel Trusted Computing OpenStack Summit Atlanta May 2014 Christian Huebner Cloud Architect
“It’s going to take a month to get a proof of concept going.” “I know VMM, but don’t know how it works with SPF and the Portal” “I know Azure, but.
IT:Network:Applications VIRTUAL DESKTOP INFRASTRUCTURE.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Building Secure Applications.
SIM205. (On-Premises) Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure (as a Service)
Installing and Setting up mongoDB replica set PREPARED BY SUDHEER KONDLA SOLUTIONS ARCHITECT.
Sharepoint Portal Server Basics. Introduction Sharepoint server belongs to Microsoft family of servers Integrated suite of server capabilities Hosted.
Esri UC 2014 | Demo Theater | Using ArcGIS for Server in the Microsoft Azure Cloud Nikhil Shampur.
Additional SugarCRM details for complete, functional, and portable deployment.
Hands-on session 2 Monitoring Jose Gonzalez Universidad Politecnica Madrid Attilio Broglio Create-Net
Partner Practice Enablement - Overview This session will focus on integration strategies for applications deployed using Microsoft Azure Websites and Microsoft.
Customized cloud platform for computing on your terms !
Building service testbeds on FIRE D5.2.5 Virtual Cluster on Federated Cloud Demonstration Kit August 2012 Version 1.0 Copyright © 2012 CESGA. All rights.
Nina Drozd Supervisor: Fearghal Morgan Co-Supervisor: Martin Glavin Project Progress Presentation.
MCDevOps Infrastructure In One Hour. Sponsors Improving Enterprises Software Development.
Sending s with SendGrid and Laravel
Cloud Standard API and Contextualization
| nectar.org.au NECTAR TRAINING Module 10 Beyond the Dashboard.
Vagrant workflow Jul. 15, 2014.
ArcGIS Server for Administrators
Ph No: Mob: ,plot No-27,NGGO's Colony, Pattabhi reddy gardens,Visakhapatnam-07 Open.
Ruby on Rails on Ubuntu Bradley Taylor Rails Machine, LLC
OpenStack cloud at Oxford Kashif Mohammad University of Oxford.
EXPOSING OVS STATISTICS FOR Q UANTUM USERS Tomer Shani Advanced Topics in Storage Systems Spring 2013.
CoprHD and OpenStack Ideas for future.
Computing Services Charles (Cal) Loomis & Mohammed Airaj LAL, Univ. Paris-Sud, CNRS/IN2P October 2013.
Vignesh Ravindran Sankarbala Manoharan. Infrastructure As A Service (IAAS) is a model that is used to deliver a platform virtualization environment with.
Administrative Information Systems Shibboleth Install Session Technical Information Session for Developers Datta Mahabalagiri.
Document Name CONFIDENTIAL Version Control Version No.DateType of ChangesOwner/ Author Date of Review/Expiry The information contained in this document.
Installing Koha Presented By Aaron R. Williams KOHA North American Users Group.
Agenda  Microsoft Directory Synchronization Tool  Active Directory Federation Server  ADFS Proxy  Hybrid Features – LAB.
Cloud Installation & Configuration Management. Outline  Definitions  Tools, “Comparison”  References.
Geant4 GRID production Sangwan Kim, Vu Trong Hieu, AD At KISTI.
Co-ordination & Harmonisation of Advanced e-Infrastructures for Research and Education Data Sharing Grant.
MySQL Introduction. Outline MySQL Introduction & Installation MySQL Command-Line Tool MySQL Workbench Introduction MySQL with Python Code Example.
Installing git In Linux: sudo apt-get install git In Windows: download it from run the setuphttp://git-scm.com/download/win.
The Site Architecture You Can Edit Varnish Mobile? Ryan Lane Wikimedia Foundation Membase? Swift.
EGI-InSPIRE RI EGI-InSPIRE EGI-InSPIRE RI Data Management Interface: CDMI for CMF Ilja Livenson PDC KTH.
ArcGIS for Server Security: Advanced
OpenStack.
Alfresco Software Provisioning Kit
IT06 – HAVE YOUR OWN DYNAMICS NAV TEST ENVIRONMENT IN 90 MINUTES
M.Sc. Juan Carlos Olivares Rojas
NodeJS Security Using PassportJS and HelmetJS:
CS/COE 1520 Recitation Week 2
Principles of Computer Security
Version Control overview
Security Tips for James Eyrich Manager Security Operations and Incident Response
Vagrant Managing Virtual Machines
Exam : Implementing Microsoft Azure Infrastructure Solutions
Interoperability in Modern Clouds using DevOps
Cloud LPC ( Version mikata sur Centos7)
OpenStack Ani Bicaku 18/04/ © (SG)² Konsortium.
OPNFV Arno Installation & Validation Walk-Through
Diego Scardaci (EGI.eu)
Dynamic DNS support for EGI Federated cloud
Attila Kertész, Tamás Pflanzner - University of Szeged
Getting Started with Contribution to Openstack
Dynamic SFC from Tacker to incept specific traffic of VM
Mix & Match: Resource Federation
Microsoft Virtual Academy
Dovetail & CVP Tutorial/Demo
* Introduction to Cloud computing * Introduction to OpenStack * OpenStack Design & Architecture * Demonstration of OpenStack Cloud.
OpenStack Summit Berlin – November 14, 2018
Presentation transcript:

eXperimental Infrastructures for the Future Internet Training Session “Service Integration” Álvaro Alonso Joaquín Salvachúa UPM-DIT

Objectives Understand Federation architecture Components installation overview –Keyrock IdM –Keystone-proxy –Cloud Portal Federate a new node –Installing Openstack Services –Configuring Openstack Services –Adding the node to the Federation

FEDERATION ARCHITECTURE Training Session “Service Integration”

Architecture Proxy Keystone Cloud Server OS Service IdM Cloud Portal OS Service Region1 Region2 Region3

Step 1. Service Catalogue Proxy Keystone Cloud Server OS Service IdM Cloud Portal getCatalogue Service catalogue OS Service Region1 Region2 Region3

Step 2. Getting an access token Proxy Keystone Cloud Server OS Service IdM Cloud Portal OS Service Region1 Region2 Region3 1 redirect 2 access-code 3 request access-token 4 access-token 5 request orgs 6 orgs

Step 3. Getting OS token Proxy Keystone Cloud Server IdM Cloud Portal access-token + tenant OS token OS Service Region1 Region2 Region3

Step 4. Using an OS service Proxy Keystone Cloud Server Keystone Middleware OS Service IdM Cloud Portal 11 Request + token 12 token 15 OK + user info + tenant 8, 13 access- token 9, 14 user info

COMPONENTS INSTALLATION OVERVIEW Training Session “Service Integration”

Keyrock IdM Github repository – Installation Guide: – guidehttps://github.com/ging/fi-ware-idm/wiki/Installation- guide Training demo host: –

Keystone-proxy (1) Github repository – Installation Guide: – proxy/blob/master/README.mdhttps://github.com/ging/fi-ware-keystone- proxy/blob/master/README.md Training demo host: –

Keystone-proxy (2) Register cloud as an IdM Application Config.js var config = {}; config.adminUsers = {"user": {password: "pass", isAdmin: "false"}}; config.accountServer = ' '; // OAUTH Cloud credentials in the Account server config.client_id = ‘'; config.client_secret = ‘’'; //Mysql db config: config.db = { host : 'localhost', user : 'root', password : '1234', database : 'keystone_proxy' };

Keystone-proxy (3) Config.js …. config.serviceCatalog = [ {"endpoints": [ {"adminURL": " "region": "RegionOne", "internalURL": " "publicURL": " ], "endpoints_links": [], "type": "compute", "name": "nova" }, …..

Cloud Portal (1) Github repository – Installation Guide: – portal/blob/master/README.mdhttps://github.com/ging/fi-ware-cloud- portal/blob/master/README.md Training demo host: –

Cloud Portal (2) Config.js config.oauth = { account_server: client_id: '', client_secret: '', callbackURL: ' }; config.keystone = { host: ' ', port: 4730, admin_host: ' ', admin_port: 4731, username: ’cloud', password: ’cloud', tenantId: ' ' };

Summary Proxy Keystone Cloud Server IdM Cloud Portal

Summary Proxy Keystone Cloud Server IdM Cloud Portal OS Service Region1 Region2 Region3

FEDERATE A NEW NODE Training Session “Service Integration”

Installing OS Services Using a virtual machine: –Install virtual box :: –Install Vagrant :: This allow installation into virtual machines via scripts (Chef recipes).

OpenStack (DevStack) I mkdir devstack_vagrant cd devstack_vagrant vagrant box add precise32 vagrant init precise32 Edit Vagrantfile and change: – vb.customize ["modifyvm", :id, "--memory", "2048"] – config.vm.network :forwarded_port, guest: 8774, host: 8774 – config.vm.network :forwarded_port, guest: 9292, host: 9292 – config.vm.network :forwarded_port, guest: 8776, host: 8776 Vagrant up && vagrant ssh

OpenStack (DevStack) II sudo apt-get update && sudo apt-get -y install git vim-gtk libxml2-dev libxslt1-dev libpq-dev python-pip libsqlite3-dev && sudo apt-get -y build-dep python- mysqldb && sudo pip install git-review tox && git clone git://git.openstack.org/openstack-dev/devstack && cd devstack git checkout -b havana origin/stable/havana./stack.sh

Amazon version Ask for it if you need it….

Configuring OS Services Kesytone Cloud Server Keystone Middleware OS Service Cloud Portal 11 Request + token 12 token 15 OK + user info + tenant

Configuring OS Services Kesytone Cloud Server Keystone Middleware OS Service Cloud Portal 11 Request + token 12 token 15 OK + user info + tenant

Configuring OS Services Proxy Keystone Cloud Server Keystone Middleware OS Service IdM Cloud Portal 11 Request + token 12 token 15 OK + user info + tenant 8, 13 access- token 9, 14 user info

Note Official Fi-lab IP for keystone-Proxy is : – We will NOT use it for today training. TODAY keystone-proxy is : YOU must change on all next slides.

Nova /etc/nova/nova.conf... quantum_admin_auth_url= quantum_admin_password=quantum... keystone_ec2_url= [keystone_authtoken] auth_port=4731 admin_password=nova admin_user=nova... auth_host= quantum_region_name=[YOUR_REGION_NAME]

Quantum (1) /etc/quantum/dhcp_agent.ini... admin_user=quantum... admin_password=quantum... auth_url= admin_tenant_name=services

Quantum (2) /etc/quantum/metadata_agent.ini... auth_url = auth_region = [HERE YOUR REGION'S NAME] admin_tenant_name = services admin_user = quantum admin_password = quantum...

Quantum (3) /etc/quantum/quantum.conf... [keystone_authtoken] auth_host = auth_port = 4731 auth_protocol = http admin_tenant_name = services admin_user = quantum admin_password = quantum signing_dir = /var/lib/quantum/keystone-signing auth_url=

Quantum (4) /etc/quantum/l3_agent.ini... admin_user=quantum admin_tenant_name=services admin_password=quantum... auth_url=

Quantum (5) /etc/quantum/api-paste.ini... [filter:authtoken] paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory auth_host= admin_password=quantum auth_url= admin_tenant_name=services admin_user=quantum auth_port=4731

Glance (1) /etc/glance/glance-api.conf... swift_store_auth_address= swift_store_user=services:glance... auth_port=4731 auth_host= admin_password=glance admin_tenant_name=services auth_protocol=http auth_uri= admin_user=glance

Glance (2) /etc/glance/glance-registry.conf [keystone_authtoken] signing_dir=/tmp/keystone-signing-glance auth_host= admin_password=glance auth_port=4731 signing_dirname=/tmp/keystone-signing-glance auth_protocol=http admin_tenant_name=services admin_user=glance

Glance (3) /etc/glance/glance-cache.conf admin_user=glance... admin_tenant_name=services... admin_password=glance... auth_url=

Glance (4) /etc/glance/glance.conf filesystem_store_datadir=/var/lib/glance/images/ swift_store_region=[YOUR_REGION_NAME]

Cinder /etc/cinder/cinder.conf... admin_password=cinder auth_port=4731 auth_host= admin_tenant_name=services auth_protocol=http admin_user=cinder...

Swift /etc/swift/proxy-server.conf... [filter:s3token] paste.filter_factory = keystone.middleware.s3_token:filter_factory auth_port = 4731 auth_protocol = http auth_host = [filter:keystone] use = egg:swift#keystoneauth operator_roles = admin, SwiftOperator, member is_admin = true cache = swift.cache... [filter:authtoken] paste.filter_factory = keystone.middleware.auth_token:filter_factory auth_host = auth_port = 4731 auth_protocol = http auth_uri = admin_tenant_name = services admin_user = swift admin_password = swift

Adding the node to Federation Keystone-proxy config.js …. config.serviceCatalog = [ {"endpoints": [ {"adminURL": " "region": "RegionOne", "internalURL": " "publicURL": " ], "endpoints_links": [], "type": "compute", "name": "nova" }, …..

eXperimental Infrastructures for the Future Internet Thanks! Álvaro Alonso Joaquín Salvachúa UPM-DIT