SlideShare une entreprise Scribd logo
1  sur  71
Télécharger pour lire hors ligne
Solaris LDOMs
Hypervisor-based virtualization for Sparc T
Juanjo Amor
jjamor@opensistemas.com
OpenSistemas
27 May 2011
Juanjo Amor Solaris LDOMs
(cc) 2011 Juanjo Amor
Some rights reserved. This work licensed under Creative Commons
Attribution-ShareAlike License. To view a copy of full license, see
http://creativecommons.org/licenses/by-sa/3.0/ or write to
Creative Commons, 559 Nathan Abbott Way, Stanford,
California 94305, USA.
Juanjo Amor Solaris LDOMs
Index
Juanjo Amor Solaris LDOMs
About Opensistemas
Opensistemas is an international company
Juanjo Amor Solaris LDOMs
About Opensistemas
Opensistemas is an international company highly
specialized
Juanjo Amor Solaris LDOMs
About Opensistemas
Opensistemas is an international company highly
specialized in offering global IT solutions
Juanjo Amor Solaris LDOMs
About Opensistemas
Opensistemas is an international company highly
specialized in offering global IT solutionsbased
on Open Sourceand Linuxplatforms.
Juanjo Amor Solaris LDOMs
About Opensistemas
Our Vision:
Juanjo Amor Solaris LDOMs
About Opensistemas
Our Vision: To become the international leader in Open
Source Technologies.
Juanjo Amor Solaris LDOMs
About Opensistemas
Our Vision: To become the international leader in Open
Source Technologies.
Our Mission:
Juanjo Amor Solaris LDOMs
About Opensistemas
Our Vision: To become the international leader in Open
Source Technologies.
Our Mission: Apply our knowledge of the opportunities offered
by Open Source to deliver effective solutions and innovation to
our customers while promoting the professional development
of our employees and building value for shareholders.
Juanjo Amor Solaris LDOMs
About Opensistemas
Our Vision: To become the international leader in Open
Source Technologies.
Our Mission: Apply our knowledge of the opportunities offered
by Open Source to deliver effective solutions and innovation to
our customers while promoting the professional development
of our employees and building value for shareholders.
Our Values:
Juanjo Amor Solaris LDOMs
About Opensistemas
Our Vision: To become the international leader in Open
Source Technologies.
Our Mission: Apply our knowledge of the opportunities offered
by Open Source to deliver effective solutions and innovation to
our customers while promoting the professional development
of our employees and building value for shareholders.
Our Values:
Deliver effective solutiosn to our customers.
Corporate social responsibility.
Commitment to Open Source.
Ethics and Respect for individuals.
Research and Innovation.
Teamwork.
Commitment to the development of a society connected by
information and knowledge.
Juanjo Amor Solaris LDOMs
About Opensistemas
Our Markets
Juanjo Amor Solaris LDOMs
About Opensistemas
Our Partners
Juanjo Amor Solaris LDOMs
About Opensistemas
Opensistemas is present in nine locations over five countries: Spain
(Madrid, Valencia, Barcelona, Sevilla, Zaragoza), Chile (Santiago),
Colombia (Bogot˜A¡), United Kingdom (London) and China (Shanghai).
Juanjo Amor Solaris LDOMs
About Opensistemas
Contact Information
http://www.opensistemas.com/
info@opensistemas.com
+34 902 107 396
Juanjo Amor Solaris LDOMs
Index
Juanjo Amor Solaris LDOMs
Oracle VM projects
Virtualbox:
Juanjo Amor Solaris LDOMs
Oracle VM projects
Virtualbox: VMs for all. Cross-platform.
Juanjo Amor Solaris LDOMs
Oracle VM projects
Virtualbox: VMs for all. Cross-platform.
VM server for x86:
Juanjo Amor Solaris LDOMs
Oracle VM projects
Virtualbox: VMs for all. Cross-platform.
VM server for x86: Xen ported to Solaris/Illumos x86, and for
Oracle Linux.
Juanjo Amor Solaris LDOMs
Oracle VM projects
Virtualbox: VMs for all. Cross-platform.
VM server for x86: Xen ported to Solaris/Illumos x86, and for
Oracle Linux.
VM Server for Sparc (formerly LDOMs):
Juanjo Amor Solaris LDOMs
Oracle VM projects
Virtualbox: VMs for all. Cross-platform.
VM server for x86: Xen ported to Solaris/Illumos x86, and for
Oracle Linux.
VM Server for Sparc (formerly LDOMs): Type I hypervisor,
“full”, for Sparc T platform.
Juanjo Amor Solaris LDOMs
Oracle VM projects
Virtualbox: VMs for all. Cross-platform.
VM server for x86: Xen ported to Solaris/Illumos x86, and for
Oracle Linux.
VM Server for Sparc (formerly LDOMs): Type I hypervisor,
“full”, for Sparc T platform.
Zones:
Juanjo Amor Solaris LDOMs
Oracle VM projects
Virtualbox: VMs for all. Cross-platform.
VM server for x86: Xen ported to Solaris/Illumos x86, and for
Oracle Linux.
VM Server for Sparc (formerly LDOMs): Type I hypervisor,
“full”, for Sparc T platform.
Zones: Light virtualization for Solaris/Illumos.
Juanjo Amor Solaris LDOMs
Oracle VM projects
Virtualbox: VMs for all. Cross-platform.
VM server for x86: Xen ported to Solaris/Illumos x86, and for
Oracle Linux.
VM Server for Sparc (formerly LDOMs): Type I hypervisor,
“full”, for Sparc T platform.
Zones: Light virtualization for Solaris/Illumos.
Other:
Juanjo Amor Solaris LDOMs
Oracle VM projects
Virtualbox: VMs for all. Cross-platform.
VM server for x86: Xen ported to Solaris/Illumos x86, and for
Oracle Linux.
VM Server for Sparc (formerly LDOMs): Type I hypervisor,
“full”, for Sparc T platform.
Zones: Light virtualization for Solaris/Illumos.
Other: Ops center, VDI. . .
Juanjo Amor Solaris LDOMs
What are LDOMs?
LDOMs (Oracle VM Server for Sparc) are Logical Domains:
Juanjo Amor Solaris LDOMs
What are LDOMs?
LDOMs (Oracle VM Server for Sparc) are Logical Domains:
Hypervisor for (Open)Solaris running in specific hardware.
Juanjo Amor Solaris LDOMs
What are LDOMs?
LDOMs (Oracle VM Server for Sparc) are Logical Domains:
Hypervisor for (Open)Solaris running in specific hardware.
Type I hypervisor: layer between hardware and all OS.
Juanjo Amor Solaris LDOMs
What are LDOMs?
LDOMs (Oracle VM Server for Sparc) are Logical Domains:
Hypervisor for (Open)Solaris running in specific hardware.
Type I hypervisor: layer between hardware and all OS.
LDOMs hypervisor is run by the server firmware...
Juanjo Amor Solaris LDOMs
What are LDOMs?
LDOMs (Oracle VM Server for Sparc) are Logical Domains:
Hypervisor for (Open)Solaris running in specific hardware.
Type I hypervisor: layer between hardware and all OS.
LDOMs hypervisor is run by the server firmware...
... and one of the guest OS have special privileges to manage
hypervisor (“control domain”)
Juanjo Amor Solaris LDOMs
What are LDOMs?
LDOMs:
Juanjo Amor Solaris LDOMs
What are LDOMs?
LDOMs:
“full virtualization”, type I hypervisor
Juanjo Amor Solaris LDOMs
What are LDOMs?
LDOMs:
“full virtualization”, type I hypervisor
It requires special CPUs (Chip Multithreading = CMT).
Juanjo Amor Solaris LDOMs
What are LDOMs?
LDOMs:
“full virtualization”, type I hypervisor
It requires special CPUs (Chip Multithreading = CMT).
Base OS: Solaris 10 / 11 / Opensolaris 2009.06
Juanjo Amor Solaris LDOMs
What are LDOMs?
LDOMs:
“full virtualization”, type I hypervisor
It requires special CPUs (Chip Multithreading = CMT).
Base OS: Solaris 10 / 11 / Opensolaris 2009.06
Guest OS:
Juanjo Amor Solaris LDOMs
What are LDOMs?
LDOMs:
“full virtualization”, type I hypervisor
It requires special CPUs (Chip Multithreading = CMT).
Base OS: Solaris 10 / 11 / Opensolaris 2009.06
Guest OS:
Solaris 10/11, Opensolaris 2009.06, Illumos?
Juanjo Amor Solaris LDOMs
What are LDOMs?
LDOMs:
“full virtualization”, type I hypervisor
It requires special CPUs (Chip Multithreading = CMT).
Base OS: Solaris 10 / 11 / Opensolaris 2009.06
Guest OS:
Solaris 10/11, Opensolaris 2009.06, Illumos?
Sparc Linux and other OS which support this architecture.
Juanjo Amor Solaris LDOMs
What are LDOMs?
LDOMs:
“full virtualization”, type I hypervisor
It requires special CPUs (Chip Multithreading = CMT).
Base OS: Solaris 10 / 11 / Opensolaris 2009.06
Guest OS:
Solaris 10/11, Opensolaris 2009.06, Illumos?
Sparc Linux and other OS which support this architecture.
Currently, only SunOS is supported as Guest OS.
Juanjo Amor Solaris LDOMs
Chip Multithreading (CMT)
Ultrasparc T1/T2/T3
Juanjo Amor Solaris LDOMs
Chip Multithreading (CMT)
Ultrasparc T1/T2/T3
Multithread. A thread is similar to a CPU.
Juanjo Amor Solaris LDOMs
Chip Multithreading (CMT)
Ultrasparc T1/T2/T3
Multithread. A thread is similar to a CPU.
Example: T1 has 8 cores with 4 threads/core.
Juanjo Amor Solaris LDOMs
Chip Multithreading (CMT)
Ultrasparc T1/T2/T3
Multithread. A thread is similar to a CPU.
Example: T1 has 8 cores with 4 threads/core.
Direct SSL support on hardware (1 MAU/core).
Juanjo Amor Solaris LDOMs
Chip Multithreading (CMT)
Ultrasparc T1/T2/T3
Multithread. A thread is similar to a CPU.
Example: T1 has 8 cores with 4 threads/core.
Direct SSL support on hardware (1 MAU/core).
LDOMs can assign threads to VMs.
Juanjo Amor Solaris LDOMs
Chip Multithreading (CMT)
Ultrasparc T1/T2/T3
Multithread. A thread is similar to a CPU.
Example: T1 has 8 cores with 4 threads/core.
Direct SSL support on hardware (1 MAU/core).
LDOMs can assign threads to VMs.
Hypervisor runs on server firmware.
Juanjo Amor Solaris LDOMs
Chip Multithreading (CMT)
Ultrasparc T1/T2/T3
Multithread. A thread is similar to a CPU.
Example: T1 has 8 cores with 4 threads/core.
Direct SSL support on hardware (1 MAU/core).
LDOMs can assign threads to VMs.
Hypervisor runs on server firmware.
“free” hardware: http://www.opensparc.net/
Juanjo Amor Solaris LDOMs
Chip Multithreading (CMT)
Ultrasparc T1/T2/T3
Multithread. A thread is similar to a CPU.
Example: T1 has 8 cores with 4 threads/core.
Direct SSL support on hardware (1 MAU/core).
LDOMs can assign threads to VMs.
Hypervisor runs on server firmware.
“free” hardware: http://www.opensparc.net/
Sun Fire T / Enterprise T / Blade T Servers
Juanjo Amor Solaris LDOMs
Installing LDOMs
1. LDOMs 1.2 may require firmware upgrade:
Juanjo Amor Solaris LDOMs
Installing LDOMs
1. LDOMs 1.2 may require firmware upgrade:
some servers could have firmware older than 6.7.4.
Juanjo Amor Solaris LDOMs
Installing LDOMs
1. LDOMs 1.2 may require firmware upgrade:
some servers could have firmware older than 6.7.4.
sc> showhost
Sun-Fire-T2000 System Firmware 6.5.3 2007/10/03 05:56
Host flash versions:
Hypervisor 1.5.2 2007/09/25 08:39
OBP 4.27.4 2007/10/02 18:35
POST 4.27.4 2007/10/02 19:03
# ./sysfwdownload ./Sun_System_Firmware-6_7_4-Sun_Fire_T2000.bin
... ... ... ...
Download completed succesfully.
sc> flashupdate -s 127.0.0.1
... ... ...
Update complete. Reset device to use new software.
sc> resetsc
Juanjo Amor Solaris LDOMs
Installing LDOMs (II)
2. Install ldoms manager 1.2 package.
Juanjo Amor Solaris LDOMs
Installing LDOMs (II)
2. Install ldoms manager 1.2 package.
Package available in Opensolaris repository.
Juanjo Amor Solaris LDOMs
Installing LDOMs (II)
2. Install ldoms manager 1.2 package.
Package available in Opensolaris repository.
# pkg install ldomsmanager
Juanjo Amor Solaris LDOMs
Installing LDOMs (II)
2. Install ldoms manager 1.2 package.
Package available in Opensolaris repository.
# pkg install ldomsmanager
3. Initial setup of domain controller.
Juanjo Amor Solaris LDOMs
Installing LDOMs (II)
2. Install ldoms manager 1.2 package.
Package available in Opensolaris repository.
# pkg install ldomsmanager
3. Initial setup of domain controller.
global# ldm add-vds primary-vds0 primary
global# ldm add-vcc port-range=5000-5100 primary-vcc0
global# ldm add-vsw net-dev=e1000g2 primary-vsw0 primary
global# ldm set-mau 1 primary
global# ldm set-vcpu 16 primary
global# ldm set-memory 16384m primary
global# ldm ls
------------------------------------------------------------------------------
Notice: the LDom Manager is running in configuration mode. Configuration and
resource information is displayed for the configuration under construction;
not the current active configuration. The configuration being constructed
will only take effect after it is downloaded to the system controller and
the host is reset.
------------------------------------------------------------------------------
NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
primary active -n-cv- SP 16 16G 0.0% 1h 9m
Juanjo Amor Solaris LDOMs
Installing LDOMs (III)
5. Load configuration to system controller (SC) and reboot.
Juanjo Amor Solaris LDOMs
Installing LDOMs (III)
5. Load configuration to system controller (SC) and reboot.
global# ldm list-spconfig
factory-default [current]
global# ldm add-spconfig config_01
global# ldm list-spconfig
global# init 6
...
...
syncing file systems... done
rebooting...
SC Alert: Host System has Reset
...
...
Sun Fire T200, No Keyboard
Copyright 2009 Sun Microsystems, Inc. All rights reserved.
OpenBoot 4.30.3, 16384 MB memory available, Serial #70066726.
Ethernet address 0:14:4f:2d:22:26, Host ID: 842d2226.
Juanjo Amor Solaris LDOMs
Creating a LDOMs domain
1. Create and start the domain.
Juanjo Amor Solaris LDOMs
Creating a LDOMs domain
1. Create and start the domain.
global# ldm add-domain t2000-01
global# ldm add-vcpu 4 t2000-01
global# ldm add-memory 2048m t2000-01
global# mkfile 4G /export/ldomsvdisks/t2000-01-00.img
global# ldm add-vdsdev /export/ldomsvdisks/t2000-01-00.img vol1@primary-vds0
global# ldm add-vdisk vdisk1 vol1@primary-vds0 t2000-01
global# ldm add-vdsdev /export/aiserver/solaris10-01.iso iso@primary-vds0
global# ldm add-vdisk vcdrom iso@primary-vds0 t2000-01
global# ldm add-vnet vnet1 primary-vsw0 t2000-01
global# ldm bind-domain t2000-01
global# ldm start-domain t2000-01
global# ldm ls
NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
primary active -n-cv- SP 16 16G 0.2% 1h 9m
t2000-01 active -t---- 5000 4 2G 25% 1m
Juanjo Amor Solaris LDOMs
Creating a LDOMs domain
1. Create and start the domain.
global# ldm add-domain t2000-01
global# ldm add-vcpu 4 t2000-01
global# ldm add-memory 2048m t2000-01
global# mkfile 4G /export/ldomsvdisks/t2000-01-00.img
global# ldm add-vdsdev /export/ldomsvdisks/t2000-01-00.img vol1@primary-vds0
global# ldm add-vdisk vdisk1 vol1@primary-vds0 t2000-01
global# ldm add-vdsdev /export/aiserver/solaris10-01.iso iso@primary-vds0
global# ldm add-vdisk vcdrom iso@primary-vds0 t2000-01
global# ldm add-vnet vnet1 primary-vsw0 t2000-01
global# ldm bind-domain t2000-01
global# ldm start-domain t2000-01
global# ldm ls
NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
primary active -n-cv- SP 16 16G 0.2% 1h 9m
t2000-01 active -t---- 5000 4 2G 25% 1m
2. Enter the domain console.
Juanjo Amor Solaris LDOMs
Creating a LDOMs domain
1. Create and start the domain.
global# ldm add-domain t2000-01
global# ldm add-vcpu 4 t2000-01
global# ldm add-memory 2048m t2000-01
global# mkfile 4G /export/ldomsvdisks/t2000-01-00.img
global# ldm add-vdsdev /export/ldomsvdisks/t2000-01-00.img vol1@primary-vds0
global# ldm add-vdisk vdisk1 vol1@primary-vds0 t2000-01
global# ldm add-vdsdev /export/aiserver/solaris10-01.iso iso@primary-vds0
global# ldm add-vdisk vcdrom iso@primary-vds0 t2000-01
global# ldm add-vnet vnet1 primary-vsw0 t2000-01
global# ldm bind-domain t2000-01
global# ldm start-domain t2000-01
global# ldm ls
NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
primary active -n-cv- SP 16 16G 0.2% 1h 9m
t2000-01 active -t---- 5000 4 2G 25% 1m
2. Enter the domain console.
global# telnet 127.0.0.1 5000
Connecting to console "t2000-01" in group "t2000-01" ....
Press ~? for control options ..
Sun Fire T200, No Keyboard
Copyright 2009 Sun Microsystems, Inc. All rights reserved.
OpenBoot 4.30.3, 2048 MB memory available, Serial #83521591.
Ethernet address 0:14:4f:fa:70:37, Host ID: 84fa7037.
{0} ok boot vcdrom ...
Juanjo Amor Solaris LDOMs
LDOMs domains
3. Installing a guest OS.
Juanjo Amor Solaris LDOMs
LDOMs domains
3. Installing a guest OS.
Opensolaris 2009.06, through automated install (AI).
Juanjo Amor Solaris LDOMs
LDOMs domains
3. Installing a guest OS.
Opensolaris 2009.06, through automated install (AI).
Solaris 10/11, through network or cdrom.
Juanjo Amor Solaris LDOMs
LDOMs domains
3. Installing a guest OS.
Opensolaris 2009.06, through automated install (AI).
Solaris 10/11, through network or cdrom.
Debian, Ubuntu for Sparc (old releases, unsupported).
Juanjo Amor Solaris LDOMs
LDOMs domains
3. Installing a guest OS.
Opensolaris 2009.06, through automated install (AI).
Solaris 10/11, through network or cdrom.
Debian, Ubuntu for Sparc (old releases, unsupported).
other, unsupported.
Juanjo Amor Solaris LDOMs
LDOMs domains
3. Installing a guest OS.
Opensolaris 2009.06, through automated install (AI).
Solaris 10/11, through network or cdrom.
Debian, Ubuntu for Sparc (old releases, unsupported).
other, unsupported.
4. Destroying a LDOMs domain.
Juanjo Amor Solaris LDOMs
LDOMs domains
3. Installing a guest OS.
Opensolaris 2009.06, through automated install (AI).
Solaris 10/11, through network or cdrom.
Debian, Ubuntu for Sparc (old releases, unsupported).
other, unsupported.
4. Destroying a LDOMs domain.
global# ldm stop t2000-01
global# ldm unbind t2000-01
global# ldm remove-vnet vnet1 t2000-01
global# ldm remove-domain t2000-01
global# ldm remove-vdsdev vdisk1
global# ldm
global# rm /export/ldomvdisks/t2000-01.img
global# ldm remove-vdsdev vcdrom
Juanjo Amor Solaris LDOMs
References
Opensolaris LDOMs community
http://opensolaris.org/os/community/ldoms
Opensparc
http://www.opensparc.net/
CMT Oracle (formerly Sun) servers
http://www.oracle.com/us/products/
servers-storage/servers/sparc-enterprise/t-series
See our old stuff
http://dramor.net/blog/archives/243
http://dramor.net/blog/archives/250
Juanjo Amor Solaris LDOMs

