IBMi.org – Bart's blog

IBM i and PowerVM features and tools

Category Archives: Administration

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.

Read more of this post

Create an LPAR with specific WWPNs

By the command below an LPAR can be created with specific WWPNs, of course if you use NPIV adapters. It can be useful for LPARS migration between servers. It is extremely dangerous command, therefore it should be used only by people who knows what is for. Read more of this post

How to create SEA without touching VIOS

In this post I will describe how to create a Shared Ethernet Adapter (SEA) from the new HMC Enhanced GUI interface where no single command in VIOS command line is required. Read more of this post

Use link aggregation instead of VIPA on IBM i

In the past, the only option to provide redundant Ethernet on dedicated network adapters for IBM i was a VIRTUALIP ‘interface’. Starting with IBM i 7.1 TR3, there is a new feature called Link aggregation. It is much better and much easier for implementation than VIPA.

Read more of this post

IBM i lpar crashed duo to Dynamic Platform Optimizer

Dynamic Platform Optimizer is a hypervisor function which rearranges logical partition processors and memory on the system to improve the affinity between processors, and memory of logical partitions. In this post I will describe when to use this function and how to prevent IBM i Lpar from crash. Read more of this post

How to display the HMC iqyylog.log

In this post I give you a hint how to display a log which is usually used by IBM support to identify a serious hardware error. Such information usually can be found in HMC log called iqyylog. Usually, when you get that kind of hardware error, you involve IBM support. Very likely, they will ask for PE debug data. There is a way how to display the log by yourself. Remember, such information is very technical. But maybe you find it useful.

  • First, you need to create the hscpe account on the HMC (if you haven’t done it). You can find the process here.
  • Log in to the HMC GUI under hscpe account.
  • In the Service Management menu you find three new options available

three_options

If you click on View Management Console Logs, you are going to see the log.

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:

Read more of this post

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.

Read more of this post

Monitor CPU, POOL utilization from PHYP cycles on POWER8

One of the most popular post on my blog, is the one about monitoring a CPU by CPU cycles dispatched by a POWER Hypervisor link.

With POWER8 we receive new attributes in lslparutil command.

Read more of this post

SR-IOV technology on POWER – my few words

Finally the announcement day arrived. POWER8 and SR-IOV have been introduced to the world, and I can share my experience from my last residency.

Single Root I/O Virtualization are not new adapters, but this is a new technology, standard, specification. In fact, it uses adapters which are on the market for some time already. Specification allows to get a slice of a physical adapter and assign it an LPAR. This feature requires a proper hardware, firmware, and all elements around it.

Read more of this post