Getting Started Using Project Photon on VMware Fusion/Workstation

Similar documents
How To Install Project Photon On Vsphere 5.5 & 6.0 (Vmware Vspher) With Docker (Virtual) On Linux (Amd64) On A Ubuntu Vspheon Vspheres 5.4

VMWare Workstation 11 Installation MICROSOFT WINDOWS SERVER 2008 R2 STANDARD ENTERPRISE ED.

Using iscsi with BackupAssist. User Guide

Vess A2000 Series. NVR Storage Appliance. Windows Recovery Instructions. Version PROMISE Technology, Inc. All Rights Reserved.

Linstantiation of applications. Docker accelerate

Uptime Infrastructure Monitor. Installation Guide

WA2192 Introduction to Big Data and NoSQL. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Virtual Server Installation Manual April 8, 2014 Version 1.8

Required Virtual Interface Maps to... mgmt0. virtual network = mgmt0 wan0. virtual network = wan0 mgmt1. network adapter not connected lan0

Virtual Appliance Setup Guide

Platform as a Service and Container Clouds

BaseManager & BACnet Manager VM Server Configuration Guide

NAS 249 Virtual Machine Configuration with VirtualBox

How to Use? SKALICLOUD DEMO

Required Virtual Interface Maps to... mgmt0. bridge network interface = mgmt0 wan0. bridge network interface = wan0 mgmt1

VX 9000E WiNG Express Manager INSTALLATION GUIDE

Download Virtualization Software Download a Linux-based OS Creating a Virtual Machine using VirtualBox: VM name

Using VirtualBox ACHOTL1 Virtual Machines

WA1826 Designing Cloud Computing Solutions. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

How to Setup and Connect to an FTP Server Using FileZilla. Part I: Setting up the server

How to Install Microsoft Windows Server 2008 R2 in VMware ESXi

Using the IPMI interface

How to Configure an Initial Installation of the VMware ESXi Hypervisor

Virtualization Technology (or how my Windows computer gave birth to a bunch of Linux computers)

VMware Horizon FLEX User Guide

DeployStudio Server Quick Install

Migrating a Windows PC to Run in VMware Fusion VMware Fusion 2.0

Getting Started with ESXi Embedded

Freshservice Discovery Probe User Guide

Week Overview. Installing Linux Linux on your Desktop Virtualization Basic Linux system administration

WA1791 Designing and Developing Secure Web Services. Classroom Setup Guide. Web Age Solutions Inc. Web Age Solutions Inc. 1

ServerPronto Cloud User Guide

Quick Start Guide for VMware and Windows 7

Kaltura On-Prem Evaluation Package - Getting Started

Using Remote Web Workplace Version 1.01

Table of Contents. Online backup Manager User s Guide

WA2102 Web Application Programming with Java EE 6 - WebSphere RAD 8.5. Classroom Setup Guide. Web Age Solutions Inc. Web Age Solutions Inc.

LifeCyclePlus Version 1

13.1 Backup virtual machines running on VMware ESXi / ESX Server

Building a Penetration Testing Virtual Computer Laboratory

Virtual machine W4M- Galaxy: Installation guide

Remote Application Server Version 14. Last updated:

MiraCosta College now offers two ways to access your student virtual desktop.

Sharp Remote Device Manager (SRDM) Server Software Setup Guide

TANDBERG MANAGEMENT SUITE 10.0

Remote Application Server Version 14. Last updated:

Getting Started With Parallels Desktop 10

Bitrix Site Manager. VMBitrix Virtual Machine. Quick Start And Usage Guide

Getting Started With Parallels Desktop 8

First Time On-Campus VLab Setup Windows XP Edition

How to use the VMware Workstation / Player to create an ISaGRAF (Ver. 3.55) development environment?

VMware ESXi in a Cloud-based Lab David Davis, VCP, VCAP, and vexpert

Rally Installation Guide

VMware vsphere 5 Quick Start Guide

Installation Guidelines (MySQL database & Archivists Toolkit client)

HOMEROOM SERVER INSTALLATION & NETWORK CONFIGURATION GUIDE

NetIQ. How to guides: AppManager v7.04 Initial Setup for a trial. Haf Saba Attachmate NetIQ. Prepared by. Haf Saba. Senior Technical Consultant

VMware Horizon FLEX User Guide

Intelligent Power Protector User manual extension for Microsoft Virtual architectures: Hyper-V 6.0 Manager Hyper-V Server (R1&R2)

Virtual Appliance for VMware Server. Getting Started Guide. Revision Warning and Disclaimer

Using Virtual Machines

ECT362 Installing Linux Virtual Machine in KL322

Acronis Backup & Recovery 11

Dell UPS Local Node Manager USER'S GUIDE EXTENSION FOR MICROSOFT VIRTUAL ARCHITECTURES Dellups.com

Setting Up a Windows Virtual Machine for SANS FOR526

Upgrading Client Security and Policy Manager in 4 easy steps

Installation and User Guide for Partners and Businesses

Overview Customer Login Main Page VM Management Creation... 4 Editing a Virtual Machine... 6