Contenu connexe

Similaire à Virtualization - Solaris LDOMs - OpenSistemas

First Seminar
First SeminarFirst Seminar
First Seminar
Chudack
 
17294_HiperSockets.pdf
17294_HiperSockets.pdf17294_HiperSockets.pdf
17294_HiperSockets.pdf
Eeszt
 
Open Source Software For Education
Open Source Software For EducationOpen Source Software For Education
Open Source Software For Education
Videoguy
 
Illumos la-jan11
Illumos la-jan11Illumos la-jan11
Illumos la-jan11
Evan Powell
 
Opensolaris Introduction Extended
Opensolaris Introduction ExtendedOpensolaris Introduction Extended
Opensolaris Introduction Extended
alpercelk
 
TEE - kernel support is now upstream. What this means for open source security
TEE - kernel support is now upstream. What this means for open source securityTEE - kernel support is now upstream. What this means for open source security
TEE - kernel support is now upstream. What this means for open source security
Linaro
 
Innovation for Participation - Paul De Decker, Sun Microsystems
Innovation for Participation - Paul De Decker, Sun MicrosystemsInnovation for Participation - Paul De Decker, Sun Microsystems
Innovation for Participation - Paul De Decker, Sun Microsystems
robinwauters
 

Similaire à Virtualization - Solaris LDOMs - OpenSistemas (20)

