Anda di halaman 1dari 4

LDOMS point

1) hypervisor is the firmware layer and core of LDOMS

2) The hypervisor software also provides logical domain channels

(LDCs), so that logical domains can communicate with each other. Using logical

domain channels, domains can provide services to each other, such as networking or

disk services

3) Logical Domains Manager

The Logical Domains Manager is used to create and manage logical domains. There

can be only one Logical Domains Manager per server. The Logical Domains

Manager maps logical domains to physical resources.

4) There are three types of Domains

a) Control Domain : the main domain i,e main installed os on which the LDOM package is installed and
through this other

domain can be created

b) Service domain : which provides the virtual service to other domains

c) I/O domain : which manage I/O . ( Two I/O domain must be there out of which one is controller

d) Guest Domain : managed and created by control domain by using service and I/O domain
5) SUNWldm package need to be installed.

6) IT is possible to provision 32 domains, since more domains the more complexity .

7) Two types of cofiguration can be done , DR (dynamic reconfiguration) allocation of resources on

running os

and Delay reconfiguration . i,e changes to be made after next reboot .

8) Installation containing the Logical

Domains Manager package (SUNWldm), the Solaris Security Toolkit (SUNWjass)

and installation script (install-ldm), and the Logical Domains Management

Information Base package (SUNWldmib.v) from the Sun Software Download

site. You can find the software from this web site:

9) Hardening can be implemented for auditing and other securities.

10) RBAC and be implemented and the autorization

# usermod -A username

# usermod -A solaris.ldoms.write username

setting up Service Domain

11) Create a virtual disk server (vds) to allow importing virtual disks into a logical

For example, the following command adds a virtual disk server (primary-vds0)

to the control domain (primary).

primary$ ldm add-vds primary-vds0 primary

12) for creating virtual console

primary$ ldm add-vcc port-range=5000-5100 primary-vcc0 primary

13) for Virtual switch

primary$ ldm add-vsw net-dev=e1000g0 primary-vsw0 primary

14) List the created Services

primary$ ldm list-services primary

setting up Controller Domain

15) primary$ ldm set-vcpu 4 primary

and rest will be resever for guest domain

16) primary$ ldm set-memory 1G primary

and rest for guest domain

17) to list the configuration

primary$ ldm list-config

Configuring Guest Domain

Setting up Guest Domain

Setting name as 1dg1

18)primary$ldm add-domain ldg1

Adding four virtual CPUs

19) primary$ldm add-vcpu 4 ldg1

Adding Memory

20) primary$ldm add-memory 512m ldg1

Adding Virtual Network Device

21) primary$ldm add-vnet vnet1 primary-vsw0 ldg1

Adding physical disk

22) primary$ldm add-vdsdev /dev/dsk/c0t0d0s2 vol1@primary-vds0

Adding Virtual Disk

23) primary$ldm add-vdisk vdisk1 vol1@primary-vds0 ldg1

Setting auto-boot variable true

24) primary$ldm set-var auto-boot\?=true ldg1

Setting boot device to vdisk

25) primary$ldm set-var boot-device=vdisk ldg1

Binding and listing the resources

26)primary$ldm bind-domain ldg1

27)primary$ldm list-domain ldg1

28)primary$ldm start-domain ldg1