English Community

Datacenter Systems ManagementLenovo XClarity
All Forum Topics
Options

5 Posts

06-28-2018

US

32 Signins

184 Page Views

  • Posts: 5
  • Registered: ‎06-28-2018
  • Location: US
  • Views: 184
  • Message 1 of 17

XCC username reset

2018-06-28, 3:08 AM

I know the default username and password of the XCC web interface is USERID and PASSWORD with O replaced by number 0.

I firstly changed the password. Then I tried to changed the username. Probably because of a typo in username, I cannot log into the XCC anymore with the username I thought I set.

Is there a way to reset the username and password of the web interface?

Solved! See the solution
Reply
Options

5 Posts

06-28-2018

US

32 Signins

184 Page Views

  • Posts: 5
  • Registered: ‎06-28-2018
  • Location: US
  • Views: 184
  • Message 2 of 17

Re: XCC username reset

2018-06-28, 15:36 PM
Will resetting BMC work?
Reply
Options

144 Posts

04-23-2015

JP

688 Signins

5885 Page Views

  • Posts: 144
  • Registered: ‎04-23-2015
  • Location: JP
  • Views: 5885
  • Message 3 of 17

Re: XCC username reset

2018-07-04, 7:40 AM

Hello.

If you can't login XCC due to fogot USERID/PASSWORD, you can restore XCC configuration to default from F1 setup menu.

 

Power-on system, and enter F1 setup menu during ThinkSystem Logo is appeared. After press F1, "Lenovo XClarity Provisioning Manager" menu will be appeared.

From left menu, select "uEFI Setup" => "BMC Settings" => "Reset Factory Defaults Setting" then enter to restore default.

 

After that all changed setting backed to default so you can login to XCC by using defaut USERID/PASSW0RD (0 is zero). 

  *if you are using static IP, also this setting have gone so check valid IP address after restore default) .

 

Thank you.

 

Reply
Options

5 Posts

06-28-2018

US

32 Signins

184 Page Views

  • Posts: 5
  • Registered: ‎06-28-2018
  • Location: US
  • Views: 184
  • Message 4 of 17

Re: XCC username reset

2018-07-05, 14:59 PM

What are the typical settings I will lose after the reset? Is there a list of available settings in BMC? I'm worrying about whether I can restore other settings the Lenovo technician did before. If the list is too long to restore for me, I would perfer to give up XCC.

Reply
Options

144 Posts

04-23-2015

JP

688 Signins

5885 Page Views

  • Posts: 144
  • Registered: ‎04-23-2015
  • Location: JP
  • Views: 5885
  • Message 5 of 17

Re: XCC username reset

2018-07-06, 4:51 AM

Hello.

 

For my understanding, typical XCC setting example are below. But these are quite depends on user's environment. 

like SMTP/SNMP, several user configure alert notification setting but not sure these are typical.  other security setting (LDAP, SSH certification key, etc) may be not typical.

 

If you have XCC config backup file collected from XCC before ,  you can restore config from backup file after restore default action.

 

USERID /Password

IP Address / subnet mask/ default gateway / DNS server /host name

Server Location info

Date and time  / NTP server

SNMP setting

SMTP setting

Alert notification setting

Power redundant policy (if changed)

 

 

One thing, if you are able to use OneCLI tool on your local OS, try to get defined user ID info by using OneCLI command.

 

Download OneCLI tool from below URL (select your appropriate OS one)

 

https://datacentersupport.lenovo.com/us/en/solutions/HT116433

 

Download/extact OneCLI package and move to extracted directly. then run following command.

Output may show existed USERID name on XCC.  At here, My system have "USERID1" and "SR530SNMP".

 

* Following are example under windows env.

 

***************************************************

C:\lnvgy_utl_lxce_onecli01p-2.3.0_winsrv_x86-64>OneCli.exe config show authentication


Lenovo XClarity Essentials OneCLI lxce_onecli01p-2.3.0
Licensed Materials - Property of Lenovo
(C) Copyright Lenovo Corp. 2013-2018 All Rights Reserved
If the parameters you input includes password, please Note that:
* The password must consist of a sequence of characters from `0-9a-zA-Z_-+.$%@!^&*()=` set
* Use "" to quote when password parameters include special characters
* Do not use reserved characters in path name when parameter contains path
Invoking SHOW command ...
Connected to the node(1) by KCS
IMM.LoginId.1=USERID1
IMM.LoginId.10=
IMM.LoginId.11=
IMM.LoginId.12=
IMM.LoginId.2=SR530SNMP
IMM.LoginId.3=
IMM.LoginId.4=
IMM.LoginId.5=
IMM.LoginId.6=
IMM.LoginId.7=
IMM.LoginId.8=
IMM.LoginId.9=
IMM.AuthorityLevel.1=Supervisor
IMM.AuthorityLevel.2=Supervisor
IMM.UserAccountManagementPriv.1=No
IMM.UserAccountManagementPriv.2=No
IMM.RemoteConsolePriv.1=No
IMM.RemoteConsolePriv.2=No
IMM.RemoteConsoleDiskPriv.1=No
IMM.RemoteConsoleDiskPriv.2=No
IMM.RemotePowerPriv.1=No
IMM.RemotePowerPriv.2=No
IMM.ClearEventLogPriv.1=No
IMM.ClearEventLogPriv.2=No
IMM.BasicAdapterConfigPriv.1=No
IMM.BasicAdapterConfigPriv.2=No
IMM.AdapterConfigNetworkSecurityPriv.1=No
IMM.AdapterConfigNetworkSecurityPriv.2=No
IMM.AdvancedAdapterConfigPriv.1=No
IMM.AdvancedAdapterConfigPriv.2=No
Success.

 

