[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 需再加大。


  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

This environment use PowerShell 5.x version

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

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

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

PS:\> Set-PowerCLIConfiguration -InvalidCertificateAction Ignore

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

[P2P] Web File Transfer

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

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

[NetApp] OCUM 6.x/7.x enable diag shell (SSH)

OnCommand Unified Manager (UM) 6.x
OnCommand Unified Manager (UM) 7.0, 7.1

step01. choice 4) Support/Diagnostics

step02. type erds

Remote diagnostic acces is disabled.
Would you like to enable remote diagnostic access? (y/N) y


Enter new UNIX password: 輸入密碼
Retype new UNIX password: 輸入密碼
passwd: password updated successfully

Remote diagnostic access will be disabled after midnight UTC tomorrow (2019-03-08) to use.

Press any key to continue.

step05. 可以利用 WinSCP 或 putty 使用帳號 diag 及剛設定密碼登入OCUM.