First Seminar
First SeminarFirst Seminar
First Seminar
 
17294_HiperSockets.pdf
17294_HiperSockets.pdf17294_HiperSockets.pdf
17294_HiperSockets.pdf
 
OpenShift PaaS Anywhere (Infrastructure.Next Ghent 2014-02-24) Diane Mueller
OpenShift PaaS Anywhere (Infrastructure.Next Ghent 2014-02-24) Diane Mueller OpenShift PaaS Anywhere (Infrastructure.Next Ghent 2014-02-24) Diane Mueller
OpenShift PaaS Anywhere (Infrastructure.Next Ghent 2014-02-24) Diane Mueller
 
Open Source Software For Education
Open Source Software For EducationOpen Source Software For Education
Open Source Software For Education
 
Java tuning on GNU/Linux for busy dev
Java tuning on GNU/Linux for busy devJava tuning on GNU/Linux for busy dev
Java tuning on GNU/Linux for busy dev
 
Open Source Software You Can Use
Open Source Software You Can UseOpen Source Software You Can Use
Open Source Software You Can Use
 
Virtual Worlds Meet Open Source
Virtual Worlds Meet Open SourceVirtual Worlds Meet Open Source
Virtual Worlds Meet Open Source
 
Illumos la-jan11
Illumos la-jan11Illumos la-jan11
Illumos la-jan11
 
