Wednesday, September 26, 2018
Hot-spare warning on Dell servers
When assigning a global hot spare in a system with multiple arrays, the warning "The global hot-spare drive Disk 0 in Backplane 1 of Integrated RAID Controller 1 does not cover all the virtual drives (VDs) available on the controller" or "Insufficient space on the global hot spare Disk 0 in Backplane 1 of Integrated RAID Controller 1" might appear if one of the arrays either uses drives larger than the hot spare, or if the hot spare is an HDD and one of the arrays is SSD.
Friday, March 30, 2018
Find IP address on Cisco switch
I found two ways to locate an the port of an IP address on a Cisco switch.
If the IP address is assigned by DHCP and you have DCHP Snooping turned on (which you should), then you can use "sh ip dhcp snooping binding" to show all DHCP IP leases that went through that switch.
If DHCP Snooping is not turned on and DHCP isn't used to assign the IP address, first ping the IP you're looking for on the switch. Then, run "sh ip arp" and get the mac address of the IP. Finally, use "sh mac address-table | include <mac address>" to show the interface the IP is on.
If the IP address is assigned by DHCP and you have DCHP Snooping turned on (which you should), then you can use "sh ip dhcp snooping binding" to show all DHCP IP leases that went through that switch.
If DHCP Snooping is not turned on and DHCP isn't used to assign the IP address, first ping the IP you're looking for on the switch. Then, run "sh ip arp" and get the mac address of the IP. Finally, use "sh mac address-table | include <mac address>" to show the interface the IP is on.
Monday, March 26, 2018
Windows Server disk cleanup
To enable "disk cleanup" in Windows Server the Desktop Experience feature must be installed. Sometimes installing it through the GUI can throw up an error, so I prefer to install it through Powershell using this:
install-WindowsFeature -Name Desktop-Experience –IncludeAllSubFeature
install-WindowsFeature -Name Desktop-Experience –IncludeAllSubFeature
Showing processes in Powershell
Sometimes processes are hidden behind what's running them, and you'll just see "Powershell" or something similar in Task Manager. To show what's actually running, use this script in Powershell.
gwmi win32_process | select -prop processName,ProcessId,commandLine
gwmi win32_process | select -prop processName,ProcessId,commandLine
Subscribe to:
Posts (Atom)