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
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.
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….
Hey,
Do you have to do anything to get this to start working ? like restart a service or whatever ?