Posted on August 4, 2019 by Gento
In the course of my consulting engagements with many enterprise clients, over the past few years I have personally configured thousands and thousands of intelligent power strips for network deployment. Since “site services technician” is not part of my job description, you might wonder if perhaps I just have too much free time.
Quite the contrary. Instead, Raritan created a means to configure intelligent power strips (set IP address, change time settings, set unique name, turn on SNMP, etc.)—in real-world environments—very rapidly and very easily. With minimal effort, a single person can configure hundreds of power strips in a single afternoon. The technique is unique and is likely surprising to most clients, so I’d like to take the time in this post to explain its methodology and rationale.
Many of our clients deploy significant quantities of intelligent power strips, in order to enable better energy management and capacity planning. Thus, Raritan is uniquely motivated to help deploy them quickly, because the value of the data provided by intelligent power strips can only be appreciated when the power strips are network-reachable. It pains me to visit facilities that have purchased networked power strips (of any brand), where the data center operators have not actually deployed their connectivity features due to reluctance to expend the tedious effort required to network them. These facilities are missing the tremendous business and operational value that metered pdus deliver.
THE USUAL WAY : Configure Devices with Laptop
An intelligent power strip is just like any other network appliance. And most network appliances are initially configured one of two ways:
This methodology works fine for a handful of rack power distribution units. It is very straightforward and easy to do. But for any material number of power strips (even as few as 20), it is quickly becomes mind-numbingly boring (and time-consuming) because the process is “one-to-one”. Furthermore, connecting a laptop to each power strip is not at all viable as the quantity of power strips exceeds more than a few dozen: it is simply too slow (at scale).
THE PERCEIVED “SMART” WAY: DHCP plus Auto-detection / Auto-Configuration
If you tell an Engineer or IT/Network Administrator, “I have 100 network devices [power strips] that I’d like to configure and deploy,” she will likely say the following:
Indeed, in PRINCIPLE, this is the smart way. It scales. It is automated. In fact, Raritan’s own power strips come configured for DHCP out-of-the-box for this very scenario (our PowerIQ management software automatically detects the DHCP-addressed power strips and can bulk-configure them). Virtually all IT appliances of scale (such as HP iLO cards) assume this basic methodology for mass deployment.
But in PRACTICE, this “automated” process is actually prone to significant execution problems in real data center deployments. This is particularly true for new build-outs (when power strips are most likely to be installed); and is difficult to understand unless you have personally participated in the build-out / commissioning stage of a data center before. Indeed:
When new data centers are commissioned, rack power distribution is required FAR earlier than when the out-of-band network infrastructure is reliable.
Therefore, the “smart way” / “automated” way actually takes far longer to execute in real-life situations because it makes the deployment technician reliant upon the network (and network technician).
Specifically, a DHCP + automation script / management appliance methodology requires all of the following pre-conditions:
For typical IT mass deployments, the above prerequisites are not a problem at all: the network infrastructure will very typically already be deployed before the IT equipment is needed.
But for power equipment, this is simply not true. At BEST, the network infrastructure will be brand-new (and will therefore have a few routing or configuration problems). But more TYPICALLY, the rack power strips are required so early in the data center build, that one cannot in any way assume that the network is deployed fully—or that even the network engineer is onsite!
Therefore, in practical experience, when ANY of the above four conditions are not met—it requires a minimum of a few hours to fix… if not a few days.
In the same few hours that it takes to call the network engineer, ask that a routing problem be solved (or a network port be provisioned, or a bad patch cable be replaced, or DHCP to be turned on in one of the subnets), and wait for the change order to be implemented—you could have already finished configuring all the power strips! If only there was a way…
THE BEST / FASTEST WAY - Power Strip Configures Itself
Having considered (and experienced) all of the above before, the Raritan power team implemented a mechanism in our intelligent rack power strips whereby large amounts of power strips can be configured for the network—extremely rapidly, and without dependence on the network infrastructure.
In short, this diagram explains it all (click to enlarge):
All Raritan power strips whose part number begins with the prefix “PX2” (not just plain “PX”) will react to a correctly-formatted USB flash drive by:
This entire process takes place in about 20 seconds. It is, as Steve Jobs would say, “like magic”.
In a typical data center configuration, simply purchase as many USB flash drives as you have power strips in a row of cabinets. (Better yet, go to a local trade show and collect one USB flash drive at each vendor booth!) Copy the desired settings onto your USB flash drives, and insert them into every powerstrip in a row. By the time you return to the first cabinet, it will already be done configuring itself—and you can simply remove them all and move on to the next row.
Using such a methodology, I can tell you from firsthand experience that 500 power strips can be completely configured (including unique settings on each power strip) for access over the network in about two hours. I literally did this last week.
It would actually take longer to solve a single network anomaly (as required in the “smart” method)—than to completely finish a data center of 500 power strips utilizing this more straightforward approach. And rest assured, in any new data center deployment, at least one network anomaly will exist. Thus, in the very BEST case (if no network issues require troubleshooting in a newly deployed datacenter, which has never happened before in history), this method is no SLOWER than the “smart” way—for 99.9% of data centers on Earth. In most cases, it will be days and days FASTER.
TECHNICAL DETAILS FOR NERDS
The previous diagram is meant to be illustrative, not literal. For those interested in the precise method and syntax of this capability, please read on (or call your Raritan support representative).
Because I assume only nerds will read the rest of this post, complete sentences end here.
Files Found on the USB Flash Drive—all are plain text
fwupdate.cfg- the first file that the power strip references. It MUST be named fwupdate.cfg (the rest of the names below are suggestions per the example syntax). This tells the power strip what to do.
config.txt- list of COMMON settings to place on every power strip.
devicelist.csv- comma-separated list of all power strips, by serial number, indicating the UNIQUE settings to place on each power strip.
log.txt- file where the power strip will indicate errors (if they occur).
IMPORTANT NOTE: IF YOU ATTEMPT TO USE ANY OF THE BELOW EXAMPLES, DELETE ALL ANNOTATIONS FIRST. THEY ARE NOT PART OF THE SYNTAX
fwupdate.cfg - example syntax with annotations.
// I know the administrative username + password of the power strip
// So you can trust me and do whatever this USB flash drive says to do
// If anything goes wrong in this process, please indicate in a log file.
// Please look at this list of settings and apply all of them on every power strip.
// Please look at this list individual power strips by serial number,
// and apply individual/unique settings as indicated in the list.
// In the list of individual power strips, look for your own serial
// number in the 1st column… that is how you know what unique settings to apply
config.txt - example syntax with annotations.
// Give each power strip a unique name.
// These names can be found on the 2nd column of the separate device list file.
// Turn on the network port, use static IP addressing, with a /24 mask
// Set the IP address and Subnet (Gateway) for each power strip differently.
// Unique IP address / gateway list is found on the 3rd and 4th columns of the device list file.
// Turn on NTP. This is my GMT time offset [below = California]
// Turn on DNS.
// Turn on SNMPv2 and change from default community strings to my own unique shared passphrase
// Don’t force the admin user to change her password at first login
// Don’t force users to change their passwords every 30 days
Please note that there also exists syntax to change the admin username’s password from the factory default (admin/raritan) to a password of your choosing. Please contact Raritan technical support for details—and any other syntax. Also, keep in mind that once your power strips come online, making any other mass configuration change is extremely simple (particularly with Raritan’s PowerIQ management appliance)
devicelist.csv - example syntax, human-readable
Obviously, these lists are not generated by hand. Instead, use a barcode scanner to scan in serial numbers by rack, and then use Excel macros to generate the other entries according to your needs.
STANDARD DISCLAIMER / OTHER ADVICE
The above is not meant as technical documentation; please review the PX2 product documentation for further details, and contact your local Raritan support representative for assistance.
For any material deployment of Raritan intelligent power strips, your local support representative will be happy to work with you—and simply provide you with a
fwupdate.cfg file that you can use. That is to say, we’ll do the hard work for you because it’s not actually hard! Just give us a call.
Thanks for reading this extremely long post; I hope you found it helpful.