24
This document is for informational purposes only and is subject to change at any time without notice. The information in this document is proprietary to Actian and no part of this document may be reproduced, copied, or transmitted in any form or for any purpose without the express prior written permission of Actian. This document is not intended to be binding upon Actian to any particular course of business, pricing, product strategy, and/or development. Actian assumes no responsibility for errors or omissions in this document. Actian shall have no liability for damages of any kind including without limitation direct, special, indirect, or consequential damages that may result from the use of these materials. Actian does not warrant the accuracy or completeness of the information, text, graphics, links, or other items contained within this material. This document is provided without a warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. Disclaimer This document is for informational purposes only and is subject to change at any time without notice. The information in this document is proprietary to Actian and no part of this document may be reproduced, copied, or transmitted in any form or for any purpose without the express prior written permission of Actian. This document is not intended to be binding upon Actian to any particular course of business, pricing, product strategy, and/or development. Actian assumes no responsibility for errors or omissions in this document. Actian shall have no liability for damages of any kind including without limitation direct, special, indirect, or consequential damages that may result from the use of these materials. Actian does not warrant the accuracy or completeness of the information, text, graphics, links, or other items contained within this material. This document is provided without a warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. Disclaimer

Disclaimer - Actian...What is Docker? 7 According to Docker, –over 3.5 million applications have been placed in containers using Docker technology and –over 37 billion containerizedVirtualization

  • Upload
    others

  • View
    7

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Disclaimer - Actian...What is Docker? 7 According to Docker, –over 3.5 million applications have been placed in containers using Docker technology and –over 37 billion containerizedVirtualization

This document is for informational purposes only and is subject to change at any time without notice. The information in this document is proprietary to Actian and no part of this document may be reproduced, copied, or transmitted in any form or for any purpose without the express prior written permission of Actian.

This document is not intended to be binding upon Actian to any particular course of business, pricing, product strategy, and/or development. Actian assumes no responsibility for errors or omissions in this document. Actian shall have no liability for damages of any kind including without limitation direct, special, indirect, or consequential damages that may result from the use of these materials. Actian does not warrant the accuracy or completeness of the information, text, graphics, links, or other items contained within this material. This document is provided without a warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability, fitness for a particular purpose, or non-infringement.

Disclaimer

This document is for informational purposes only and is subject to change at any time without notice. The information in this document is proprietary to Actian and no part of this document may be reproduced, copied, or transmitted in any form or for any purpose without the express prior written permission of Actian.

This document is not intended to be binding upon Actian to any particular course of business, pricing, product strategy, and/or development. Actian assumes no responsibility for errors or omissions in this document. Actian shall have no liability for damages of any kind including without limitation direct, special, indirect, or consequential damages that may result from the use of these materials. Actian does not warrant the accuracy or completeness of the information, text, graphics, links, or other items contained within this material. This document is provided without a warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability, fitness for a particular purpose, or non-infringement.

Disclaimer

Page 2: Disclaimer - Actian...What is Docker? 7 According to Docker, –over 3.5 million applications have been placed in containers using Docker technology and –over 37 billion containerizedVirtualization

Actian Hybrid DataConference2018 London

Actian Hybrid DataConference2018 London

Page 3: Disclaimer - Actian...What is Docker? 7 According to Docker, –over 3.5 million applications have been placed in containers using Docker technology and –over 37 billion containerizedVirtualization

ActianHybrid DataConference2018 London

ActianHybrid DataConference2018 London

Cris Ianculovici

Running Actian X in Docker

Principal Support Engineer

@crisianculovici

Page 4: Disclaimer - Actian...What is Docker? 7 According to Docker, –over 3.5 million applications have been placed in containers using Docker technology and –over 37 billion containerizedVirtualization

Agenda

▪What is Docker▪How Docker works▪Actian Vector – Simple Dockerfile▪Actian X Challenges▪Actian X Docker Demo

