LDOM guest domain console grouping Print E-mail
(1 vote, average: 5.00 out of 5)
Written by geekyS   
Monday, 29 December 2008 11:03


The Virtual network terminal server daemon(vntsd) has provision to configure multiple guest domain consoles using a single TCP port. At the time of domain creation, the LDOM manager assigns a unique TCP port to each console by creating a new default group for that domain's console. The TCP port is then assigned to the console group as opposed to the console itself. ldm-set-vcons command can be used to bound console to the existing group.


To group the LDOM guest domains console, perform the following steps, 


1) Guest domains to be added to the console group should be in inactive state. Use the ldm stop-domain and ldm unbind-domain to make the domains inactive. In this example we will bind the consoles of domains testdom1,2,3 into a single group

 

primary# ldm stop-domain testdom1
primary# ldm stop-domain testdom2
primary# ldm stop-domain testdom3


primary# ldm list-domain
# ldm list-domain
NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
primary          active   -n-cv   SP      4     1G       0.1%  10d 11h 9m
testdom1  inactive -----
testdom2  inactive -----
testdom3  inactive -----

2) Bind the consoles for the domains into one group

primary# ldm set-vcons group0@primary-vcc0 testdom1
primary# ldm set-vcons group0@primary-vcc0 testdom2
primary# ldm set-vcons group0@primary-vcc0 testdom3

3) Bind the assigned resources to the guest domains

primary# ldm bind-domain testdom1 
primary# ldm bind-domain testdom2
primary# ldm bind-domain testdom3

4) Start the guest domains

primary# ldom start-domain testdom1 
primary# ldom start-domain testdom2
primary# ldom start-domain testdom3


5) Connect to the associate TCP port of primary-vcc0 console service

primary# telnet localhost 5000
primary-vnts-group0:h, 1, c{id}, n{name}, q:1
DOMAIN ID  DOMAIN NAME  DOMAIN STATE
0                  testdom1              online
1                  testdom2              online
2                  testdom3              online
.....
.....

 

Last Updated on Monday, 29 December 2008 11:12