Search This Blog

Saturday, 19 June 2010

Starting and Accessing LDOM

Listing all the available domains


bash-3.00# ldm ls
NAME             STATE      FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
primary          active     -n-cv-  SP      4     1G       2.3%  14h 30m
orange1          inactive   ------          4     8G
orange2          inactive   ------          4     8G


Now both LDOMS are inactive. For activating the same, we have to bind it first.


bash-3.00# ldm bind-domain orange1


Now it can be  booted
bash-3.00# ldm start-domain orange1


Accessing the LDOM console using telnet to port 5000 ( for next domain it will be 5001 and so on)


bash-3.00# telnet 0 5001
Trying 0.0.0.0...
telnet: Unable to connect to remote host: Connection refused
bash-3.00# telnet 0 5000
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.


Connecting to console "orange1" in group "orange1" ....
Press ~? for control options ..
Hostname: orange1
Jun 19 12:07:07 in.mpathd[198]: missed sending 1 probes cur_time 52464930 snxt_time 52466262 snxt_basetime 52465390
/dev/rdsk/c0d0s4 is clean
/dev/rdsk/c0d0s5 is clean
/dev/md/rdsk/d80 is clean
Reading ZFS config: done.


orange1 console login:

2 comments: