Pages
Categories
Archives
Tag Archives: scripting
Scripted management of Solaris 10 COMSTAR iSCSI targets
We’re using one of our Solaris machines to publish iSCSI targets to some VMware ESXi hosts (initiators) for client virtual machines. To make provisioning new LUNs as simple as possible I’ve written an interactive script that first creates a ZFS backing store, then creates the LU for STMF, gives you the option of creating a [...]
Use nmap to locate ProCurve switches on your network
Nmap is a great tool; utterly indispensable for network administrators. If you haven’t got it yet goto http://nmap.org or install via your favourite package manager. Here’s one of my frequently used nmap commands – very simple, but gives you a quick list of IP addresses for all of the ProCurve switches on your network. nmap [...]
Posted in Systems Administration Also tagged linux, networking, procurve, Systems Administration Leave a comment
Automated batch reboot of HP ProCurve switches via telnet
Today I had occasion to reboot about 20 ProCurve 3500yl switches, thanks to yet another firmware bug. The simplest way of doing this is with the “reload” command issued via telnet. Rather than logging into each switch and issuing the reload command by hand I threw together an Expect script which automatically logs into the [...]
A more sensible PowerShell prompt