[Lenovo] LXCA How to upgrade v1.x to v2.x

要升級 v1.x 到 v2.x 需求

a.升級到v2.1需升到v2.0
b. v1.x先升級到 v1.4.1 update package (LXCA migrationtool)
c. v2.0 升到 v2.1 需要費時 40分鐘 ~ 一小時

升級流程:
v.1x > 1.4.1 > 2.0.0 > 2.1.0

事前準備工作:
a.下載 XClarity Administrator v1.4.1 (For migration only)

Upgrade procedure :

step01. login LXCA https://lxca-ip/ui/login.html

step02. confirm current " data, settings, and device managemet" list

step03. Administration > Update Management Server > Import > Select Files "
一次選四個 ( lnvgy_sw_lxca_41-1.4.1_anyos_noarch.tgz & lnvgy_sw_lxca_41-1.4.1_anyos_noarch.xml ) > Import

step04. choice import file > Perform Update > Restart

The update request has been submitted to the management server.
Please wait…this update could take several minutes…
Refresh the browser window to check if the management server has completed the update. // 更新過程網頁無畫面時可以按下 refresh重整畫面。

step04. Motoring > Jobs

step05. check job item “Import management-server update packages" state “complete"

step06. Administration > Shut down Management Server > Reboot // Apply upgrade v1.x to v1.4.1

step07.login LXCA ,
show you message
Lenovo XClarity Administrator version 1.4.1 is intended only for migrating data and settings to another Lenovo XClarity Administrator version 2.0.0 virtual appliance. Avoid performing any other operations."

step08.登入多了一項初始化未完成Item “Configure Service And Support Settings"

step09.
*Usage Data*
We’d like to ask a favor. In order to improve the product, and make your experience better, would you allow us to collect information on how you use this product? > 當然say No就不是頭殼壞去 , then Apply

*Call Home Configuration*
> Skip Step

*Lenovo Upload Facility*
> Skip Step

*Warranty*
>Apply

*Initial Setup*
> Return to Initial Setup

step10.
Item “Work with managed systems" // 準備轉移資料/設定/管理機器清單囉 ! 要想清楚唷…點下去就無法回頭 ><

step11.按下關鍵性一刻.進入LXCA管理介面右下角就會跳出一個訊息
“This version is for Migration use Only (1.x.x to 2.0.0).

To migrate data and settings to Lenovo XClarity Administrator version 2.0.0, go to Administration > Update Management Server > Export Data and Settings. Avoid performing any other operations."

step12. Administration > Update Management Server > Export Data and Settings.  // 照作咩 ; 建議重新登出再登入才會看到

step13.
Actions > Create data packageLXCA-export-data-and-settings.png

**若有需要連OS image 及 firmware需移轉就勾選;若不需要就輸入二次 Passphrase (最少九位數唷) > confirm

LXCA-export-data-and-settings2.png

step14. 完成後有二種方式轉移
method#1. Download data (offline) 匯出檔案 > 關掉舊LXCA or disconnect LXCA NICs > 佈署新LXCA > 登入新LXCA v2.0.0 > 初始化畫面即會看到"Restore from Backup"  > Upload package > Upload > 詢問該package Passphrase > Import

LXCA_import_success.jpg

LXCA_2.jpg

LXCA_3.jpg
匯入時間需視備份檔大小而定 (e.g. 18MB 也差不多需要 15分鐘)

<Caution> 不能偷懶用 LXCA v2.1.0來匯入 v1.4.1 export data 唷..v2.1.0僅接受匯 v2.0.0版本 export data !!

<PS: New LXCA 2.0.0> 改善了新安裝LXCA若無法取得DHCP若要設定IP都需編輯eth0_config包入.iso檔名讓LXCA掛載來設定;現在在開機時會出現150秒等待設定IP畫面。LXCA210-screen.png

method#2. Push data (online) 線上移轉到新一台LXCA

step15. 登入 LXCA v2.0.0 會發現多了可以備份功能 “Back Up and Restore Data" & “可自訂notification信件內容"
LXCA_4.jpg

LXCA_8.jpg

**信件主旨為下圖**
LXCA_9.jpg

step16. 繼續給它升級下去唄..走..下一個v2.1.0
download “Lenovo XClarity Administrator Virtual Appliance Update 2.1.0″ .tgz

step17. Administration > Update Management Server > Import > Select Files "
一次選四個 ( lnvgy_sw_lxca_41-1.4.1_anyos_noarch.tgz & lnvgy_sw_lxca_41-1.4.1_anyos_noarch.xml ) > Import

step18. choice import file > Perform Update > Restart

