As title, It is a memo of my daily work, it won't be very detail but enough to retrieve what I have to.
Wednesday, April 29, 2020
[Errno 32] Broken pipe vibs = VMware_locker_tools-light
1. verify that the symbolic link the /locker folder must be linked to /store folder (locker -> /store)
2. rebuild /store folder from working hosts if /store is corrupted
Wednesday, April 22, 2020
Unconfigure Nutanix CVM
Change to Nutanix directory:
nutanix@cvm$ cd /home/nutanix
Create .node_unconfigure file in the above directory
nutanix@cvm$ touch .node_unconfigure
Restart genesis; this step will wipe all cluster data from the node
nutanix@cvm$ genesis restart
nutanix@cvm$ cd /home/nutanix
Create .node_unconfigure file in the above directory
nutanix@cvm$ touch .node_unconfigure
Restart genesis; this step will wipe all cluster data from the node
nutanix@cvm$ genesis restart
Friday, November 15, 2019
Reconnect host script with password
# Get the hostsystem object for every host currently disconnected.
$VMhosts = Get-View -ViewType ‘Hostsystem’ ` -Property ‘name’ ` -Filter @{“Runtime.ConnectionState”=”disconnected”}
Foreach ($VMhost in $VMhosts) {
# Create a reconnect spec
$HostConnectSpec = New-Object VMware.Vim.HostConnectSpec
$HostConnectSpec.hostName = $VMhost.name
$HostConnectSpec.userName = ‘root’
$HostConnectSpec.password = ‘password’
# Reconnect the host
$taskMoRef = $VMhost.ReconnectHost_Task($HostConnectSpec,$null)
# optional, but i like to return a task object, that way I can
# easily integrate this into a pipeline later if need be.
Get-VIObjectByVIView -MORef $taskMoRef
}
$VMhosts = Get-View -ViewType ‘Hostsystem’ ` -Property ‘name’ ` -Filter @{“Runtime.ConnectionState”=”disconnected”}
Foreach ($VMhost in $VMhosts) {
# Create a reconnect spec
$HostConnectSpec = New-Object VMware.Vim.HostConnectSpec
$HostConnectSpec.hostName = $VMhost.name
$HostConnectSpec.userName = ‘root’
$HostConnectSpec.password = ‘password’
# Reconnect the host
$taskMoRef = $VMhost.ReconnectHost_Task($HostConnectSpec,$null)
# optional, but i like to return a task object, that way I can
# easily integrate this into a pipeline later if need be.
Get-VIObjectByVIView -MORef $taskMoRef
}
Tuesday, October 15, 2019
Prevent Chrome killing your SSD by cache
xcopy /e "C:\Users\%username%\AppData\Local\Google\Chrome" "D:\Chrome"
del /s/f/q "C:\Users\%username%\AppData\Local\Google\Chrome"
rmdir /s/q "C:\Users\%username%\AppData\Local\Google\Chrome"
mklink /j "C:\Users\%username%\AppData\Local\Google\Chrome" "D:\Chrome"
del /s/f/q "C:\Users\%username%\AppData\Local\Google\Chrome"
rmdir /s/q "C:\Users\%username%\AppData\Local\Google\Chrome"
mklink /j "C:\Users\%username%\AppData\Local\Google\Chrome" "D:\Chrome"
Friday, October 11, 2019
Cisco C220M4 3.04n BIOS CIMC bin package
https://drive.google.com/open?id=13FNHe5_heFLwXTeliQFmDtxaFuAHHjit
Saturday, October 5, 2019
How to ensure TRIM is enabled on Windows 10
fsutil behavior query DisableDeleteNotify
https://www.windowscentral.com/how-ensure-trim-enabled-windows-10-speed-ssd-performance
https://www.windowscentral.com/how-ensure-trim-enabled-windows-10-speed-ssd-performance
Tuesday, September 10, 2019
Windows 10 Start Menu Search Fix
Open Regedit.exe Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search
Check the following DWord Values:
"CortanaConsent" (It should have a value of '1')
"SearchboxTaskbarMode" (It should have a value of '1')
"CortanaRegion" (It should have a value of 'US')
Check the following DWord Values:
"CortanaConsent" (It should have a value of '1')
"SearchboxTaskbarMode" (It should have a value of '1')
"CortanaRegion" (It should have a value of 'US')
Subscribe to:
Posts (Atom)