Open Source in the Enterprise
Open Source in the EnterpriseOpen Source in the Enterprise
Open Source in the Enterprise
 
OpenShift Anywhere given at Infrastructure.Next Talk at #Scale12X
OpenShift Anywhere given at Infrastructure.Next Talk at #Scale12XOpenShift Anywhere given at Infrastructure.Next Talk at #Scale12X
OpenShift Anywhere given at Infrastructure.Next Talk at #Scale12X
 
Delphi ORM SOA MVC SQL NoSQL JSON REST mORMot
Delphi ORM SOA MVC SQL NoSQL JSON REST mORMotDelphi ORM SOA MVC SQL NoSQL JSON REST mORMot
Delphi ORM SOA MVC SQL NoSQL JSON REST mORMot
 
Opensolaris Introduction Extended
Opensolaris Introduction ExtendedOpensolaris Introduction Extended
Opensolaris Introduction Extended
 
PHP SA 2013 - The weak points in our PHP projects
PHP SA 2013 - The weak points in our PHP projectsPHP SA 2013 - The weak points in our PHP projects
PHP SA 2013 - The weak points in our PHP projects
 
Foss Presentation
Foss PresentationFoss Presentation
Foss Presentation
 
Linux Seminar for Beginners
Linux Seminar for BeginnersLinux Seminar for Beginners
Linux Seminar for Beginners
 
TEE - kernel support is now upstream. What this means for open source security
TEE - kernel support is now upstream. What this means for open source securityTEE - kernel support is now upstream. What this means for open source security
TEE - kernel support is now upstream. What this means for open source security
 
IoTivity Tutorial: Prototyping IoT Devices on GNU/Linux
IoTivity Tutorial: Prototyping IoT Devices on GNU/LinuxIoTivity Tutorial: Prototyping IoT Devices on GNU/Linux
IoTivity Tutorial: Prototyping IoT Devices on GNU/Linux
 
Opensource
OpensourceOpensource
Opensource
 
