## 11.2 Installation of PowerHA SystemMirror for Linux 

## 11.2.1 Prerequisites 

This section shows how to install PowerHA for Linux. 

Before you install the PowerHA SystemMirror on a Linux system, you must meet the following prerequisites: 

GLYPH<SM590000> You must have root authority to perform the installation. 

GLYPH<SM590000> The following scripting package is required in each SUSE Linux Enterprise Server and RHEL system: 

– KSH93  ( ksh-93vu-18.1.ppc64le ) for SUSE Linux Enterprise Server 

– KSH93  ( ksh-20120801 ) for RHEL. 

The downloaded files contain the source package for the ksh-93vu-18.1.src.rpm  files that must be compiled to get the ksh-93vu-18.1.ppc64le.rpm  files. To compile the files, run the following command: 

rpmbuild --rebuild ksh-93vu-259.1.src.rpm. 

GLYPH<SM590000> As a best practice, each distribution must a connection to the subscription service so that it can download the packages, for example, satellite for Red Hat and smt for SUSE. The repository location of each package can vary over time. 

## 11.2.2 Prerequisites check 

GLYPH<SM590000> The following packages are required in the RHEL system: 

– bzip2 

– nfs-utils 

– perl-Pod-Parser 

– bind-utils 

– lsscsi 

– sg3_utils 

GLYPH<SM590000> For SUSE, it is a best practice to have the following repositories: 

– IBM Power SDK Tools 

– IBM-DLPAR-utils 

– IBM-DLPAR-Adv-Toolchain 

– IBM-DLPAR-SDK 

– IBM_Power_Tools 

– SLE-12-SP3-SAP-12.3-0 

– SLE-SDK12-SP3-Updates 

– SUSE Linux Enterprise  Server12-SP3-Updates 

If you want to validate that the prerequisites of the software are correct, you can validate them as shown in Example 11-4. 

sles12-n1:/tmp/POWERHA7.2.2Linux/PHA7220Linux64 # ./installPHA --onlyprereq  checking :Prerequisites packages for PowerHA SystemMirror  Success: All prerequisites of PowerHA SystemMirror installed installPHA: No installation only prerequisite check was performed 

