January 3, 2012

Solaris 10: how to determine if a system is LDOM domain

Posted in Solaris at 3:37 pm by alessiodini

Today i finally found how be sure if a system is ldom or not without know the domain controller.
I usually saw that a typical ldom has similar things:

1) path disks

c0d30166
/virtual-devices@100/channel-devices@200/disk@763a
c0d30167
/virtual-devices@100/channel-devices@200/disk@763b

2) virtual networks

vnet2717002:1: flags=201000843 mtu 1500 index 6
inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255
vnet2717002:2: flags=201000843 mtu 1500 index 6
zone system

With this it’s clear that we are working on ldom but i would like to know “is anything more clear where i can be 100% sure?”

Today i found on a Solaris 10 system the ldom manifest:

online Dec_01 svc:/ldoms/agents:default

This is the answer to my question :)

Advertisement

3 Comments »

  1. Hi, Good Tricks

  2. Yogesh Raheja said,

    Nice info mate, we can identify the Slave LDOM by having a look on

    1.) echo | format (check the disk names which would be c#d#)
    2.) ifconfig -a (only virtual networks interfaces will be there vnet)

    For Master LDOM:

    1.) ldm list (this command will show the slave ldoms)
    2.) ps -ef | grep -i ldm (two companion deamons are there for LDOMS)

    Apart from that if you would like to check LDOM configuration just execute ldm –help and you will get set of options to execute.
    eg: ldm list services
    ldm list constraints
    ldm list bindings etc etc…


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.