[VMware] vRealize Operations Manager 6.x forgot root password or Device management admin password

<for Root>

step01.
reboot VM

step02.
boot loader iteme2 , boot options 最後面加入 " init=/bin/bash "

step03.
passwd // change root password

step04.
reboot VM.

Done.

<for Device management Admin>

PS: vRealize Operations Manager 密碼必須包含至少一個大寫字符、一個小寫字符、和一個特殊字符,新密碼還必須不同於前5個設置過的密碼。

step01.
pam_tally2 –user admin –reset // 開始重置管理員密碼之前,請通過運行以下命令確保該帳戶未鎖定

step02.
su root // 通过 SSH 或 控制台以 root 用户身份登录到主节点

step03.
passwd admin

step04.
$VMWARE_PYTHON_BIN $VCOPS_BASE/../vmware-vcopssuite/utilities/sliceConfiguration/bin/vcopsSetAdminPassword.py –reset<for Device management Admin>

若在 vROM console admin 還是無法登入請試著
vi /storage/vcops/user/conf/adminuser.properties.
刪除 " failed_attempts=
再試著登入 local user “admin"


Reference:

1. 重置 VMware vRealize Operations Manager 设备中的管理员密码 (2078313)
2. Log in to the Admin or Product UI of VMware vRealize Operations Manager 6.x or later as admin fails with the error: Incorrect User name/Password (2131633)

[VMware] vRealize Operations Manager 6.2 upgrade to 6.6.1

升級元件順序
1.vROM SuSe OS ( vRealize_Operations_Manager-VA-OS-6.6.1.6163041.pak )
2.vROM App ( vRealize_Operations_Manager-VA-6.6.1.6163041.pak )

Upgrade procedure

step01.
login vROM console
https://vROM-IP/admin ( id / password > admin / xxxxxxxx )

step02.
check current vROM OS version
> cat /etc/SuSE-release
> uname -a

step03.
軟體更新 > 安裝軟體更新 > vRealize_Operations_Manager-VA-OS-6.6.1.6163041.pak

step04.
> cat /etc/SuSE-release
> uname -a

step05.
軟體更新 > 安裝軟體更新 > vRealize_Operations_Manager-VA-6.6.1.6163041.pak

step06.
check after upgrade version
可以透過 https://vROM-IP/adminhttps://vROM-IP/ui

可以透過 https://vROM-IP/adminhttps://vROM-IP/ui
可以透過 https://vROM-IP/adminhttps://vROM-IP/ui

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

客戶反應有幾台主機被納入Lenovo XClarity Administrator(LXCA)管理後,發現少數主機直連IMM2無法連線?

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

 

[VMware] vCSA 6.7 customize vSphere Web Client login page

/usr/lib/vmware-sso/vmware-sts/webapps/ROOT/resources/img #放置圖檔位置
/usr/lib/vmware-sso/vmware-sts/webapps/ROOT/resources/css/login.css #變更 background 圖檔
/usr/lib/vmware-sso/vmware-sts/webapps/ROOT/WEB-INF/views/unpentry.jsp #變更Logo 或 自訂標語

step01. login vCSA or External PSC , like putty SSH

step02. type ‘ shell ‘ , then ‘ chsh -s /bin/bash root

step03. upload you want to customize Logo & Background .png # Default use .PNG format

step04. type ‘ chsh -s /bin/appliancesh root

step05. cd /usr/lib/vmware-sso/vmware-sts/webapps/ROOT/WEB-INF/views

step06. cp unpentry.jsp unpentry.jsp.bak # 備份一份原始檔以利有問題可以查看原檔或覆蓋之。

step07. vi unpentry.jsp

# 在AppBgPattern.png 此行前面加入註解符號 ; 若想加入自訂Logo圖檔請換成上傳圖檔

step08. 新增背圖
vi /usr/lib/vmware-sso/vmware-sts/webapps/ROOT/resources/css/login.css

# 新增一段 > background-image: url(../../resources/img/<upload-image>.png);
PS: 這背圖用 .jpg 或 .png 皆可 !


Reference :

  1. vPower – Change Web Client Login Page (YouTuBe)
  2. ALTARO – How to brand the vCenter SSO login page

[VMware] [500]SSO error: Failed to import TenantConfiguration for [vsphere.local]: Failed to remove existing service provider registration.

環境在 Windows edition VMware vCenter 6.0.x 登入 vSphere Web Client 出現了如下錯誤畫面進而造成卡住無法順利登入;但若使用 vSphere Client 卻是沒問題。

@Windows vCenter Server 6.0 update2 login issue

查詢了原廠KB是要增加 registry database size 限制.因為已到達了 1024 需再加大。

Resolution:

  1. regedit.exe
  2. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\VMwareDirectoryService\Parameters ,增加一筆 DWORD ‘ MaximumDbSizeMb ‘ ,數值大於 1024 MB
  3. 重啟服務 ‘ VMware Directory Service ‘
  4. 等待10分到15分鐘確認可以順利登入且無錯誤訊息。

Reference :
VMware KB –
“Failed to remove existing service provider registration" when logging in to the vSphere Web Client (2145602)

[Windows] fix 主機大量 zero window issue

step01. check current config

C:\WINDOWS\system32> netsh interface tcp show global
Querying active state…

TCP Global Parameters

Receive-Side Scaling State : enabled
Receive Window Auto-Tuning Level : normal
Add-On Congestion Control Provider : default
ECN Capability : disabled
RFC 1323 Timestamps : disabled
Initial RTO : 3000
Receive Segment Coalescing State : enabled
Non Sack Rtt Resiliency : disabled
Max SYN Retransmissions : 2
Fast Open : enabled
Fast Open Fallback : enabled
HyStart : enabled
Pacing Profile : off

step02. 把 Receive Window Auto-Tuning Level (接收視窗自動調整層級) 改為 Disabled .
> netsh interface tcp set global autotuninglevel=disabled

**回復預設值**
> netsh interface tcp set global autotuninglevel=normal


> netsh interface tcp set global autotuninglevel=normal

有些江湖傳言說改為 disabled會加快上網變快之類,若不熟悉者還是小心使用。

[VMware] Online install VMware PowerCLi through PowerShell

<Require>
This environment use PowerShell 5.x version

How to check PowerShell version
PS:\> $PSVersionTable
Or
PS:\> Get-Host

step01.
PS:\> Save-Module -Name VMware.PowerCLI -Path

step02.
PS:\> Install-Module -Name VMware.PowerCLI

step03.
PS:\> Set-PowerCLIConfiguration -InvalidCertificateAction Ignore

step04.
PS:\> Get-Module -ListAvailable -Name VMware*

[P2P] Web File Transfer

有時苦於身邊無安裝 IM Apps 或 Cloud Apps 上傳,或是公司或客戶無架設 FTP / Web server , 只是臨時想把一個檔案傳達給對方。

那最方便莫過於利用線上網頁 P2P 傳檔