I haven't tried running bmcsetup directly, normally its called as a
part of node discovery, or by using nodeset

It shouldn't matter what default credentials Lenovo is using, as
bmcsetup will call ipmitool and just blindly set what ever ipmi
attributes you have configured see
https://xcat-docs.readthedocs.io/en/stable/guides/admin-guides/references/man5/ipmi.5.html

If you want to manually configure using ipmitool, then be aware that
usernames are case sensitive and that some management processes wont
let you change them.

Here is an example of manually configuring an old Altix node that I
had in my notes, they may be out of date, but could be of use to you.
But ultimately as previously mentioned its better to let bmcsetup take
care of it for you.

# Configure user admin
ipmitool user set name 3 admin
ipmitool user set password 3 admin
ipmitool channel setaccess 1 3 ipmi=on link=off callin=off privilege=4
ipmitool sol payload enable 1 3

# Confirm settings.
ipmitool user list 1
ipmitool channel getaccess 1 3
ipmitool sol payload status 1 3


Cheers,

Carl.



On Fri, 12 Feb 2021 at 09:38, Damir Krstic <damir.krs...@gmail.com> wrote:
>
> Here is what I have done so far:
> logged into both qgpu0101 and qgpu0102 and ran /bin/bmcsetup.
> They have the correct IP. After the expect script did not work I have logged 
> into only qgpu0101 genesis and ran:
> ipmitool user set password 2 <our password>
> it worked but I still could not login into the USERID@qgpu0101
> On subsequent attempts, I can no longer change the password. When I test it:
> xCAT Genesis running on qgpu0101 /]# ipmitool user test 2 16
> Password for user 2: <our password>
> Success
> impitool lan print 1 shows:
> Auth Type Enable : Callback :
> : User : MD5 PASSWORD
> : Operator : MD5 PASSWORD
> : Admin : MD5
> : OEM :
> User USERID is ADMIN so I ran:
> ipmitool lan set 1 auth ADMIN MD5,PASSWORD
> But alas I can't login to USERID@qgpu0101 still. And eventually, Admin 
> changes back to just MD5 ??
> I also changed USERID to an OPERATOR level using:
> ipmitool user priv 2 0x3 1
>
> On Thu, Feb 11, 2021 at 4:28 PM Damir Krstic <damir.krs...@gmail.com> wrote:
>>
>> Lenovo has implemented change the USERID password from the default PASSW0RD 
>> in recent firmware iterations. We had success in implementing an expect 
>> script that ran after the bmcsetup script ran that would change the password 
>> to our own.
>>
>> However, in the recent batch of nodes, the default password (PASSW0RD) is 
>> changed / different. Does anyone know what the new password is? Also, this 
>> new policy of having to change the bmc password right away is, to say the 
>> least, not convenient. We spend more time now messing with the bmc scripts 
>> than deploying the nodes.
>>
>> Is there a procedure or some step that I am missing?
>>
>> Thanks,
>> Damir
>
> _______________________________________________
> xCAT-user mailing list
> xCAT-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xcat-user


_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to