Forum Discussion

skmohanbe's avatar
skmohanbe
Level 3
10 years ago

how LLT heartbeat setting MAC address ?

I was able to set the MAC addressin LLT , but its getting changed after every server reboot,

 

Node A

 # lltstat -nvv | head -10

LLT node information:
    Node                 State    Link  Status  Address
   *  0 node a            OPEN
                                  vnet2   UP      00:14:4F:F8:3B:B7
                                  vnet3   UP      00:14:4F:F9:73:DC   --
                                  vnet1   UP      00:14:4F:F8:F5:AC   ---
    1 node b          OPEN
                                  vnet2   UP      00:14:4F:FA:2B:77
                                  vnet3   UP      00:14:4F:FB:5E:07  --
                                  vnet1   UP      00:14:4F:F9:E0:17   --

Node B

 # lltstat -nvv | head -10

LLT node information:
    Node                 State    Link  Status  Address
    0 node a        OPEN
                                  vnet2   UP      00:14:4F:F8:3B:B7
                                  vnet3   UP      00:14:4F:F9:73:DC   --
                                  vnet1   UP      00:14:4F:F8:F5:AC    ---
     * 1 node b         OPEN
                                  vnet2   UP      00:14:4F:FA:2B:77
                                  vnet3   UP      00:14:4F:F9:E0:17   ---
                                  vnet1   UP      00:14:4F:FB:5E:07  ----

I got above post VCS instllation, So I followed below steps to change the MAC address for Vnet1 and Vnet3

 

gabconfig -U
svcadm disable svc:/system/gab:default

lltconfig -k disable
svcadm disable svc:/system/llt:default

svcadm enable svc:/system/llt:default
lltconfig -k enable

svcadm enable svc:/system/gab:default
/sbin/gabconfig -c -n2

 

It has changed here, 

Node A: 

 # lltstat -nvv | head -10
LLT node information:
    Node                 State    Link  Status  Address
   * 0 node a     OPEN
                                  vnet2   UP      00:14:4F:F8:3B:B7
                                  vnet3   UP      00:14:4F:F9:73:DC
                                  vnet1   UP      00:14:4F:F8:F5:AC
     1 node b    OPEN
                                  vnet2   UP      00:14:4F:FA:2B:77
                                  vnet3   UP      00:14:4F:FB:5E:07
                                  vnet1   UP      00:14:4F:F9:E0:17
Node B

 # lltstat -nvv | head -10

LLT node information:
    Node                 State    Link  Status  Address
     0 node a          OPEN
                                  vnet2   UP      00:14:4F:F8:3B:B7
                                  vnet3   UP      00:14:4F:F9:73:DC
                                  vnet1   UP      00:14:4F:F8:F5:AC
   * 1 node b      OPEN
                                  vnet2   UP      00:14:4F:FA:2B:77
                                  vnet3   UP      00:14:4F:FB:5E:07
                                  vnet1   UP      00:14:4F:F9:E0:17

 

but after server reboot went to orginal state of non-sync mode. where Vnet1's MAC and Vnet3's MAC changed.

Any body know how the setting happens? how it is fetching and from where? how to make it permanent?

 

 

 

  • Hi skmohanbe,

    These look like they might be VMs.  I think VMWare has a feature in its VMX files that can be set to generate a new MAC during boot time.  If these are actually VMs then you might want to check on that side to see if they are set to static or generated.

     

    Thank you,

    Wally

  • Hi skmohanbe,

    These look like they might be VMs.  I think VMWare has a feature in its VMX files that can be set to generate a new MAC during boot time.  If these are actually VMs then you might want to check on that side to see if they are set to static or generated.

     

    Thank you,

    Wally

  • Thanks Wally for the information, 

    I'm using Oracle virtual Machine, which does assign MAC address dynamically to Logical domains. 

    I was suspecting the issue with VCS which doesn't get MAC address properly though Network interfaces has valid MAC address. but finally i did unconfigure/configure of my logical domain which resolved the issue.

    Unsure what was problem, now LLT collects Vnet's MAC address as expected. 

     

    Regards,

    K.Mohan