How to install and configure LDOMs (Oracle VM for SPARC)

Similar documents
An Oracle White Paper March 2014 RUNNING ORACLE REAL APPLICATION CLUSTERS ON ORACLE VM SERVER FOR SPARC

W H I T E P A P E R. Configuring logical domains and SFHA in OVM for SPARC environment with multiple IO Domains

An Oracle White Paper May 2010 RUNNING ORACLE REAL APPLICATION CLUSTERS ON ORACLE VM SERVER FOR SPARC

RUNNING ORACLE REAL APPLICATION CLUSTERS (RAC) ON SUN LOGICAL DOMAINS

LDOM COMMAND REFERENCE

Logical Domains (LDoms)

an introduction to logical domains

An Oracle White Paper June How To Configure Oracle VM Server for SPARC Guest Domains As Oracle Solaris Cluster Nodes

<Insert Picture Here> LDoms Deep Dive IO Best Practices for Oracle VM Server for SPARC

an introduction to logical domains

Increase Efficiency of Solaris Operations & Hardware Life Cycle

SPARC Enterprise Oracle VM Server for SPARC. Important Information

SPARC Enterprise Logical Domains. Important Information

Installing Oracle RAC 11gR2 on the Oracle Solaris 11 OS by Using Oracle VM Server for SPARC

SPARC Enterprise Oracle VM Server for SPARC. Important Information

Hard Partitioning with Oracle VM Server for SPARC O R A C L E W H I T E P A P E R J U L Y

White Paper: Architecting for a Resilient and Cost Effective Logical Domain

An Oracle White Paper June Resource Management Case Study for Mixed Workloads and Server Sharing

Building a High Availability System on Fujitsu SPARC M12 and Fujitsu M10/SPARC M10 Servers (Overview)

Oracle VM Server for SPARC Best Practices O R A C L E W H I T E P A P E R A P R I L

Building High Availability System on Fujitsu SPARC M12 and Fujitsu M10/ SPARC M10 Servers (System configuration)

SPARC Enterprise T5120/T5220 /T5140/T5240 /T5440

1Z SPARC T4-Based Server Installation Essentials Exam Summary Syllabus Questions

Configure Windows Server 2003 Release 2 Server Network File Share (NFS) as an authenticated storage repository for XenServer

Best Practices for Oracle Solaris Network Performance with Oracle VM Server for SPARC

BIG-IP Virtual Edition and Microsoft Hyper- V: Setup. Version 12.1

C120-E534-08EN. SPARC Enterprise Logical Domains 1.3 Guide

BIG-IP Virtual Edition and Linux KVM: Setup. Version 12.1

Solaris Engineered Systems

C120-E534-06EN. SPARC Enterprise Logical Domains 1.2 Guide

Linux on Sun Logical Domains

Oracle Enterprise Manager Ops Center

BIG-IP Virtual Edition and Citrix XenServer: Setup. Version 12.1

How to Enable Internet for Guest Virtual Machine using Datacard Tata Photon.

Configuration and Administration Guide 4.3 Redundant Line Control Function for Virtual NIC Mode

Oracle Corporation 1

BIG-IP Virtual Edition and Microsoft Hyper- V: Setup. Version 13.1

F5 iworkflow and Citrix XenServer: Setup. Version 2.0.1

OpenBSD/sun4v: Porting OpenBSD to Sun s UltraSPARC T1 and T2 processors

BIG-IP Virtual Edition and Citrix XenServer: Setup. Version 13.1

F5 iworkflow and Microsoft Hyper-V: Setup. Version 2.2.0

Installing Cisco MSE in a VMware Virtual Machine

BIG-IP Virtual Edition and Xen Project: Setup. Version 13.1

Logical Domains (LDoms) Administration Guide

Microsoft Hyper-V Installation Guide

Oracle VM Template for MySQL Enterprise Edition =========================================================================== ===

How to Install Oracle VM VirtualBox and Create a Virtual Machine

Oracle Virtual Machine Qualification Note Oracle FLEXCUBE Release [May] [2017]