Bringing up Android on your favorite X86 Workstation or VM (AnDevCon IV, 2012)
Bringing up Android on your favorite X86 Workstation or VM (AnDevCon IV, 2012)Bringing up Android on your favorite X86 Workstation or VM (AnDevCon IV, 2012)
Bringing up Android on your favorite X86 Workstation or VM (AnDevCon IV, 2012)
 
Innovation for Participation - Paul De Decker, Sun Microsystems
Innovation for Participation - Paul De Decker, Sun MicrosystemsInnovation for Participation - Paul De Decker, Sun Microsystems
Innovation for Participation - Paul De Decker, Sun Microsystems
 

Plus de OpenSistemas

Drupal 7. Puesta en producción en sistemas multientorno
Drupal 7. Puesta en producción en sistemas multientornoDrupal 7. Puesta en producción en sistemas multientorno
Drupal 7. Puesta en producción en sistemas multientorno
OpenSistemas
 
osBrain: una herramienta para la inversión automática en bolsa y mercados de ...
osBrain: una herramienta para la inversión automática en bolsa y mercados de ...osBrain: una herramienta para la inversión automática en bolsa y mercados de ...
osBrain: una herramienta para la inversión automática en bolsa y mercados de ...
OpenSistemas
 
Proceso de liberación en el marco legal del código abierto - OpenSistemas
Proceso de liberación en el marco legal del código abierto - OpenSistemasProceso de liberación en el marco legal del código abierto - OpenSistemas
Proceso de liberación en el marco legal del código abierto - OpenSistemas
OpenSistemas
 
CACert - A Community-driven Certification Authority - OpenSistemas
CACert - A Community-driven Certification Authority - OpenSistemasCACert - A Community-driven Certification Authority - OpenSistemas
CACert - A Community-driven Certification Authority - OpenSistemas
OpenSistemas
 
Floss leaders - OpenSistemas
Floss leaders - OpenSistemasFloss leaders - OpenSistemas
Floss leaders - OpenSistemas
OpenSistemas
 

Plus de OpenSistemas (18)

From SF with Love
From SF with LoveFrom SF with Love
From SF with Love
 
OpenSistemas Corporate Presentation
OpenSistemas Corporate PresentationOpenSistemas Corporate Presentation
OpenSistemas Corporate Presentation
 
Data Platform & Analytics OpenSistemas MSFT Playbook
Data Platform & Analytics OpenSistemas MSFT PlaybookData Platform & Analytics OpenSistemas MSFT Playbook
Data Platform & Analytics OpenSistemas MSFT Playbook
 
El futuro Data Driven en e-Learning y RR.HH.
El futuro Data Driven en e-Learning y RR.HH.El futuro Data Driven en e-Learning y RR.HH.
El futuro Data Driven en e-Learning y RR.HH.
 
Apache spark y cómo lo usamos en nuestros proyectos
Apache spark y cómo lo usamos en nuestros proyectosApache spark y cómo lo usamos en nuestros proyectos
Apache spark y cómo lo usamos en nuestros proyectos
 
El software como acción humana
El software como acción humanaEl software como acción humana
El software como acción humana
 
Cómo crear ports en FreeBSD #PicnicCode2015
Cómo crear ports en FreeBSD #PicnicCode2015Cómo crear ports en FreeBSD #PicnicCode2015
Cómo crear ports en FreeBSD #PicnicCode2015
 
Área Education - OpenSistemas
Área Education - OpenSistemasÁrea Education - OpenSistemas
Área Education - OpenSistemas
 
Drupal 7. Puesta en producción en sistemas multientorno
Drupal 7. Puesta en producción en sistemas multientornoDrupal 7. Puesta en producción en sistemas multientorno
Drupal 7. Puesta en producción en sistemas multientorno
 
osBrain: una herramienta para la inversión automática en bolsa y mercados de ...
osBrain: una herramienta para la inversión automática en bolsa y mercados de ...osBrain: una herramienta para la inversión automática en bolsa y mercados de ...
osBrain: una herramienta para la inversión automática en bolsa y mercados de ...
 
Área de Soporte - OpenSistemas
Área de Soporte - OpenSistemasÁrea de Soporte - OpenSistemas
Área de Soporte - OpenSistemas
 
Minería de datos para trading automático
Minería de datos para trading automáticoMinería de datos para trading automático
Minería de datos para trading automático
 
Proceso de liberación en el marco legal del código abierto - OpenSistemas
Proceso de liberación en el marco legal del código abierto - OpenSistemasProceso de liberación en el marco legal del código abierto - OpenSistemas
Proceso de liberación en el marco legal del código abierto - OpenSistemas
 
CACert - A Community-driven Certification Authority - OpenSistemas
CACert - A Community-driven Certification Authority - OpenSistemasCACert - A Community-driven Certification Authority - OpenSistemas
CACert - A Community-driven Certification Authority - OpenSistemas
 
Floss leaders - OpenSistemas
Floss leaders - OpenSistemasFloss leaders - OpenSistemas
Floss leaders - OpenSistemas
 
Business Intelligence and Pentaho Services - OpenSistemas
Business Intelligence and Pentaho Services - OpenSistemasBusiness Intelligence and Pentaho Services - OpenSistemas
Business Intelligence and Pentaho Services - OpenSistemas
 
easyGTD - product Info
easyGTD - product InfoeasyGTD - product Info
easyGTD - product Info
 
easyGTD - presentación producto
easyGTD - presentación productoeasyGTD - presentación producto
easyGTD - presentación producto
 

Dernier

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Dernier (20)

Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 

