Thursday, November 19, 2015

AIX: How to synchronize more PP/LP in parallel by LVM NUM_PARALLEL_LPS

Command syncvg can be customized to synchronize different number of LPs in parallel
syncvg -p <#>

If you use mirrorvg you can set environment variable NUM_PARALLEL_LPS before running command:

export NUM_PARALLEL_LPS=<#>

Value <#> can be number in range of 1-32

Monday, July 20, 2015

AIX: devscan reporting and diagnostic tool for SAN devices

Are you looking for reporting and diagnostic tool for SAN devices on AIX?

Lets try IBM support tool called devscan which can report for each LUN:

  • ODM name and status
  • PVID, if there is one
  • Device type
  • Capacity and block size
  • SCSI status
  • Reservation status, both SCSI-2 and SCSI-3
  • ALUA status
  • Time to service a SCSI Read

Source and download:
https://www-304.ibm.com/support/docview.wss?uid=aixtoolsc9e095f

Wednesday, April 1, 2015

AIX: How to get CPU / processor socket and core count for IBM Power server

Here is the command for AIX which shows you the count of processor cards (sockets) installed in your Power server including information about count of cores per one socket. The terminology processor in IBM Power server and AIX world describes core in relation to HW.

Command:
lscfg -vp|grep WAY

Example:
lscfg -vp|grep WAY
      6-WAY  PROC CUOD:
      6-WAY  PROC CUOD: 


Expample shows you that system has two sockets and each has 6 cores, so system has 12 cores.


Friday, February 20, 2015

AIX: How to determine / identify volume UID from Storwize / SVC

How to list / identify volume ID UID from Storwize / SVC?



This command can be used to determine / list volume UID of disk located on Storwize / SVC in AIX:

for i in `lsdev -t 2145 | awk '{ print $1}'`
do
echo $i "\c"
lsattr -El $i -a unique_id | awk '{ print $2 }' | cut -c 6-37
done


or for MPIO without HAS and SDDPCM:

for i in `lsdev -t mpioosdisk | awk '{ print $1}'`
do
echo $i "\c"
lsattr -El $i -a unique_id | awk '{ print $2 }' | cut -c 6-37
done

You get volume UID which can be used to identify disk on Storwize / SVC in GUI or running command lsvdisk.

lsvdisk -filtervalue vdisk_UID=60050111111111111000000000000002


Enjoy IT!