Logical Domains 1.3 Administration Guide

Implementation and. Oracle VM. Administration Guide. Oracle Press ORACLG. Mc Grauv Hill. Edward Whalen

Microsoft Hyper-V. Installation Guide

Oracle VM Tips and Best Practices

Building a High Availability System on Fujitsu SPARC M12 and Fujitsu M10/SPARC M10 Servers (Overview)

How to Deploy a Barracuda NG Vx using Barracuda NG Install on a VMware Hypervisor

VRX VIRTUAL REPLICATION ACCELERATOR

Deploying Cisco UCS Central

Quick Start Guide. Citrix XenServer Hypervisor. Router Mode (Out-of-Path Deployment) Before You Begin SUMMARY OF TASKS

If you re not using Citrix XenCenter 6.0, your screens may vary.

F5 iworkflow and Linux KVM: Setup. Version 2.0.2

Virtualization. Michael Tsai 2018/4/16

Installing and configuring HP Integrity VM for HP SIM 5.x

Experiences with OracleVM 3.3

Oracle Enterprise Manager Ops Center. Introduction. What You Will Need. Configure and Install Root Domains 12c Release 3 (

BIG-IP Virtual Edition and VMware ESXi: Setup. Version 12.1

Cisco Prime Service Catalog Virtual Appliance Quick Start Guide 2

Oracle VM. Installation and Upgrade Guide for Release 3.3

<Insert Picture Here> Getting Started with Solaris

CA Agile Central Administrator Guide. CA Agile Central On-Premises

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

Setting Up Cisco Prime LMS for High Availability, Live Migration, and Storage VMotion Using VMware

Get VirtualBox. VirtualBox/Ubuntu Setup. Go to and select Downloads.

The Unified CVP upgrade process has been described in this chapter in the following sections:

Technical Whitepaper. NetBackup PureDisk Technical Product Management. PureDisk Remote Office Protection. Export to NetBackup Feature

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

OLT Us e r Guide for Or acle VM

Installation Requirements

Replace Single Server or Cluster

BIG-IQ Centralized Management and Microsoft Hyper-V: Setup. Version 5.0

Oracle VM Server for SPARC 3.5 Administration Guide

Oracle VM Server for SPARC 3.5 Developer's Guide

Oracle Solaris Virtualization: From DevOps to Enterprise

Oracle 1Z Oracle Solaris 10 Network Administrator(R) Certified Expert.

Managing Virtual Machines Using the Cisco SRE-V CLI

PlateSpin Transformation Manager Appliance Guide. June 2018

Oracle Integrated Stack Testing Hardware. Software. Tested Complete.

CHAPTER 16 - VIRTUAL MACHINES

Installation Requirements

1Z SPARC T4-Based Server Installation Essentials Exam Summary Syllabus Questions

Log & Event Manager UPGRADE GUIDE. Version Last Updated: Thursday, May 25, 2017

Oracle VM. Manager Getting Started Guide for Release 3.4

How do I patch custom OEM images? Are ESXi patches cumulative? VMworld 2017 Do stateless hosts keep SSH & SSL identities after reboot? With Auto Deplo

Installation of the DigitalSystemsVM virtual machine

Installation Prerequisites

Flexible Laufzeitumgebungen für Software - Einfach aufgebaut

F5 BIG-IQ Centralized Management and Linux Xen Project: Setup. Version 5.0

Oracle Enterprise Manager Ops Center. Overview. What You Need. Create Oracle Solaris 10 Zones 12c Release 3 ( )

HiveManager NG Virtual Appliance

InMage Scout Standard Quick Install Guide. Version 1.5

Installing the Cisco Nexus 1000V Software Using ISO or OVA Files

Installing the Cisco CSR 1000v in Microsoft Hyper-V Environments

Transcription:

How to install and configure LDOMs (Oracle VM for SPARC) Virtualization has been a need of time over several past years as we have machines now even with 16 cores and memory in TBs. A single machine is now capable of accommodating even more than 100 VMs at a time. Oracle VM for SPARC formerly known as LDOMs has played a key role in oracles virtualization strategies and is improving with every version. Before start configuring our first oracle VM for SPARC let us understand types of ldoms, ldom services and virtual devices. TYPES OF LOGICAL DOMAINS Name Guest I/O Service Control Purpose No direct access to underlying hardware and does not provide virtual device or services to other ldoms. Uses virtual device. has direct access to underlying hardware in the server. It can be used in cases like oracle DB which wants direct/raw access to the storage devices. provides virtualized devices and services to guest domains. Service domain that also runs the ldoms manager software to control the configuration of hypervisor. This ldom manager is responsible for mapping between physical and virtual devices. VIRTUAL SERVICES AND DEVICES Abbreviation Name Purpose VLDC VCC virtual logical domain channel Virtual console concentrator communication channel between logical domain and hypervisor Acts as a virtual console for each logical domain VSW Virtual switch service provides network access for guest ldoms to the physical network ports VDS virtual disk service provides virtual storage service for guest ldoms VCPU virtual CPU Each thread of a T series CPU acts as a virtual CPU

MAU Memory Mathematical arithmetic unit Each core of T series CPU will have a MAU for accelerated RAS/DSA encryption Physical memory is mapped into virtual memory and assigned to ldoms VCONS Virtual console a port in guest ldom that connects to the VCC service in control domain VNET Virtual network network port in guest ldom which is connected to the VSW service in the control domain VSDEV Virtual disk service device physical storage device that is virtualized by VDS service in control domain VDISK Virtual disk VDISK in guest domain is connected to the VDS service in control domain/service domain INSTALLING THE OVM SOFTWARE To install the LDOM software simply unzip the software zip and run the install-ldm script with -s option in case you don t want to use the configuration assistant to configure the primary and guest ldoms. primary # unzip OVM_Server_SPARC_latest.zip primary #./install-ldm -s CREATING THE DEFAULT SERVICES Create the essential services like vsw, vcc and vds required to serve the guest LDOMs. primary# ldm add-vcc port-range=5000-5100 primary-vcc0 primary primary# ldm add-vds primary-vds0 primary primary# ldm add-vsw net-dev=nxge0 primary-vsw0 primary primary# ldm list-services primary VDS NAME VOLUME OPTIONS DEVICE primary-vds0 VCC NAME PORT-RANGE primary-vcc0 5000-5100 VSW NAME MAC NET-DEV DEVICE MODE primary-vsw0 02:04:4f:fb:9f:0d nxge0 switch@0 prog,promisc

INITIAL CONFIGURATION OF THE CONTROL DOMAIN By default all the VCPUs, Memory and MAUs are assigned to the primary domain which is the default domain created after installing the OVM for SPARC software. Primary or control domain is used to configure all the guest ldoms and provide necessary virtual services to them like vcc, vsw and vds. Logical domain manager is responsible to create, delete, modify and control ldoms, thus make sure the ldmd service is running before configuring the primary and guest domains. Use delayed reconfiguration in order to configure the primary ldom without rebooting for previous changes to take effect. primary# svcs -a grep ldmd online 14:23:34 svc:/ldoms/ldmd:default primary# ldm set-mau 1 primary primary# ldm set-vcpu 8 primary primary# ldm start-reconf primary (delayed reconfiguration) primary# ldm set-memory 4G primary primary# ldm add-config new_config primary# ldm list-config factory-default new_config [current] Reboot the primary domain for configuration settings to take effect primary# shutdown -y -g0 -i6 ENABLE NETWORKING BETWEEN PRIMARY AND GUEST DOMAINS By default communication between control domain and all the guest domains is disabled. To enable it, virtual switch has to be configured as the network device instead of nxge0. primary# ifconfig nxge0 down unplumb primary# ifconfig vsw0 plumb primary# ifconfig vsw0 192.168.1.2 netmask + broadcast + up primary# mv /etc/hostname.nxge0 /etc/hostname.vsw0 ENABLE VIRTUAL NETWORK TERMINAL SERVER DAEMON The vntsd daemon is responsible to provide the virtual network terminal services to the guest ldoms. If this service is not running enable it with svcadm command. primary# svcadm enable vntsd primary# svcs vntsd STATE STIME FMRI online Oct_12 svc:/ldoms/vntsd:default

SETTING UP THE GUEST DOMAIN We would assign 8 VCPUs, 2 GB of memory and 1 MAU to our first guest ldom. Also a virtual network vnet1 will be created and associated with the virtual switch vsw0. primary# ldm add-domain ldom01 primary# ldm add-vcpu 8 ldom01 primary# ldm add-memory 2G ldom01 primary-domain# ldm set-mau 1 ldom01 primary# ldm add-vnet vnet1 primary-vsw0 ldom01 ADDING STORAGE TO THE GUEST DOMAIN Here we first need to specify the physical device that needs to be exported by vdsdev to the guest domain and then we actually add the virtual disk thus created to the guest domain. Now use any one of the 3 methods mentioned below. 1. Adding physical disks primary# ldm add-vdsdev /dev/dsk/c2t1d0s2 vol1@primary-vds0 primary# ldm add-vdisk vdisk1 vol1@primary-vds0 ldom01 2. Adding file primary# mkfile 10g /ldoms/ldom01_boot primary# ldm add-vdsdev /ldoms/ldom01_boot vol1@primary-vds0 primary# ldm add-vdisk vdisk1 vol1@primary-vds0 ldom01 3. Adding a volume primary# zfs create -V 5gb pool/vol01 primary# ldm add-vdsdev /dev/zvol/dsk/pool/vol01 vol1@primary-vds0 primary# ldm add-vdisk vdisk1 vol1@primary-vds0 ldom01 SETTING VARIABLES Setup the boot environment variable for the guest ldom. primary# ldm set-var auto-boot?=true ldom01 primary# ldm set-var boot-device=vdisk1 ldom01 SETTING UP THE SOLARIS ISO IMAGE FOR INSTALLING GUEST LDOM Now we can also do a jumpstart installation of the guest domain. But one of the easiest and most widely used method is add iso image as virtual disk to the guest ldom and install it from it. Here you can access the vdisk sol10_iso in the ok prompt and boot from it. primary# ldm add-vdsdev options=ro /data/sol_10.iso iso@primary-vds0 primary# ldm add-vdisk sol10_iso iso@primary-vds0 ldom01

BIND AND START INSTALLING THE LDOM primary# ldm bind ldom01 primary# ldm start ldom01 LDom ldom01 started ok> devalias ok> boot sol10_iso CONNECT THE GUEST DOMAIN Now check the port which is bound with the guest domain and connect the virtual console of the guest domain. primary:~ # ldm list NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME primary active -n-cv SP 8 4G 0.3% 8h 46m ldom01 active -n--- 5000 8 2G 48% 1h 52m primary# telnet localhost 5000 Trying 127.0.0.1... Connected to localhost. Escape character is ^]. Connecting to console "ldom01" in group "ldom01"... Press ~? for control options.. FLAG DEFINITIONS Now you can see various flags in the ldm list command output. The falgs represent the current state of the ldom. column 1 column 2 column 3 column 4 column 5 column 6 s starting or stopping n normal t transition d delayed reconfiguration c control domain v virtual I/O service domain s source domain in migration t target domain in migration e error occurred in migration OTHER USEFUL COMMANDS View current version of Oracle VM server for SPARC software primary# ldm -V

Long listing of domains primary# ldm list -l List the resource for all LDOMs and per LDOM # ldm list -o cpu primary # ldm list -o network,memory ldom01 List the boot variables # ldm list-variable boot-device ldg1 boot-device=/virtual-devices@100/channel-devices@200/disk@0:a List the bindings of all the LDOMs # ldm list-bindings ldom List all server resources, bound and unbound. # ldm list-devices -a # ldm list-devices mem