Solaris : Access LDOM console remotely

The vntsd service defaults to listening for connections on localhost (IP address 127.0.0.1), so you canonly access domain consoles from the control domain by telnet to localhost. However, by changing the service con?guration you can enable remote access. This example recon?gures the console service for remote access:
#svccfg
svc:>select  ldoms/vntsd
svc:/ldoms/vntsd> listprop
vntsd    application
vntsd/timeout_minutes    integer 0
vntsd/vcc_device    astring virtual-console-concentrator@0
vntsd/listen_addr    astring localhost

svc:/ldoms/vntsd>setprop vntsd/listen_addr = 192.168.0.21
svc:/ldoms/vntsd>exit
#svcadm  refresh  ldoms/vntsd
#svcadm  restart  ldoms/vntsd

You can now access domain consoles froma different machine by telneting to the speci?ed host, likethis:
% telnet 192.168.0.21 5000

3 thoughts on “Solaris : Access LDOM console remotely”

  1. In LDom 1.2 the listen_addr can either be “localhost” or “any”. Not an IP or a hostname, which took me some time to figure out.

  2. The above example is for Logical Domains Manager (v 2.1) where you can set IP Address also.

    You can run the following command on the control domain to connect from any machine. There are security implications though….

    # svccfg -s svc:/ldoms/vntsd setprop vntsd/listen_addr="any"
    
    # svccfg -s svc:/ldoms/vntsd listprop vntsd/listen_addr
    vntsd/listen_addr  astring  any
    
    # svcprop -p vntsd/listen_addr ldoms/vntsd
    any
    

Leave a Comment

Your email address will not be published. Required fields are marked *

CAPTCHA * Time limit is exhausted. Please reload the CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top