How to automate update of Access Keys for POWER8

The other day, I’ve wrote about POWER8 ‘feature’ which requires from an administrator update of  access keys in order to keep a server eligible for the firmware upgrade POWER8 – No hardware maintenance-no firmware upgrade . An administrator needs to enter these every few months, if a maintenance contract is re-signed every few months. This can be a headache, or something bigger if someone runs multiple servers. There is a secret HMC function, which can update the keys automatically.

Continue reading “How to automate update of Access Keys for POWER8”

how to get ip address from hostname in CL (IBM i)

Today, I was preparing another program for automation. I need a function to retrieve an IP address of a remote system from the DNS having the system hostname. In the interactive session, you’d simple use ping or nslookup commands to resolve the hostname. But none of these commands can store the result into a variable. I did a short research, and there is very cool command Start DIG Query (DIG). This command can be used in a program, and it’s very easy get an IP address. Here is the example of a simple CL:

Continue reading “how to get ip address from hostname in CL (IBM i)”

Building multiple LPARs with dedicated I/O from the CLI

Hi,

Nowadays, I’m preparing for huge hardware delivery. I’m about to get dozen of MMD’s. The challenge is to configure them (LPAR profiles, VIOS, etc) as soon as possible. I found the way how to automate creation of multiple VIO/LPAR profiles including I/O configuration for multiple servers without knowing SN of the expansions drawers.

Continue reading “Building multiple LPARs with dedicated I/O from the CLI”