Network Shutdown Module V3 Extension of the User Manual for IBM BladeCenter architecture

Introduction to Mobile Access Gateway Installation

Receptionist-Small Business Administrator guide

PowerPanel Business Edition Installation Guide

DOCSVAULT Document Management System for everyone

POD INSTALLATION AND CONFIGURATION GUIDE. EMC CIS Series 1

ISERink Installation Guide

How to install/upgrade the LANDesk virtual Cloud service appliance (CSA)

2. PMP New Computer Installation. & Networking Instructions

If you re not using Citrix XenCenter 6.0, your screens may vary. Required Virtual Interface Maps to... mgmt0. virtual network = mgmt0 wan0

Accessing RCS IBM Console in Windows Using Linux Virtual Machine

Guide to Installing BBL Crystal MIND on Windows 7

W H I T E P A P E R. Best Practices for Building Virtual Appliances

VMware Horizon FLEX User Guide

Reporting works by connecting reporting tools directly to the database and retrieving stored information from the database.

Getting Started with VMware Fusion

Signiant Agent installation

Contents. Hardware Configuration Uninstalling Shortcuts Black...29

CECH Virtual Lab Guide Windows 7/Vista Edition

NOC PS manual. Copyright Maxnet All rights reserved. Page 1/45 NOC-PS Manuel EN version 1.3

Quick Start Guide. Citrix XenServer Hypervisor. Server Mode (Single-Interface Deployment) Before You Begin SUMMARY OF TASKS

Installing and Configuring Lexia Reading Desktop Software

Parallels Desktop 7 for Mac

Virtual Managment Appliance Setup Guide

Acronis Backup & Recovery 10 Advanced Server Virtual Edition. Quick Start Guide

Enterprise Erase LAN

HP RDX Continuous Data Protection Software Quickstart Guide

Installation Process

1 Download & Installation Usernames and... Passwords

Installing and Configuring vcenter Multi-Hypervisor Manager

Transcription:

Getting Started Using Project Photon on VMware Fusion/Workstation What is Project Photon? Project Photon is a tech preview of an open source, Linux container host runtime optimized for vsphere. Photon is extensible, lightweight, and supports the most common container formats including Docker, Rocket (rkt) and Garden. Project Photon includes a small footprint, yum-compatible, package-based lifecycle management system, and will support an rpm-ostree image-based system versioning. When used with development tools and environments such as VMware Fusion, VMware Workstation, HashiCorp (Vagrant and Atlas) and production runtime environment (vsphere, vcloud Air), Photon allows seamless migration of container based Apps from development to production. Introduction This document explains how to get started using Project Photon as a runtime environment for Linux containers by running Project Photon as a virtual machine within VMware Fusion or Workstation. This guide will provide step-by-step instructions on how to download Project Photon, provide details of the various install options and provide a walkthrough of installing the full Project Photon distribution. Once Project Photon is installed, this guide will also provide instructions on how to demonstrate how simple it can be to deploy a containerised application with Docker and will highlight the installation of a web server simply by running one command!. About the Authors Andy Jenkins is a Solution Architect and a member of the Cloud Native Applications Team based in the UK - @vstokie Robbie Jerrom is a Solutions Architect and a member of the Cloud Native Applications Team based in the UK - @robbiej

Photon Install - Prerequisites In order to install and start using Project Photon with VMware Fusion the following pre-requisites must be satisfied: - Either download the latest Photon ISO from here or clone the GitHub Photon repository and make the ISO using the instructions found on the GitHub repo. This guide is based on the version 7.1.1 of VMware Fusion Professional as per the Screenshot below. Our recommendation is to always use the latest version; although, anything from v7.0 onwards should work as advertised. Keep in mind, that Photon is being released, initially, as a tech preview as such should you encounter any issues, please let us know @VMwarePhoton. Downloading Photon As per the pre-requisites download the latest ISO image from here or clone the GitHub Photon repository and make the ISO.

Installing Photon from an ISO Image With the latest ISO image downloaded into a folder of your choice, Open VMware Fusion and Select File->New. The following screen will appear: -

Double click on the Install From disk or image option from the left hand side of the screen. Drag the Photon.iso file, from the folder where you ve saved it, onto the Create New Virtual Machine window. The screen should look similar to the following:- Select the Photon.iso file, by clicking on it and ensuring that it is highlighted, then, click Continue. You will now be prompted for the selection of the Operating System to be used to create the Virtual Machine.

First, select Linux, in the left panel, then, select Other Linux 3.x kernel 64bit, as shown below: Click Continue. Before finishing the Photon Virtual Machine Creation, we strongly recommend that you customise the Virtual Machine and remove any unwanted devices that are not needed for a container runtime environment.

To remove un-necessary devices, from the screen shown below, select Customize Settings Choose a name for your Virtual Machine and the folder into which you would like to create the Virtual Machine. If the default folder of Virtual Machines is acceptable, click Save. A new screen will appear as per below that will allow virtual hardware customisation to the new Virtual Machine: - It is our recommendation that the following components are removed, since they re not used by Project Photon: Select Sound Card and un-tick the Connect Sound Card Option and then select Show All Select Camera and press the Remove Camera button in the bottom left hand corner and then select Show All

