freeipmi-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Freeipmi-users] Requesting suggestions to resolve an bmc/ipmi issue


From: Albert Chu
Subject: Re: [Freeipmi-users] Requesting suggestions to resolve an bmc/ipmi issue
Date: Fri, 1 Sep 2017 09:05:31 -0700

Hi,

I just want to double check that you're using an up to date version of
FreeIPMI.  Assuming "invalid channel number" is the only error output
you are getting, that is being output as an argument parsing error.
An argument parsing bug was fixed in FreeIPMI 1.4.9 that could explain
the parsing error.

If not, I'd have to work with you to debug exactly what is happening.

As a side note, updating the above with --lan-channel-number=3 may not
work b/c the section name may also change (I can't remember under
which circumstances it changes and doesn't, it depends and I can't
remember exactly which circumstances).  So you may need to change to:

bmc-config, --checkout, --key-pair=Lan_Conf_Channel_3:IP_Address

or something close to that.  You can use -L to see the section names
to double check.

Al


On Thu, Aug 31, 2017 at 7:46 PM, Ravi DevPro <address@hidden> wrote:
> Hi FreeIPMI Team,
>
> I have been struggling with an issue for couple of days now. I am using an
> open source tool called MAAS (v1.9) for provisioning OS on physical
> servers. This tool primarily relies uses bmc-config commands.
>
> Target hardware is some proprietary Intel based server (not HP/Dell) which
> has BMC chip on it. It also has multiple LAN channels (1,2,3) where 1 & 2
> being an in band NIC and channel 3 being dedicated BMC interface. Eth
> interfaces of Channel 1 and  Channel 3 are connected in a common broadcast
> domain and get the IPs from a common DHCP server.
>
> The following are the set of bmc-config commands that gets triggered by
> MAAS on the host (on which OS will be installed).
>
> bmc-config, --checkout, --key-pair=Lan_Conf:IP_Address_Source
> bmc-config, -L
> bmc-config, --checkout, --key-pair=User2:Username
> bmc-config, --checkout, --key-pair=User3:Username
> bmc-config, --checkout, --key-pair=User4:Username
> bmc-config, --checkout, --key-pair=User5:Username
> bmc-config, --checkout, --key-pair=User6:Username
> bmc-config, --checkout, --key-pair=User7:Username
> bmc-config, --checkout, --key-pair=User8:Username
> bmc-config, --checkout, --key-pair=User9:Username
> bmc-config, --checkout, --key-pair=User10:Username
> bmc-config, --checkout, --key-pair=User11:Username
> bmc-config, --checkout, --key-pair=User12:Username
> bmc-config, --checkout, --key-pair=User13:Username
> bmc-config, --checkout, --key-pair=User14:Username
> bmc-config, --checkout, --key-pair=User15:Username
> bmc-config, --commit, --key-pair=User6:Username=maas
> bmc-config, --commit, --key-pair=User6:Password=DYJuTLXmrljoGl
> bmc-config, --commit, --key-pair=User6:Enable_User=Yes
> bmc-config, --commit, --key-pair=User6:Lan_Privilege_Limit=Administrator
> bmc-config, --commit, --key-pair=User6:Lan_Enable_IPMI_Msgs=Yes
> bmc-config, --checkout, --key-pair=User6:Username
> bmc-config, --checkout, --key-pair=User6:Lan_Privilege_Limit
> bmc-config, --checkout, --key-pair=User6:Lan_Enable_IPMI_Msgs
> bmc-config, --checkout, --key-pair=Lan_Conf:IP_Address
>
>
> All of these commands gets executed successfully however on *Lan Channel 1
> interface*. I* want this to be set to IP address assigned to Lan Channel 3*
> (i.e Dedicated BMC interface). Thats my objective because MAAS tool uses
> Lan_Conf:IP_Address for provisioning OS & it achieves this over couple of
> power cycles of target host. The problem is that, since *Lan_Conf:IP_Address
> *is pointing to the IP on Lan Channel 1, that IP would not  be available
> once the server is switched off and that blocks the provisioning workflow.
>
> So I have tried following so far,
>
> I tried appending '*--lan-channel-number=3*' on those bmc-config commands
> (listed above) & got '*invalid channel number*' in response.
>
> But when i execute *ipmitool -H 10.6.0.21 -U tocp -P tocp lan print 3*
> Set in Progress         : Set Complete
> Auth Type Support       : MD5 PASSWORD
> Auth Type Enable        : Callback : MD5 PASSWORD
>                         : User     : MD5 PASSWORD
>                         : Operator : MD5 PASSWORD
>                         : Admin    : MD5 PASSWORD
>                         : OEM      :
> IP Address Source       : DHCP Address
> IP Address              : 10.6.0.21
> Subnet Mask             : 255.255.255.0
> MAC Address             : a4:bf:01:03:94:bb
> SNMP Community String   : public
> IP Header               : TTL=0x00 Flags=0x00 Precedence=0x00 TOS=0x00
> BMC ARP Control         : ARP Responses Enabled, Gratuitous ARP Disabled
> Gratituous ARP Intrvl   : 0.0 seconds
> Default Gateway IP      : 10.6.0.1
> Default Gateway MAC     : 00:00:00:00:00:00
> Backup Gateway IP       : 0.0.0.0
> Backup Gateway MAC      : 00:00:00:00:00:00
> 802.1q VLAN ID          : Disabled
> 802.1q VLAN Priority    : 0
> RMCP+ Cipher Suites     : 0,1,2,3,4,6,7,8,9,11,12,13,15,16,17,18
> Cipher Suite Priv Max   : caaaaaaaaaaaaaa
>                         :     X=Cipher Suite Unused
>                         :     c=CALLBACK
>                         :     u=USER
>                         :     o=OPERATOR
>                         :     a=ADMIN
>                         :     O=OEM
>
>
> *ipmitool -H 10.6.0.21 -U tocp -P tocp lan print 1*
> Set in Progress         : Set Complete
> Auth Type Support       : MD5 PASSWORD
> Auth Type Enable        : Callback : MD5 PASSWORD
>                         : User     : MD5 PASSWORD
>                         : Operator : MD5 PASSWORD
>                         : Admin    : MD5 PASSWORD
>                         : OEM      :
> IP Address Source       : DHCP Address
> IP Address              : 10.6.0.14
> Subnet Mask             : 255.255.255.0
> MAC Address             : a4:bf:01:03:94:b9
> SNMP Community String   : public
> IP Header               : TTL=0x00 Flags=0x00 Precedence=0x00 TOS=0x00
> BMC ARP Control         : ARP Responses Enabled, Gratuitous ARP Disabled
> Gratituous ARP Intrvl   : 0.0 seconds
> Default Gateway IP      : 10.6.0.1
> Default Gateway MAC     : 00:00:00:00:00:00
> Backup Gateway IP       : 0.0.0.0
> Backup Gateway MAC      : 00:00:00:00:00:00
> 802.1q VLAN ID          : Disabled
> 802.1q VLAN Priority    : 0
> RMCP+ Cipher Suites     : 0,1,2,3,4,6,7,8,9,11,12,13,15,16,17,18
> Cipher Suite Priv Max   : caaaaaaaaaaaaaa
>                         :     X=Cipher Suite Unused
>                         :     c=CALLBACK
>                         :     u=USER
>                         :     o=OPERATOR
>                         :     a=ADMIN
>                         :     O=OEM
>
> *bmc-config -h 10.6.0.21 -u tocp -p tocp --checkout
> --key-pair=Lan_Conf:IP_Address*
> Section Lan_Conf
>         ## Give valid IP address
>         IP_Address                                    10.6.0.14
> EndSection
>
>
>
>
>
> Any kind of pointers/suggestions would be greatly appreciated.
>
> Thank you for your time & consideration.
> Ravi
> _______________________________________________
> Freeipmi-users mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/freeipmi-users



reply via email to

[Prev in Thread] Current Thread [Next in Thread]