Page 5: Disclaimer - Actian...What is Docker? 7 According to Docker, –over 3.5 million applications have been placed in containers using Docker technology and –over 37 billion containerizedVirtualization

What is Docker?

Page 6: Disclaimer - Actian...What is Docker? 7 According to Docker, –over 3.5 million applications have been placed in containers using Docker technology and –over 37 billion containerizedVirtualization

What is Docker?

When designing and implementing systems there are a few challenges

▪Deployments: existing software may conflict with your application. Dependencies could be missing or have version mismatch.

▪Upgrades/migrations: you need to start all over

▪Maintenance: Differences between production and your test environments

6 © 2018 Actian Corporation

Page 7: Disclaimer - Actian...What is Docker? 7 According to Docker, –over 3.5 million applications have been placed in containers using Docker technology and –over 37 billion containerizedVirtualization

What is Docker?

7

▪According to Docker, – over 3.5 million applications have

been placed in containers using Docker technology and

– over 37 billion containerized applications have been downloaded.

© 2018 Actian Corporation

Page 8: Disclaimer - Actian...What is Docker? 7 According to Docker, –over 3.5 million applications have been placed in containers using Docker technology and –over 37 billion containerizedVirtualization

Virtualization and VMs

8

▪Advantages: running multiple environments on the same hardware, portability

▪Challenges: fat hypervisors –all the problems a hardware-based server could have. – Too much stuff you will never

need/use.

© 2018 Actian Corporation

Page 9: Disclaimer - Actian...What is Docker? 7 According to Docker, –over 3.5 million applications have been placed in containers using Docker technology and –over 37 billion containerizedVirtualization

What is Docker?

9

▪Software that performs Operating System level virtualization also know as “containerization”– the kernel allows the existence of

multiple isolated user-space instances. Such instances, called containers

▪Docker is used to run software packages called "containers". In a typical example use case, one container runs a web server and web application, while a second container runs a database server that is used by the web application.

▪ In a way it’s a bit like a virtual machine, with some significant differences

© 2018 Actian Corporation

Page 10: Disclaimer - Actian...What is Docker? 7 According to Docker, –over 3.5 million applications have been placed in containers using Docker technology and –over 37 billion containerizedVirtualization

What is Docker?

10 © 2018 Actian Corporation

Layers• Server• Host OS• Hypervisor /

Docker engine• Guest OS (for VMs)• Bins/Libs• Applications

Page 11: Disclaimer - Actian...What is Docker? 7 According to Docker, –over 3.5 million applications have been placed in containers using Docker technology and –over 37 billion containerizedVirtualization

Scalability with Docker

11

▪Swarm is a native clustering tool for docker

▪ It pools together several Docker Engines and exposes them as a single virtual Docker Engine.

© 2018 Actian Corporation

Page 12: Disclaimer - Actian...What is Docker? 7 According to Docker, –over 3.5 million applications have been placed in containers using Docker technology and –over 37 billion containerizedVirtualization

How Does It Work?

Page 13: Disclaimer - Actian...What is Docker? 7 According to Docker, –over 3.5 million applications have been placed in containers using Docker technology and –over 37 billion containerizedVirtualization

Images and Execution

▪ An image is a compressed, self-contained piece of software which must be unwrapped in order to use the functionality. It may contain any Software, Operating System, Service., etc.

▪ An image is an executable package that includes everything needed to run an application--the code, a runtime, libraries, environment variables, and configuration files (docs.docker.com)

▪ A Docker image is an image created by the sequence of commands written in a file called as Dockerfile.

▪ An image is created by running docker build

▪ The build is a non-interactive process

▪ Execution: A container is a runtime instance of an image--what the image becomes in memory when executed (that is, an image with state, or a user process).

▪ docker run

Page 14: Disclaimer - Actian...What is Docker? 7 According to Docker, –over 3.5 million applications have been placed in containers using Docker technology and –over 37 billion containerizedVirtualization

Actian Vector – Simple Docker File