Virtualization - Solaris LDOMs - OpenSistemas

  • 1. Solaris LDOMs Hypervisor-based virtualization for Sparc T Juanjo Amor jjamor@opensistemas.com OpenSistemas 27 May 2011 Juanjo Amor Solaris LDOMs
  • 2. (cc) 2011 Juanjo Amor Some rights reserved. This work licensed under Creative Commons Attribution-ShareAlike License. To view a copy of full license, see http://creativecommons.org/licenses/by-sa/3.0/ or write to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA. Juanjo Amor Solaris LDOMs
  • 4. About Opensistemas Opensistemas is an international company Juanjo Amor Solaris LDOMs
  • 5. About Opensistemas Opensistemas is an international company highly specialized Juanjo Amor Solaris LDOMs
  • 6. About Opensistemas Opensistemas is an international company highly specialized in offering global IT solutions Juanjo Amor Solaris LDOMs
  • 7. About Opensistemas Opensistemas is an international company highly specialized in offering global IT solutionsbased on Open Sourceand Linuxplatforms. Juanjo Amor Solaris LDOMs
  • 9. About Opensistemas Our Vision: To become the international leader in Open Source Technologies. Juanjo Amor Solaris LDOMs
  • 10. About Opensistemas Our Vision: To become the international leader in Open Source Technologies. Our Mission: Juanjo Amor Solaris LDOMs
  • 11. About Opensistemas Our Vision: To become the international leader in Open Source Technologies. Our Mission: Apply our knowledge of the opportunities offered by Open Source to deliver effective solutions and innovation to our customers while promoting the professional development of our employees and building value for shareholders. Juanjo Amor Solaris LDOMs
  • 12. About Opensistemas Our Vision: To become the international leader in Open Source Technologies. Our Mission: Apply our knowledge of the opportunities offered by Open Source to deliver effective solutions and innovation to our customers while promoting the professional development of our employees and building value for shareholders. Our Values: Juanjo Amor Solaris LDOMs
  • 13. About Opensistemas Our Vision: To become the international leader in Open Source Technologies. Our Mission: Apply our knowledge of the opportunities offered by Open Source to deliver effective solutions and innovation to our customers while promoting the professional development of our employees and building value for shareholders. Our Values: Deliver effective solutiosn to our customers. Corporate social responsibility. Commitment to Open Source. Ethics and Respect for individuals. Research and Innovation. Teamwork. Commitment to the development of a society connected by information and knowledge. Juanjo Amor Solaris LDOMs
  • 16. About Opensistemas Opensistemas is present in nine locations over five countries: Spain (Madrid, Valencia, Barcelona, Sevilla, Zaragoza), Chile (Santiago), Colombia (Bogot˜A¡), United Kingdom (London) and China (Shanghai). Juanjo Amor Solaris LDOMs
  • 20. Oracle VM projects Virtualbox: VMs for all. Cross-platform. Juanjo Amor Solaris LDOMs
  • 21. Oracle VM projects Virtualbox: VMs for all. Cross-platform. VM server for x86: Juanjo Amor Solaris LDOMs
  • 22. Oracle VM projects Virtualbox: VMs for all. Cross-platform. VM server for x86: Xen ported to Solaris/Illumos x86, and for Oracle Linux. Juanjo Amor Solaris LDOMs
  • 23. Oracle VM projects Virtualbox: VMs for all. Cross-platform. VM server for x86: Xen ported to Solaris/Illumos x86, and for Oracle Linux. VM Server for Sparc (formerly LDOMs): Juanjo Amor Solaris LDOMs
  • 24. Oracle VM projects Virtualbox: VMs for all. Cross-platform. VM server for x86: Xen ported to Solaris/Illumos x86, and for Oracle Linux. VM Server for Sparc (formerly LDOMs): Type I hypervisor, “full”, for Sparc T platform. Juanjo Amor Solaris LDOMs
  • 25. Oracle VM projects Virtualbox: VMs for all. Cross-platform. VM server for x86: Xen ported to Solaris/Illumos x86, and for Oracle Linux. VM Server for Sparc (formerly LDOMs): Type I hypervisor, “full”, for Sparc T platform. Zones: Juanjo Amor Solaris LDOMs
  • 26. Oracle VM projects Virtualbox: VMs for all. Cross-platform. VM server for x86: Xen ported to Solaris/Illumos x86, and for Oracle Linux. VM Server for Sparc (formerly LDOMs): Type I hypervisor, “full”, for Sparc T platform. Zones: Light virtualization for Solaris/Illumos. Juanjo Amor Solaris LDOMs
  • 27. Oracle VM projects Virtualbox: VMs for all. Cross-platform. VM server for x86: Xen ported to Solaris/Illumos x86, and for Oracle Linux. VM Server for Sparc (formerly LDOMs): Type I hypervisor, “full”, for Sparc T platform. Zones: Light virtualization for Solaris/Illumos. Other: Juanjo Amor Solaris LDOMs
  • 28. Oracle VM projects Virtualbox: VMs for all. Cross-platform. VM server for x86: Xen ported to Solaris/Illumos x86, and for Oracle Linux. VM Server for Sparc (formerly LDOMs): Type I hypervisor, “full”, for Sparc T platform. Zones: Light virtualization for Solaris/Illumos. Other: Ops center, VDI. . . Juanjo Amor Solaris LDOMs
  • 29. What are LDOMs? LDOMs (Oracle VM Server for Sparc) are Logical Domains: Juanjo Amor Solaris LDOMs
  • 30. What are LDOMs? LDOMs (Oracle VM Server for Sparc) are Logical Domains: Hypervisor for (Open)Solaris running in specific hardware. Juanjo Amor Solaris LDOMs
  • 31. What are LDOMs? LDOMs (Oracle VM Server for Sparc) are Logical Domains: Hypervisor for (Open)Solaris running in specific hardware. Type I hypervisor: layer between hardware and all OS. Juanjo Amor Solaris LDOMs
  • 32. What are LDOMs? LDOMs (Oracle VM Server for Sparc) are Logical Domains: Hypervisor for (Open)Solaris running in specific hardware. Type I hypervisor: layer between hardware and all OS. LDOMs hypervisor is run by the server firmware... Juanjo Amor Solaris LDOMs
  • 33. What are LDOMs? LDOMs (Oracle VM Server for Sparc) are Logical Domains: Hypervisor for (Open)Solaris running in specific hardware. Type I hypervisor: layer between hardware and all OS. LDOMs hypervisor is run by the server firmware... ... and one of the guest OS have special privileges to manage hypervisor (“control domain”) Juanjo Amor Solaris LDOMs
  • 34. What are LDOMs? LDOMs: Juanjo Amor Solaris LDOMs
  • 35. What are LDOMs? LDOMs: “full virtualization”, type I hypervisor Juanjo Amor Solaris LDOMs
  • 36. What are LDOMs? LDOMs: “full virtualization”, type I hypervisor It requires special CPUs (Chip Multithreading = CMT). Juanjo Amor Solaris LDOMs
  • 37. What are LDOMs? LDOMs: “full virtualization”, type I hypervisor It requires special CPUs (Chip Multithreading = CMT). Base OS: Solaris 10 / 11 / Opensolaris 2009.06 Juanjo Amor Solaris LDOMs
  • 38. What are LDOMs? LDOMs: “full virtualization”, type I hypervisor It requires special CPUs (Chip Multithreading = CMT). Base OS: Solaris 10 / 11 / Opensolaris 2009.06 Guest OS: Juanjo Amor Solaris LDOMs
  • 39. What are LDOMs? LDOMs: “full virtualization”, type I hypervisor It requires special CPUs (Chip Multithreading = CMT). Base OS: Solaris 10 / 11 / Opensolaris 2009.06 Guest OS: Solaris 10/11, Opensolaris 2009.06, Illumos? Juanjo Amor Solaris LDOMs
  • 40. What are LDOMs? LDOMs: “full virtualization”, type I hypervisor It requires special CPUs (Chip Multithreading = CMT). Base OS: Solaris 10 / 11 / Opensolaris 2009.06 Guest OS: Solaris 10/11, Opensolaris 2009.06, Illumos? Sparc Linux and other OS which support this architecture. Juanjo Amor Solaris LDOMs
  • 41. What are LDOMs? LDOMs: “full virtualization”, type I hypervisor It requires special CPUs (Chip Multithreading = CMT). Base OS: Solaris 10 / 11 / Opensolaris 2009.06 Guest OS: Solaris 10/11, Opensolaris 2009.06, Illumos? Sparc Linux and other OS which support this architecture. Currently, only SunOS is supported as Guest OS. Juanjo Amor Solaris LDOMs
  • 42. Chip Multithreading (CMT) Ultrasparc T1/T2/T3 Juanjo Amor Solaris LDOMs
  • 43. Chip Multithreading (CMT) Ultrasparc T1/T2/T3 Multithread. A thread is similar to a CPU. Juanjo Amor Solaris LDOMs
  • 44. Chip Multithreading (CMT) Ultrasparc T1/T2/T3 Multithread. A thread is similar to a CPU. Example: T1 has 8 cores with 4 threads/core. Juanjo Amor Solaris LDOMs
  • 45. Chip Multithreading (CMT) Ultrasparc T1/T2/T3 Multithread. A thread is similar to a CPU. Example: T1 has 8 cores with 4 threads/core. Direct SSL support on hardware (1 MAU/core). Juanjo Amor Solaris LDOMs
  • 46. Chip Multithreading (CMT) Ultrasparc T1/T2/T3 Multithread. A thread is similar to a CPU. Example: T1 has 8 cores with 4 threads/core. Direct SSL support on hardware (1 MAU/core). LDOMs can assign threads to VMs. Juanjo Amor Solaris LDOMs
  • 47. Chip Multithreading (CMT) Ultrasparc T1/T2/T3 Multithread. A thread is similar to a CPU. Example: T1 has 8 cores with 4 threads/core. Direct SSL support on hardware (1 MAU/core). LDOMs can assign threads to VMs. Hypervisor runs on server firmware. Juanjo Amor Solaris LDOMs
  • 48. Chip Multithreading (CMT) Ultrasparc T1/T2/T3 Multithread. A thread is similar to a CPU. Example: T1 has 8 cores with 4 threads/core. Direct SSL support on hardware (1 MAU/core). LDOMs can assign threads to VMs. Hypervisor runs on server firmware. “free” hardware: http://www.opensparc.net/ Juanjo Amor Solaris LDOMs
  • 49. Chip Multithreading (CMT) Ultrasparc T1/T2/T3 Multithread. A thread is similar to a CPU. Example: T1 has 8 cores with 4 threads/core. Direct SSL support on hardware (1 MAU/core). LDOMs can assign threads to VMs. Hypervisor runs on server firmware. “free” hardware: http://www.opensparc.net/ Sun Fire T / Enterprise T / Blade T Servers Juanjo Amor Solaris LDOMs
  • 50. Installing LDOMs 1. LDOMs 1.2 may require firmware upgrade: Juanjo Amor Solaris LDOMs
  • 51. Installing LDOMs 1. LDOMs 1.2 may require firmware upgrade: some servers could have firmware older than 6.7.4. Juanjo Amor Solaris LDOMs
  • 52. Installing LDOMs 1. LDOMs 1.2 may require firmware upgrade: some servers could have firmware older than 6.7.4. sc> showhost Sun-Fire-T2000 System Firmware 6.5.3 2007/10/03 05:56 Host flash versions: Hypervisor 1.5.2 2007/09/25 08:39 OBP 4.27.4 2007/10/02 18:35 POST 4.27.4 2007/10/02 19:03 # ./sysfwdownload ./Sun_System_Firmware-6_7_4-Sun_Fire_T2000.bin ... ... ... ... Download completed succesfully. sc> flashupdate -s 127.0.0.1 ... ... ... Update complete. Reset device to use new software. sc> resetsc Juanjo Amor Solaris LDOMs
  • 53. Installing LDOMs (II) 2. Install ldoms manager 1.2 package. Juanjo Amor Solaris LDOMs
  • 54. Installing LDOMs (II) 2. Install ldoms manager 1.2 package. Package available in Opensolaris repository. Juanjo Amor Solaris LDOMs
  • 55. Installing LDOMs (II) 2. Install ldoms manager 1.2 package. Package available in Opensolaris repository. # pkg install ldomsmanager Juanjo Amor Solaris LDOMs
  • 56. Installing LDOMs (II) 2. Install ldoms manager 1.2 package. Package available in Opensolaris repository. # pkg install ldomsmanager 3. Initial setup of domain controller. Juanjo Amor Solaris LDOMs
  • 57. Installing LDOMs (II) 2. Install ldoms manager 1.2 package. Package available in Opensolaris repository. # pkg install ldomsmanager 3. Initial setup of domain controller. global# ldm add-vds primary-vds0 primary global# ldm add-vcc port-range=5000-5100 primary-vcc0 global# ldm add-vsw net-dev=e1000g2 primary-vsw0 primary global# ldm set-mau 1 primary global# ldm set-vcpu 16 primary global# ldm set-memory 16384m primary global# ldm ls ------------------------------------------------------------------------------ Notice: the LDom Manager is running in configuration mode. Configuration and resource information is displayed for the configuration under construction; not the current active configuration. The configuration being constructed will only take effect after it is downloaded to the system controller and the host is reset. ------------------------------------------------------------------------------ NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME primary active -n-cv- SP 16 16G 0.0% 1h 9m Juanjo Amor Solaris LDOMs
  • 58. Installing LDOMs (III) 5. Load configuration to system controller (SC) and reboot. Juanjo Amor Solaris LDOMs
  • 59. Installing LDOMs (III) 5. Load configuration to system controller (SC) and reboot. global# ldm list-spconfig factory-default [current] global# ldm add-spconfig config_01 global# ldm list-spconfig global# init 6 ... ... syncing file systems... done rebooting... SC Alert: Host System has Reset ... ... Sun Fire T200, No Keyboard Copyright 2009 Sun Microsystems, Inc. All rights reserved. OpenBoot 4.30.3, 16384 MB memory available, Serial #70066726. Ethernet address 0:14:4f:2d:22:26, Host ID: 842d2226. Juanjo Amor Solaris LDOMs
  • 60. Creating a LDOMs domain 1. Create and start the domain. Juanjo Amor Solaris LDOMs
  • 61. Creating a LDOMs domain 1. Create and start the domain. global# ldm add-domain t2000-01 global# ldm add-vcpu 4 t2000-01 global# ldm add-memory 2048m t2000-01 global# mkfile 4G /export/ldomsvdisks/t2000-01-00.img global# ldm add-vdsdev /export/ldomsvdisks/t2000-01-00.img vol1@primary-vds0 global# ldm add-vdisk vdisk1 vol1@primary-vds0 t2000-01 global# ldm add-vdsdev /export/aiserver/solaris10-01.iso iso@primary-vds0 global# ldm add-vdisk vcdrom iso@primary-vds0 t2000-01 global# ldm add-vnet vnet1 primary-vsw0 t2000-01 global# ldm bind-domain t2000-01 global# ldm start-domain t2000-01 global# ldm ls NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME primary active -n-cv- SP 16 16G 0.2% 1h 9m t2000-01 active -t---- 5000 4 2G 25% 1m Juanjo Amor Solaris LDOMs
  • 62. Creating a LDOMs domain 1. Create and start the domain. global# ldm add-domain t2000-01 global# ldm add-vcpu 4 t2000-01 global# ldm add-memory 2048m t2000-01 global# mkfile 4G /export/ldomsvdisks/t2000-01-00.img global# ldm add-vdsdev /export/ldomsvdisks/t2000-01-00.img vol1@primary-vds0 global# ldm add-vdisk vdisk1 vol1@primary-vds0 t2000-01 global# ldm add-vdsdev /export/aiserver/solaris10-01.iso iso@primary-vds0 global# ldm add-vdisk vcdrom iso@primary-vds0 t2000-01 global# ldm add-vnet vnet1 primary-vsw0 t2000-01 global# ldm bind-domain t2000-01 global# ldm start-domain t2000-01 global# ldm ls NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME primary active -n-cv- SP 16 16G 0.2% 1h 9m t2000-01 active -t---- 5000 4 2G 25% 1m 2. Enter the domain console. Juanjo Amor Solaris LDOMs
  • 63. Creating a LDOMs domain 1. Create and start the domain. global# ldm add-domain t2000-01 global# ldm add-vcpu 4 t2000-01 global# ldm add-memory 2048m t2000-01 global# mkfile 4G /export/ldomsvdisks/t2000-01-00.img global# ldm add-vdsdev /export/ldomsvdisks/t2000-01-00.img vol1@primary-vds0 global# ldm add-vdisk vdisk1 vol1@primary-vds0 t2000-01 global# ldm add-vdsdev /export/aiserver/solaris10-01.iso iso@primary-vds0 global# ldm add-vdisk vcdrom iso@primary-vds0 t2000-01 global# ldm add-vnet vnet1 primary-vsw0 t2000-01 global# ldm bind-domain t2000-01 global# ldm start-domain t2000-01 global# ldm ls NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME primary active -n-cv- SP 16 16G 0.2% 1h 9m t2000-01 active -t---- 5000 4 2G 25% 1m 2. Enter the domain console. global# telnet 127.0.0.1 5000 Connecting to console "t2000-01" in group "t2000-01" .... Press ~? for control options .. Sun Fire T200, No Keyboard Copyright 2009 Sun Microsystems, Inc. All rights reserved. OpenBoot 4.30.3, 2048 MB memory available, Serial #83521591. Ethernet address 0:14:4f:fa:70:37, Host ID: 84fa7037. {0} ok boot vcdrom ... Juanjo Amor Solaris LDOMs
  • 64. LDOMs domains 3. Installing a guest OS. Juanjo Amor Solaris LDOMs
  • 65. LDOMs domains 3. Installing a guest OS. Opensolaris 2009.06, through automated install (AI). Juanjo Amor Solaris LDOMs
  • 66. LDOMs domains 3. Installing a guest OS. Opensolaris 2009.06, through automated install (AI). Solaris 10/11, through network or cdrom. Juanjo Amor Solaris LDOMs
  • 67. LDOMs domains 3. Installing a guest OS. Opensolaris 2009.06, through automated install (AI). Solaris 10/11, through network or cdrom. Debian, Ubuntu for Sparc (old releases, unsupported). Juanjo Amor Solaris LDOMs
  • 68. LDOMs domains 3. Installing a guest OS. Opensolaris 2009.06, through automated install (AI). Solaris 10/11, through network or cdrom. Debian, Ubuntu for Sparc (old releases, unsupported). other, unsupported. Juanjo Amor Solaris LDOMs
  • 69. LDOMs domains 3. Installing a guest OS. Opensolaris 2009.06, through automated install (AI). Solaris 10/11, through network or cdrom. Debian, Ubuntu for Sparc (old releases, unsupported). other, unsupported. 4. Destroying a LDOMs domain. Juanjo Amor Solaris LDOMs
  • 70. LDOMs domains 3. Installing a guest OS. Opensolaris 2009.06, through automated install (AI). Solaris 10/11, through network or cdrom. Debian, Ubuntu for Sparc (old releases, unsupported). other, unsupported. 4. Destroying a LDOMs domain. global# ldm stop t2000-01 global# ldm unbind t2000-01 global# ldm remove-vnet vnet1 t2000-01 global# ldm remove-domain t2000-01 global# ldm remove-vdsdev vdisk1 global# ldm global# rm /export/ldomvdisks/t2000-01.img global# ldm remove-vdsdev vcdrom Juanjo Amor Solaris LDOMs
  • 71. References Opensolaris LDOMs community http://opensolaris.org/os/community/ldoms Opensparc http://www.opensparc.net/ CMT Oracle (formerly Sun) servers http://www.oracle.com/us/products/ servers-storage/servers/sparc-enterprise/t-series See our old stuff http://dramor.net/blog/archives/243 http://dramor.net/blog/archives/250 Juanjo Amor Solaris LDOMs