Transcript

Demonstration: Configuring the Control Domain

Installing Oracle VM Server formerly Solaris Logical Domains on SPARC T Series Servers Part 4

 

>> Mick:  Now we have to configure the control domain and allocate resources. There are three main types of resource. The processes which we can think of in terms cores or threads – there’s one mathematical unit associated with each core and on the amount of memory. Because the control domain isn’t going to be doing an awful lot and it’s not going to be running applications, I don’t have to be too generous.

 

I’m going to provide it with one core, one associated mathematical unit and 2 gigs of RAM. Currently, the system has everything – 16 gigs, 64 CPUs.

 

[pause]

 

I’ll allocate the resources.

 

[pause]

 

I need to find out what it’s currently got which I can do with ldm list bindings, which is a slightly more verbose version of doing the ldm list. I’d better type in there more. You can see all the core ID and thread numbers, all the virtual CPUs, and the memory. The virtual controllers that I’ve set up just now as well showed up.

 

It’s a good idea if you’re going to do quite a lot of configuration to do list bindings and save it in a file. Just in case you’re in a hurry, you need to remember what the original resources were that you started with. I think a good idea all the way through is to keep good records of the configuration because it can get quite complex.

 

[pause]

 

I can list individual resources as an example. The MAUs are also known as crypto units so ldm list -o crypto and the name of the domain. That’s more relevant if we had guest domains then we can use the domain names to find out what resources are allocated against a particular Logical Domain.

 

Now we’re going to allocate the resources. In a minute we’ll be doing a reboot and that’ll be another opportunity to ask questions.

 

[pause]

 

We’re in the process, copy, paste.

 

[pause]

 

I’m going to set a number of CPUs.

 

[pause]

 

Usually, it’s done on a per core basis, certainly we guest domains, as the recommended way of making things the most efficient, but not too vital with things like a primary domain or indeed an I/O domain.

 

What I’m doing here – sometimes the system is confused if I start messing around with the memory. So rather than try to do a dynamic reconfiguration of the control domain memory right now, I’m going to get it to do the reconfiguration a bit delayed until I do a reboot. That’s the start of reconf.

 

Now I’ll set the memory but this won’t take effect until I actually do the reboot.

 

[pause]

 

Now, I’ve got everything set up. I need to do a reboot to make all those things come into effect. I’m just going to do a straightforward reboot. Don’t forget if you’ve got applied patches on the whatever, you would normally do it [4:37 inaudible] 6 to make sure they get right. So I’m going to do a reboot and then we can pause for a minute or two and take questions.

 

The server of course is now gone away until we access it again.

 

[pause]

 

Let my close my PuTTY and hand over to Dave to see if he’s got any questions.

 

>> Dave:  Thanks Mick. Indeed we do. A couple of questions in the queue.

 

[pause]

 

First one, I believe I can handle. Is the presentation we’re doing today going to be available afterwards?

 

Yes, it will. We record these presentations and put a link up on the website for them. We will send all the attendees the link to the recorded presentation so you could view it any time you want.

 

Second question, Mick, you’ll have to handle it for me.

 

>> Mick:  Sure.

 

>> Dave:  What if you want to know the allocated resources for a specific LDOM?

 

>> Mick:  Right. I could show this a little bit in more detail later. If we go back – you can do ldm list-bindings (space) and then the domain name. So we could say ldm list-bindings primary.

 

Very shortly once the machine reboots, we can have a look at creating a guest domain. As part of that process, I will give the guest domain a name like dbserver or something. Then I could do ldm list-bindings dbserver. That’s the answer to the question, Dave.

 

>> Dave:  Great. One more question, Mick.

 

The question is estimated duration. How long do you estimate it takes to set up and configure these guest domains?

 

>> Mick:  The initial one has to be installed like any other Solaris system. A couple of hours, if you’ve done or planned it properly and installed it. But you can install it in such a way especially using the ZFS file system – where having installed it, you can do something called the sys-unconfig which takes away all the identity of it, and then you halt it. Then you can actually snapshot the entire operating system and clone it. You can incredibly roll out an entire operating system in a few minutes.

 

[pause]

 

>> Dave:  Great.

 

>> Mick:  Which I did with [7:43 inaudible].

 

>> Dave:  Pardon, Mick. I think I interrupted. Say that again.

 

>> Mick:  Which is exactly the way went about it with [7:51 inaudible].

 

>> Dave:  Very nice.

 

>> Mick:  But of course, and if you want to, if the operating systems are widely different in requirements terms, you can install each one individually. On that though, you’d be looking at a couple of hours on each case.

 

>> Dave:  Thank you, Mick.

 

>> Mick:  You can roll them out in minutes.

 

[pause]

 

My PuTTY.

 

[pause]

 

Dolphin is the firmware, by the way, and whale is the logical domains control domain that we just rebooted.

 

Copyright SkillBuilders.com 2017

×
Podcast
×
Free Online Registration Required

The tutorial session you want to view requires your registering with us.

It’s fast and easy, and totally FREE.

And best of all, once you are registered, you’ll also have access to all the other 100’s of FREE Video Tutorials we offer!

 

×