***************************************************

 

I hope it would be helpful for your situation. Thank you.

 

Reply
Options

5 Posts

06-28-2018

US

32 Signins

184 Page Views

  • Posts: 5
  • Registered: ‎06-28-2018
  • Location: US
  • Views: 184
  • Message 6 of 17

Re: XCC username reset

2018-07-07, 16:05 PM

Thank you for leading me to OneCLI. I got the username I thought I forgot. But it is the one I remember. I think I need to reset the password now. Is there a way to do it with OneCLI?

Reply
Options

144 Posts

04-23-2015

JP

688 Signins

5885 Page Views

  • Posts: 144
  • Registered: ‎04-23-2015
  • Location: JP
  • Views: 5885
  • Message 7 of 17

Re: XCC username reset

2018-07-09, 4:58 AM

Hello,

We can not touch password of user due to security policy. can't read, and can't set.

 

When you need to restore XCC configuration to default, one possible action is save current typical configuration to file by using OneCLI.

 

Run Following command on your local OS and save config to file.

 *not the all config are saved like USER ID, SSH cert info etc.

 

***********************************

C:\lnvgy_utl_lxce_onecli01p-2.3.0_winsrv_x86-64>onecli config save --file c:\configoutput.txt


Lenovo XClarity Essentials OneCLI lxce_onecli01p-2.3.0
Licensed Materials - Property of Lenovo
(C) Copyright Lenovo Corp. 2013-2018 All Rights Reserved
If the parameters you input includes password, please Note that:
* The password must consist of a sequence of characters from `0-9a-zA-Z_-+.$%@!^&*()=` set
* Use "" to quote when password parameters include special characters
* Do not use reserved characters in path name when parameter contains path
Invoking SAVE command ...
Connected to the node(1) by KCS
Succeed in saving settings to c:\configoutput.txt.
Success.

 

***********************************

    *file name "configoutput.txt" ise set as you like.

 

After that restore XCC config to detault.

Wait sevral minutes. all config(include IP address ) are back to default. so run following command and restore config to XCC.

 

***********************************

 C:\lnvgy_utl_lxce_onecli01p-2.3.0_winsrv_x86-64>onecli config restore --file c:\testconfig.txt


Lenovo XClarity Essentials OneCLI lxce_onecli01p-2.3.0
Licensed Materials - Property of Lenovo
(C) Copyright Lenovo Corp. 2013-2018 All Rights Reserved
If the parameters you input includes password, please Note that:
* The password must consist of a sequence of characters from `0-9a-zA-Z_-+.$%@!^&*()=` set
* Use "" to quote when password parameters include special characters
* Do not use reserved characters in path name when parameter contains path
Invoking RESTORE command ...
Connected to the node(1) by KCS
The detail information is saved to C:\lnvgy_utl_lxce_onecli01p-2.3.0_winsrv_x86-64\logs\OneCli-2428-20180709-132558\OneCli-config-restore-replicate-results20180709132618.txt.
Summary: 346 setting(s) succeed replicating
0 setting(s) fails to restore
You could refer to the result file to check the whole results
Success.

***********************************

 

Tnen, I think you can access to XCC by your defiled IP address. USERID/PASSW0RD are back to default.

After login, you restart XCC once (because configuration is restored).

 Not a all config but I think most typical configuration may back by saved config.

 

Thank you.

0 person found this solution to be helpful.

This helped me too

Reply
Options

8 Posts

05-14-2018

RO

11 Signins

50 Page Views

  • Posts: 8
  • Registered: ‎05-14-2018
  • Location: RO
  • Views: 50
  • Message 8 of 17

Re: XCC username reset

2019-05-14, 14:21 PM

Hi, first of all, thank you for the extensive info regarding this matter. I am too in the same situation, when I forgot the USERID password that I've used, so I need to reset it to default.

I understand how to do it locally, but my greatest fear is to have some of the drivers installed reset to factory default, or some of the higher level settings also set to default. I don't care about IP or time zone, this is nothing, but I fear that it will reset also RAID configuration, drivers installed, etc., something that could affect the OS installed on the server and it's functionality. THis machine is used as a HyperV host (one of the 2 I have), and it is very important that I have it back up and running as soon as possible, since the 2 servers are running production in our lab.

Thanks!

Reply
Options

473 Posts

09-04-2018

US

765 Signins

16729 Page Views

  • Posts: 473
  • Registered: ‎09-04-2018
  • Location: US
  • Views: 16729
  • Message 9 of 17

Re: XCC username reset

2019-05-15, 2:04 AM

Hi bx3m,

 

The onecli config command listed in the threads only used to save the current BMC configuration, edited the password within the saved file, and then restore it to take the configuration effect to the BMC-based system.

It won't impact on the RAID configuration and the OS installed on the server.

Reply
Options

8 Posts

05-14-2018

RO

11 Signins

50 Page Views

  • Posts: 8
  • Registered: ‎05-14-2018
  • Location: RO
  • Views: 50
  • Message 10 of 17

Re: XCC username reset

2019-05-15, 5:20 AM

Hi ccchen, thank you for your answer. I've used this command to get the config file:

C:\lnvgy_utl_lxce_onecli01p-2.3.0_winsrv_x86-64>onecli config save --file c:\configoutput.txt

However, I don't see any password section, or even the username. How can I edit this file, put some default password and then upload it to the server?

Thanks!

Reply
Forum Home

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Save