Page 15: Disclaimer - Actian...What is Docker? 7 According to Docker, –over 3.5 million applications have been placed in containers using Docker technology and –over 37 billion containerizedVirtualization

15

Running Actian Vector Community Edition using Docker

▪https://github.com/ActianCorp/Vector-Community-Docker

© 2018 Actian Corporation

Page 16: Disclaimer - Actian...What is Docker? 7 According to Docker, –over 3.5 million applications have been placed in containers using Docker technology and –over 37 billion containerizedVirtualization

Actian Vector Community Edition – Dockerfile

16 © 2018 Actian Corporation

Page 17: Disclaimer - Actian...What is Docker? 7 According to Docker, –over 3.5 million applications have been placed in containers using Docker technology and –over 37 billion containerizedVirtualization

Actian Vector Community Edition – Dockerfile

17 © 2018 Actian Corporation

Page 18: Disclaimer - Actian...What is Docker? 7 According to Docker, –over 3.5 million applications have been placed in containers using Docker technology and –over 37 billion containerizedVirtualization

Actian Vector Community Edition – Dockerfile

18 © 2018 Actian Corporation

Page 19: Disclaimer - Actian...What is Docker? 7 According to Docker, –over 3.5 million applications have been placed in containers using Docker technology and –over 37 billion containerizedVirtualization

Actian X ChallengesActian Licensing Model

Page 20: Disclaimer - Actian...What is Docker? 7 According to Docker, –over 3.5 million applications have been placed in containers using Docker technology and –over 37 billion containerizedVirtualization

Actian X Installation

20

▪Setup Server– Hardware allocation– Operating System installation– Etc.

▪Download install package▪Start installation of Actian X▪Run lichostinfo

▪Obtain a license.xml file▪Add the new license.xml file to the

server

▪Complete the install

© 2018 Actian Corporation

Page 21: Disclaimer - Actian...What is Docker? 7 According to Docker, –over 3.5 million applications have been placed in containers using Docker technology and –over 37 billion containerizedVirtualization

Actian X – Creating Docker Image

▪No interactive install with Docker. The setup cannot be done in a single Dockerfile

▪Three separate Docker images will be created in the process of generating an Actian X Docker image. – The first image is to request a license

file, – the second is to be used as a template

with a given host ID taken from the original image, and

– the third is the final Actian X Docker image.

21 © 2018 Actian Corporation

Page 22: Disclaimer - Actian...What is Docker? 7 According to Docker, –over 3.5 million applications have been placed in containers using Docker technology and –over 37 billion containerizedVirtualization

Before running the script to generate the Docker image for Actian X:

▪Download the zip file containing the scripts and files that are required to create the Actian X Docker image from https://communities.actian.com/s/article/How-to-Run-Actian-X-in-Docker. Extract the files and place them in a directory (e.g. actianx-docker) that will be the base directory for the setup.

▪Download the current version of Actian X from http://esd.actian.com/product/ActianX/11.0/Linux_X86_64-bit and place it in the base directory (e.g. actianx-docker).

▪Download the latest Licensing Utilities file from http://esd.actian.com/product/Ingres/Ingres_Licensing_Utilities/Linux_X86_64-bit/Licensing_Utilities and place it in the request_license/ directory (under the base directory). Confirm that it is named ingres-linux-x86_64-license_util.tar.Z.

Once all the above downloads are completed, run setup_actianx_docker.sh and follow the instructions provided by the script.

22 © 2018 Actian Corporation

Page 23: Disclaimer - Actian...What is Docker? 7 According to Docker, –over 3.5 million applications have been placed in containers using Docker technology and –over 37 billion containerizedVirtualization

DemoShow how to create an Actian X Docker image and how to run the container

Page 24: Disclaimer - Actian...What is Docker? 7 According to Docker, –over 3.5 million applications have been placed in containers using Docker technology and –over 37 billion containerizedVirtualization

Thank you!