Back to the main page

LDoms on Sun SPARC Enterprise T5240

What

It is the third generation Chip Multithreading Technology (CMT) Ultra SPARC 2T Plus CPU. So yes, we purchased two of these beasts (128 virtul CPUs, 64GB RAM, 16 cryptographic units - MAU and total of 16 HDDs).

Why we need them

Drive up utilization and consolidate workloads with built-in virtualization technology - Logical Domains LDoms.

How to install LDoms - control one

Get the file LDoms_Manager-1_1.zip from Sun, unzip it and you'll get directory LDoms_Manager-1_1
Go to LDoms_Manager-1_1/Install and run the command install-ldm -d none
In this way, you'll not harden your system using Solaris Security Toolkit drive, otherwise you may not be able to login agan.
And now you'll have 2 new dirs in /opt - SUNWldm and SUNWjass.

Also don't forget to add /opt/SUNWldm/bin in PATH and /opt/SUNWldm/man in MANPATH
Make sure service svc:/ldoms/ldmd:default is running.
Okay, so 'primary' is now your control domain and will take care of all other LDoms.

Now it's time to install Virtual I/O to primary control domain. Primary still has all resources [factory default], so let's allocate some to it and free others for guest LDoms. All this make primary to be in delayed configuration, so save configuration first and poweroff/poweron.

How to install guest LDoms

okay, so now we need to install guest LDoms. I'll write some notes/ideas from my experience.

Basically we installed zfs root on first 2 HDDs (mirror zpool) - 146G.
We also created 6 other zpool (mirror of 2 HDDs) - 73G. Yes we'll have 4 LDoms, but 2 of them will use 2 zpool(s).

So variables used below are like:
LDOM = castro/pacific/oxygen/brahma
SPACE = space-ld1/ld2/ld3/ld4
NET = dco-20/dco-24/dco-dmz/dco-pub/dco-be/dco-bk (this is VSW, one built-in NIC with 4 ports nxge0-3 and additional NIC with 2 ports e1000g0/1)

Now we have LDoms, there are many ways to install the OS. Say use jumpstart installation ( boot net -v - install from 'ok') or create zfs snapshot from 'reference' system, boot from cdrom and restore zfs snapshot to LDom.

Let's write some staps about second approach.

SPACE = space1, space2
LDOM = castro/oxygen

Okay, I guess I didn't miss any major step(s)

Back to the main page