Select Printer and press the Remove Printer Port button in the bottom left hand corner and then select Show All Select USB & Bluetooth and un-tick the Share Bluetooth devices with Linux setting and then select Show All Select Display and un-tick the Accelerate 3D Graphics option and then select Show All Select Advanced and tick the Pass Power Status to VM option and then select Show All Now that we have removed the un-necessary components we can now optimize the compute resources available to the Photon Virtual Machine. Container Runtime resources should be adjusted to align with the size of containers running inside them. For the purpose of testing and education we recommend the following settings as a baseline: - Processors & Memory Please Note: Ensure that Enable Hypervisor Applications in this Virtual Machine under the Advanced Dropdown is deselected, as this is not supported in a Container Runtime Environment. At this stage we have now made all the necessary customisations and we are ready to begin the installation process. Return to the Fusion main menu, select the Photon Virtual Machine and press the Play button to power on the host and start the installation.

Within a few seconds the Project Photon Installer Boot Menu will appear.

Select Install to proceed. The Installer will detect 1 x Disk which the 8GB disk image configured as part of the default virtual hardware setup, select the disk image and press enter. You will be prompted to confirm it is okay to erase the entire disk, select yes to accept.

You will now presented with 4 installation options:- Each install option provides a different runtime environment, depending on your requirements: Photon OS (Micro): Photon Micro is a completely stripped down version of Photon that can serve as an application container, but doesn t have sufficient packages for hosting containers. This version is only suited for running an application as a container. Due to the extremely limited set of packages installed, this might be considered the most secure version. Photon Container OS (Minimum): Photon Minimum is a very lightweight version of the container host runtime that is best suited for container management and hosting. There is sufficient packaging and functionality to allow most common operations around modifying existing containers, as well as being a highly performant and full-featured runtime.

Photon Full OS (All): Photon Full includes several additional packages to enhance the authoring and packaging of containerized applications and/or system customization. For simply running containers, Photon Full will be overkill. Use Photon Full for developing and packaging the application that will be run as a container, as well as authoring the container, itself. For testing and validation purposes, Photon Full will include all components necessary to run containers. Photon Custom OS: Photon Custom provides complete flexibility and control for how you want to create a specific container runtime environment. Use Photon Custom to create a specific environment that might add incremental & required functionality between the Micro and Minimum footprints or if there is specific framework that you would like installed. For the purposes of this how-to guide, select Option 3 Photon Full OS (All) this will install the most complete set of Photon packages. Once highlighted press the Return key on your keyboard. You will now be prompted for a hostname as per the screenshot below: -

Enter a hostname of your choosing and press Enter. You will now be prompted for a root password: - Select a password of your choosing; note: Photon will not permit commonly used dictionary words to be set as a root password. The installation process will now begin. Typically, a Full install will take approximately 30-60 seconds to complete. Once the install is complete you will get a confirmation prompt on the screen stating Congratulations, Photon has been installed in xx secs, Press any key to continue to boot - Press any key and you will be all set.

As the initial boot process begins you will see this final loading screen before you are taken to a root login command prompt:

At the command prompt enter root as your user and you will be prompted for you root password. Enter as per the install and you will then be taken to the command prompt. You have now successfully setup Project Photon and are ready to use your container runtime environment.

Installing a Containerised Application to Help Demonstrate Capability Now that you have your container runtime environment up and running, you may be wondering, what can I do now? A command prompt is not the most exciting! To help to demonstrate the ease in which you can deploy a containerized application, we will showcase how you can quickly get a Web Server up and running. For this example, we will use the popular open source Web Server Nginx. The Nginx application has a customized VMware package and published as a dockerfile and can be downloaded, directly, through the Docker module from the Docker Hub. To run Docker from the command prompt, enter the command below to initialise the docker engine: - systemctl start docker To ensure docker daemon service runs on every subsequent VM reboot, enter : systemctl enable docker Now the docker daemon service is running, it is a simple task to pull and start the Nginx Web Server container from Docker Hub. To do this, type the following command: - docker run -d -p 80:80 vmwarecna/nginx

This will then pull the Nginx Web Server files and appropriate dependent containers to ensure this containerized application can run. You will see a screenshot similar to below, as the container and dependencies are downloaded and the container is prepared to run: - Once docker run process is completed, you will be returned to the command prompt. You now have a fully active website up and running through typing just a single command within Project Photon using containers. To test that your Web Server is active, we need to get the IP address of the Project Photon Virtual Machine. To get the IP address, enter the following command ifconfig. This will now display a list of adapters connected to the virtual machine. Typically, the web server daemon will be bound on eth0.

Start a browser on your host machine and enter the IP address of your Project Photon Virtual Machine. The following screen will appear and that will show that your web server is active: - You can now run any other containerized application from Docker Hub or your own containerized application within Project Discus. We hope you enjoy using Photon as much as did creating it!