Table of Contents

Where to find PPC distributions

New: Linux x64 simulator for P8 PPC64 and PPC64le

http://www-304.ibm.com/webapp/set2/sas/f/pwrfs/pwrfsdownload.html

New: CentOS 7.2 supports BE and LE, opensuse 13.2, Ubuntu 14.04, Fedora 21 supports Big Endian (BE) and Little Endian (LE). If you use Little Endian with PowerKVM, you can install virtual servers using LE and BE.

For BE, the bootloader used is yaboot, while LE use grub.

New: in Ubuntu 16.04, native support for ZFS (also in Debian).

Add specific packages for IBM Power servers:

https://public.dhe.ibm.com/software/server/POWER/Linux/yum/OSS/RHEL/9/ppc64le/
http://www-304.ibm.com/webapp/set2/sas/f/lopdiags/installtools/home.html
https://www14.software.ibm.com/webapp/set2/sas/f/lopdiags/home.html

CentOS (Redhat freeware):

http://mirror.centos.org/altarch/7/isos/

https://wiki.centos.org/SpecialInterestGroup/AltArch/

Fedora:

ftp://fr2.rpmfind.net/linux/fedora-secondary/releases/21/Server/

OpenSuse:

http://download.opensuse.org/ports/ppc/distribution/13.2/iso/

http://ftp.opensuse.org/pub/opensuse/ports/ppc/factory/repo/oss/suse/ppc64/

http://download.opensuse.org/ports/ppc/distribution/13.2/repo/oss/

Ubuntu

http://cdimage.ubuntu.com/releases/trusty/release/

Fedora archives

ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/fedora/linux/releases/

Install on RAID adapter

http://www.ibm.com/developerworks/aix/tutorials/au-aix-raid/

If you plan to use a hardware adapter to build a raid or mirror, then boot on diagnostic CD before start the OS installation.

Network install

You need to specify:

Server IP: download.opensuse.org

Path: /ports/ppc/distribution/12.2/repo/oss

If you need multipathing (Ex if you use dual VIOS), then start the install using:

install disk-detect/multipath/enable=true

For installation under PPC, don't forget, instead /boot, allocate a partition not formated, under type 0x41 PPC PReP Boot. The rest is the same than x86

Select:

new install
Custom partition
Hard Disks
  sda1 (Do not format ) type  0x41 PPC PReP Boot
Do not mount
  sda2 Do not Format   type 0x8E Linux LVM
Volume Manager
  Create a VG
  create LVs

Specific Linux PowerPC packages and commands

powerpc-utils

/usr/bin/amsstat
/usr/sbin/activate_firmware
/usr/sbin/bootlist              : set the disk to boot
/usr/sbin/drmgr
/usr/sbin/hvcsadmin
/usr/sbin/lparstat              : info about profile (cpu, memory, partition ID, partition name...
/usr/sbin/ls-vdev               : list virtual devices
/usr/sbin/ls-veth               : list virtual ethernet adapters
/usr/sbin/ls-vscsi              : list virtual SCSI adapters
/usr/sbin/lsdevinfo
/usr/sbin/lsprop
/usr/sbin/lsslot                : list physical slots
/usr/sbin/nvram
/usr/sbin/nvsetenv
/usr/sbin/ofpathname
/usr/sbin/ppc64_cpu
/usr/sbin/pseries_platform
/usr/sbin/rtas_dump
/usr/sbin/rtas_event_decode
/usr/sbin/rtas_ibm_get_vpd
/usr/sbin/serv_config
/usr/sbin/set_poweron_time
/usr/sbin/snap
/usr/sbin/sys_ident
/usr/sbin/uesensor
/usr/sbin/update_flash          : flash the phsical server firmware
/usr/sbin/lsslot                : list physical slots
/usr/sbin/update_flash_nv

iprutils

/sbin/iprconfig                 : util to create, list...raid arrays, and flash SAS adapter
/sbin/iprdbg
/sbin/iprdump
/sbin/iprinit
/sbin/iprupdate

lsvpd

/usr/sbin/lscfg                 : list config (also lshw)
/usr/sbin/lsmcode               : print firmware level for all hardware (-A)
/usr/sbin/lsvio                 : list VIOS info
/usr/sbin/lsvpd                 : list config (also lshw)
/usr/sbin/vpdupdate             : update VPD inventory in case of corruption

ppc64-diag

/usr/sbin/add_regex
/usr/sbin/convert_dt_node_props
/usr/sbin/diag_encl
/usr/sbin/encl_led
/usr/sbin/explain_syslog
/usr/sbin/extract_opal_dump
/usr/sbin/extract_platdump
/usr/sbin/lp_diag
/usr/sbin/opal-elog-parse
/usr/sbin/opal_errd
/usr/sbin/rtas_errd
/usr/sbin/syslog_to_svclog
/usr/sbin/usysattn              : attention LED
/usr/sbin/usysfault
/usr/sbin/usysident             : make blinking a device (for example adapter to identify)

rsct.core

/usr/bin/displayevent
/usr/bin/elogevent
/usr/bin/enotifyevent
/usr/bin/ewallevent
/usr/bin/ldpdef
/usr/bin/logevent
/usr/bin/lphistory
/usr/bin/lsactdef
/usr/bin/lsaudrec
/usr/bin/lscondition
/usr/bin/lscondresp
/usr/bin/lsevent
/usr/bin/lslpclacl
/usr/bin/lslpcmd
/usr/bin/lslpracl
/usr/bin/lslpriacl
/usr/bin/lslprsacl
/usr/bin/lsresponse
/usr/bin/lsrsrc                 : list HMC connections
/usr/bin/lsrsrc-api
/usr/bin/lsrsrcacl-api
/usr/bin/lsrsrcdef
/usr/bin/lsrsrcdef-api
/usr/bin/lssensor
/usr/bin/lssr-api
/usr/bin/startrsrc
/usr/bin/stoprsrc
...

servicelog

/usr/bin/log_repair_action
/usr/bin/servicelog
/usr/bin/servicelog_manage
/usr/bin/servicelog_notify