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:

5 comments:

  1. How close this telnet session?

    ReplyDelete
  2. press Ctrl+] and enter "q" in the prompt.

    ReplyDelete
    Replies
    1. we are getting error same like to run "telnet 0 5001" command. Could you help me please ?

      Delete
  3. you should telnet from control domain,

    First get the list of running ldoms and port numbers usign ldm list command.

    telnet 0 5001

    ReplyDelete