step19. Reboot , and login LXCA verify version is v2.1.0
check version method#1 > 點選 Administration > Update management server
check version method#2 > 點擊右上角帳號 > About

Done.


Reference :
1. Lenovo XClarity Administrator Upgrading Guide from v1.x to v2.x
2. Before installing Lenovo XClarity Administrator2.1 please read
3. Lenovo XClarity older versions of XClarity Administrator Repository Pack
4. Migrating to Lenovo XClarity Administrator v2.0.0
5. Lenovo XClarity All version download

[IBM] x3650 M4 Setting BIOS Parameters for Performance

step01. press ‘F1‘ enter UEFI/BIOS

step02. choice ‘System Settings

step03. choice ‘Operating Modes

Choose Operating Mode <Custom Mode>
Memory Speed <Max Performance>
Memory Power Management <Disabled>
Proc Performance States <Disabled>
C1 Enhanced Mode <Disabled>
QPI Link Frequency <Max Performance>
Turbo Mode <Enable>
CPU C-States <Disable>
Power/Performance Bias <Platform Controlled>
Platform Controlled Type <Maximum Performance>

圖片.png

step04. choice ‘Power’
Active Energy Manager < Capping Disabled>
Workload Configuration < I/O sensitive>

圖片.png

PS:

  • Active Energy Manager

    Select this choice to enable or disable Active Energy Manager Power Capping. If you enable Power Capping, the Active Energy Manager program will limit the maximum power that is consumed by the server.

  • Workload Configuration

    Select this choice to determine how to balance between I/O bandwidth and balanced workload. Choosing I/O sensitive will get higher I/O bandwidth when expansion cards are used. Choosing Balanced will allow enough frequency for the workload while the microprocessor cores are idle.

 

[Server] Lenovo x3650 M5 被 LXCA納管後,IMM2無法連線?

客戶反應有幾台主機被納入Lenovo XClarity Administrator(LXCA)管理後,發現少數主機直連IMM2無法連線? 當時IMM2客戶版本為v4.40但類似這情形似乎在v3.75應有fix才是.開立SR是在安全性搞的鬼…

Solution:

step01. login LXCA

step02. select server

step03. All Actions > Security > Disable Encapsulation (需等待1分鐘才會生效)

ps: 若選用Enable Encapsulation則只能由LXCA來管理,並禁止直接伺服器BMC (IMM2) !

Caution:

若在此已先"Enable encapsulation on all future managed devices 那後面所新加入的機器會自動Enable Encapsulation,也造成無法直連伺服器BMC狀況唷!

2018-05-30 14_31_38-開始.jpg


Reference : https://bit.ly/2HA6IXy

 

[Lenovo] LXCA忘記本機帳號密碼 ?

客戶反應當時設定預設帳號 ‘ admin ‘忘記了密碼,因Lenovo XClarity Administrator後台Linux是沒有預設帳密所以無法由後台來重置密碼 .

Solution :
(sample account > admin )
在重置密碼前要確認原這帳號是否有歸屬lxc-recoverylxc-supervisor 角色群組。
** 建議在安裝後LXCA立即將該帳號歸屬lxc-recovery & lxc-supervisor group **

step01. Graceful shutdown LXCA VM

step02. 編輯個文檔檔名叫 " passwordreset.properties "
#vi /tmp/passwordreset.properties
——————-內容——————-
user=admin
password=PASSW0RD
——————-內容——————-

step03. 將該檔案’passwordreset.properties’作成ISO檔。
~Windows
可用像UltraISO或Imgburn製作

~Linux
# mkisofs -V passreset -J -o /tmp/passreset.iso /tmp/passwordreset.properties

step04. 上傳到ESXi datastore 或 Hyper-V Library

step05. 掛載passreset.iso

step06. 開機LXCA過程它會讀取這個檔案即可重置 admin這帳號密碼變為我們所設定"PASSW0RD"

step07. http://lxca-ip-address/ui/index.html 若登入沒問題即立即變更密碼唄!

step08. 退出passreset.iso

Done


Reference :

Lenovo XClarity Administrator > Troubleshooting > Security issues > Password for a local recovery or supervisor user is forgotten

[BIOS] Lenovo T470 downgrade BIOS firmware

If want to downgrade bios show error message " lenovo disable secure rollback prevention "

solution :

F1 enter BIOS Setup menu > Security > UEFI BIOS Update Option > Secure Rollback Prevention (Disable)


Reference :
Lenovo – BIOS rollback flash failure (Secure Flash Authentication Failed) when “Secure Rollback Prevention” enabled – ThinkPad