unixadmin.free.fr just another IBM blog and technotes backup

13oct/15

How to add a hardware error in AIX errlog

Comment générer des erreurs hardware dans l'errlog d'AIX. Utile pour tester des logiciels de supervision ou la gestion des évènements sous PowerHA.
Voir le fichier /usr/include/sys/errids.h pour les LABELS errpt.

echo "EPOW_SUS\nEMULATE\n1\ntexte1\ntexte2" | /usr/lib/ras/ras_logger
echo "SCSI_ERR1\nEMULATE\n1\ntexte1\ntexte2" | /usr/lib/ras/ras_logger
# errpt
IDENTIFIER TIMESTAMP  T C RESOURCE_NAME  DESCRIPTION
0502F666   1013162315 P H EMULATE        ADAPTER ERROR
74533D1A   1013162115 U H EMULATE        LOSS OF ELECTRICAL POWER
Remplis sous: AIX, HACMP Aucun commentaire
27juil/15

PowerHA Service Pack APAR content Matrix

Source : IBM Technote

Last Updated: 7/24/2015
Table View: (Links to list/description of APARs in each service pack)

PowerHA SystemMirror Version
V6.1
V7.1.0
V7.1.1
V7.1.2
V7.1.3
SP1 – 12/1/2009 SP1 – 9/1/2010 SP1 – 2/1/2012 SP1 – 11/1/2012 SP1 - 5/16/2014
SP2 – 5/1/2010 SP2 – 11/1/2010 SP2 – 3/1/2012 SP2 – 3/1/2013 SP2 - 11/10/2014
SP3 – 9/1/2010 SP3 – 12/1/2010 SP3 – 7/1/2012 SP3 – 7/1/2013 SP3 - 3/27/2015
SP4 – 1/1/2011 SP4 – 8/1/2011 SP4 – 12/1/2012 SP4 - 6/23/2014
SP5 – 4/1/2011 SP5 – 3/1/2012 SP5 – 5/1/2013 SP5 - 11/21/2014
SP6 – 8/1/2011 SP6 – 10/1/2012 SP6 – 2/19/2014 SP6 - 7/24/2015
SP7 – 12/1/2011 SP7 – 2/1/2013 SP7 - 8/26/2014
SP8 – 5/1/2012 SP8 – 6/1/2013 SP8 - 3/3/2015
SP9 – 8/1/2012 SP9 – 5/9/2014 SP9 - 5/27/2015
SP10 – 1/1/2013
SP11 – 5/1/2013
SP12 – 9/1/2013
SP13 - 7/30/2014
SP14 - 11/21/2014
SP15 - 4/27/2015
Remplis sous: HACMP Aucun commentaire
5mai/12

PowerHA Enterprise Edition Support Cross Reference

Source: IBM Technote

The following shows the supported combinations available within PowerHA Enterprise Edition. The NPIV support was confirmed with PowerHA development, though no separate support flashes state it.

POWERHA Enterprise Edition Support Cross Reference

Replication Option
HA version
(minimum)
AIX 5.3
AIX 6.1
AIX 7.1
VIOS
NPIV
GLVM synchronous 5.2+IY66555 YES – ML2 YES YES YES YES
GLVM asynchronous 5.5 SP1 NO Yes-TL2 SP3 YES YES YES
SVC Metro Mirroring 5.2 YES YES YES YES - VIOS 1.5
HA 5.4.1+IZ13774
HA 5.5
HA 6.1
YES –
VIOS 2.1
HA 5.4.1+IZ02620
HA 5.5
HA 6.1
YES
SVC Global Mirroring 5.5 YES – TL9
RSCT 2.4.10.0
YES–TL2
RSCT 2.5.2.0
YES Same as Metro
above
except no 5.4.1
support
YES
ESS Metro 5.1 YES YES YES YES w/HA v6.1 YES
DS6k/8K Metro 5.2+IY73937
5.3+IY74112
YES-ML1 YES YES YES w/HA v6.1 YES
EMC SRDF (sync and async)
DMX-3
DMX-4

V-MAX
6.1 YES – TL9
RSCT 2.4.12.0
YES–TL2 SP1
RSCT 2.5.4.0
YES Not vSCSI YES
DS8700/DS8800 Global Mirror 6.1 SP3 YES – TL9
RSCT 2.4.12.0
YES–TL2 SP1
RSCT 2.5.4.0
YES
RSCT
3.1.0.0
Not vSCSI YES
Hitachi TrueCopy sync
and HUR async
6.1 SP3 YES – TL9
RSCT 2.4.12.0
YES–TL2 SP1
RSCT 2.5.4.0
YES Not vSCSI YES
HP Continuous Access 6.1 SP3 NO YES - TL5 RSCT 3.1.0.3 YES –
RSCT 3.1.0.3
Not vSCSI YES
XIV 6.1 SP7 YES – TL9
RSCT 2.4.13.0
YES – TL5 RSCT 2.5.5.2 YES - RSCT 3.1.0.3 NO YES


Addition EMC/SRDF software requirements:

    • ·JAVA
      ·IBM’s Java 1.4 preferred
      ·EMC SYMCLI
      ·SYMCLI.SYMCLI.rte 7.0.0.0

The SYMCLI command line interfaces must be installed in the default location, /usr/symcli/bin

    • ·EMC Storage Subsystem
      ·DMX-3 with microcode 5772.103.93 or higher
      ·DMX-4 with microcode 5773.134.94 or higher
      ·V-MAX with microcode 5874.188.156 or higher
      ·PowerPath
      ·5.3.0.0
      ·cluster.es.sr.rte
      ·cluster.es.sr.cmds
      ·cluster.msg.en_US.sr


Additional DS8700 Global Mirror software requirements

        • ·cluster.es.genxd
          ·cluster.msg.en_US.genxd
    • ·DS8700 Firmware Software Bundle V75.1.145.0 or later
      ·DSCLI version 6.5.1.203 or later
      ·JAVA
      ·Additional filesets from 6.1 SP3 specifically above what comes on 6.1 EE base media


Additional Hitachi software requirements

        • ·cluster.es.tc
          ·cluster.msg.en_US.tc
    • ·USPV Microcode 60-06-05/00, or later
      ·CCI Version 01-23-03/06 or later
      ·Additional filesets from 6.1 SP3 specifically above what comes on 6.1 EE base media


Additional HP software requirements
The following HP software and microcode were used as part of the testing:
1. HP StorageWorks XP Continuous Access Software (no version needed)
2. HP RAID Manager: 1.25.11
3. XP 24000 Microcode: 60-08-08-00/00
4. XP 12000 Microcode: 50-09-98-00/08
5. MPIO: MPIO ODM (5403) devices.fcp.disk.HP.xparray.mpio.rte 5.4.0.3

Remplis sous: HACMP Aucun commentaire
5août/11

PowerHA hardware support matrix

Abstract: This document contains information about the POWER systems, IBM storage, adapters, and AIX levels supported by currently versions of HACMP 5.4.1 through PowerHA 7.1. This is a compilation of the official support flashes.

hamatrix.doc

SOURCE: TD105638

Remplis sous: HACMP Aucun commentaire
26avr/11

HACMP Version Compatibility Matrix

Source: IBM Technote

This document is a quick cross reference between the supported versions of HACMP and AIX.

HACMP Version
Supported?
AIX Level(s)
MISC
1.2
NO
3.2.5
2.1
NO
3.2.5
3.1.0
NO
3.2.5
3.1.1
NO
3.2.5
4.1.0
NO
4.1.X
4.1.1
NO
4.1.X
4.2
NO
4.1.4, 4.2.X
4.2.1
NO
4.1.5, 4.2.X
4.2.2
NO
4.1.5, 4.2.1, 4.3.X
4.3
NO
4.3.2, 4.3.3
4.3.1
NO
4.3.2, 4.3.3
4.4
NO
4.3.3
4.4.1
NO
4.3.3, 5.1
4.5
NO
5.1, 5.2
5.1
NO
5.1, 5.2,5.3
5.2
NO
5.1, 5.2,5.3
No-9/30/2009
5.2(ML4), 5.3(ML2) or higher
6.1
AIX 5.2 RSCT 2.3.6 or higher
AIX 5.3 RSCT 2.4.2 or higher
5.4.0
and
5.4.1
5.2 (TL8) or higher
5.3
(TL4) or higher
AIX 5.2 RSCT 2.3.9 or higher
AIX 5.3 RSCT 2.4.5. or higher
5.3 (TL7 ) or higher
6.1 (TL2,SP1)
AIX 5.3 RSCT 2.4.10.0 or higher
AIX 6.1 RSCT 2.5.2.0 or higher

release_notes
Yes
AIX 5.3 TL 9
AIX 6.1 TL2 SP1
AIX 5.3 RSCT 2.4.12.0 or higher
AIX 6.1 RSCT 2.5.4.0 or higher
release_notes
Yes
AIX 6.1 TL6+
AIX 7.1
AIX 6.1 RSCT 3.1.0.0 or higher
AIX 7.1 RSCT 3.1.0.0
release_notes

Upgrade Paths:

5.3
5.4
5.4.1
5.5
6.1
7.1
5.2
R/S/O
R/S/O
R/S/O
R/S/O
*
*
5.3
NA
R/S/O
R/S/O
R/S/O
R*/S/O
*
5.4
NA
NA
R/S/O/N
R/S/O/N*
R*/S/O/**
*
5.4.1
NA
NA
NA
R/S/O/N
R/S/O/N
R/S/O
5.5
NA
NA
NA
NA
R/S/O/N
R/S/O
6.1
NA
NA
NA
NA
NA
R/S/O


R=Rolling Upgrade
S=Snapshot Upgrade
O=Offline Upgrade
N=Non-disruptive Upgrade

*= Must upgrade to 5.4.1 or above first, making it a two step upgrade.
**=NDU not officially supported beyond two version

AIX 4.3.3
AIX 5.1
AIX 5.1(64-bit)
AIX 5.2
AIX 5.3
AIX 6.1
AIX 7.1
HACMP 4.5
No
Yes
No
Yes
No
No
No
HACMP/ES 4.5
No
Yes
Yes
Yes
No
No
No
HACMP/ES 5.1
No
Yes
Yes
Yes
Yes
No
No
HACMP/ES 5.2
No
Yes
Yes
Yes
Yes
No
No
HACMP/ES 5.3
No
No
No
Yes
Yes
No
HACMP/ES 5.4.0
No
No
No
TL8+
TL4+
No
No
No
No
No
TL8+
TL4+
No
No
No
No
TL9+
TL2,SP1+
No
No
No
No
TL9+
TL2,SP1+
No
No
No
No
No
TL6+
Remplis sous: HACMP Aucun commentaire
9mar/11

HACMP Extended Heartbeat over disk

Extended Heartbeat over disk configuration

hdisk4 = disk size = 100M

ha_node1#lspv
hdisk4          00c46ceabbd37bd2                    None
hdisk0          00c46ceaf324f0e0                    rootvg          active
hdisk2          00c46ceaf324f141                    rootvg          active
hdisk3          00c46ceaace3d04b                    None

ha_node2#lspv
hdisk4          00c46ceabbd37bd2                    None
hdisk1          00c46ceaf4f4787a                    rootvg          active
hdisk2          00c46ceaf4f478d1                    rootvg          active
hdisk3          00c46ceaace3d04b                    None

Create a Concurrent Volume Group via CSPOC

ha_node1:
#smitty hacmp
 System Management (C-SPOC)
HACMP Concurrent Logical Volume Management
 Concurrent Volume Groups
Create a Concurrent Volume Group

 > HA_NODE1                                                            
 > HA_NODE2

> 00c46ceabbd37bd2

 Node Names                                          HA_NODE1,HA_NODE2
  PVID                                                00c46ceabbd37bd2
  VOLUME GROUP name                                  [heartbeat]
  Physical partition SIZE in megabytes                4                    
  Volume group MAJOR NUMBER                          [33]                  
  Enhanced Concurrent Mode                            true                  
  Enable Cross-Site LVM Mirroring Verification        false
Command: OK            stdout: yes           stderr: no

Before command completion, additional instructions may appear below.

HA_NODE1: heartbeat
HA_NODE1: HA_NODE1: Volume group heartbeat has been updated.
HA_NODE1: HA_NODE2: Volume group heartbeat has been imported.

cl_mkvg: Discovering Volume Group Configuration...
ha_node1#lspv
hdisk4          00c46ceabbd37bd2                    heartbeat
hdisk0          00c46ceaf324f0e0                    rootvg          active
hdisk2          00c46ceaf324f141                    rootvg          active
hdisk3          00c46ceaace3d04b                    None

ha_node2#lspv
hdisk4          00c46ceabbd37bd2                    heartbeat
hdisk1          00c46ceaf4f4787a                    rootvg          active
hdisk2          00c46ceaf4f478d1                    rootvg          active
hdisk3          00c46ceaace3d04b                    None

Add a disk heartbeat Network to the HACMP Cluster

ha_node1:
smitty hacmp
Extended Configuration
Extended Topology Configuration
Configure HACMP Networks
Add a Network to the HACMP Cluster
    # Pre-defined Serial Device Types
      ¦   diskhb    


     Network Name                                       [net_diskhb_hdisk4]
    * Network Type                                        diskhb

Add Communication Interfaces/Devices to ha_node1

smitty hacmp
Extended Configuration
Extended Topology Configuration
Configure HACMP Communication Interfaces/Devices
Add Communication Interfaces/Devices
Add Pre-defined Communication Interfaces and Devices
Communication Devices
net_diskhb_hdisk4
Device Name                                        [ha_node1_diskhb01]
* Network Type                                        diskhb
* Network Name                                        net_diskhb_hdisk4
* Device Path                                        [/dev/hdisk4]
* Node Name                                          [HA_NODE1]

Add Communication Interfaces/Devices to ha_node2

smitty hacmp
Extended Configuration
Extended Topology Configuration
Configure HACMP Communication Interfaces/Devices
Add Communication Interfaces/Devices
Add Pre-defined Communication Interfaces and Devices
Communication Devices
net_diskhb_hdisk4
Device Name                                        [ha_node2_diskhb01]
* Network Type                                        diskhb
* Network Name                                        net_diskhb_hdisk4
* Device Path                                        [/dev/hdisk4]
* Node Name                                          [HA_NODE2]

--> Synchonise and start the cluster .....

Activate in concurent mode the hearbeat volume group

ha_node1# varyonvg -c hearbeat

ha_node1#lspv
hdisk4          00c46ceabbd37bd2                    heartbeat       concurrent
hdisk0          00c46ceaf324f0e0                    rootvg          active
hdisk2          00c46ceaf324f141                    rootvg          active
hdisk3          00c46ceaace3d04b                    hacmpvg         active

Activate in concurent mode the hearbeat volume group

ha_node2# varyonvg -c hearbeat

ha_node2#lspv
hdisk4          00c46ceabbd37bd2                    heartbeat       concurrent
hdisk0          00c46ceaf324f0e0                    rootvg          active
hdisk2          00c46ceaf324f141                    rootvg          active
hdisk3          00c46ceaace3d04b                    hacmpvg

TEST HEARTBEAT OVER DISK

Receive

#/usr/sbin/rsct/bin/dhb_read -p hdisk4 -r

Transmit

#/usr/sbin/rsct/bin/dhb_read -p hdisk4 -t

Exemple:

ha_node1#/usr/sbin/rsct/bin/dhb_read -p hdisk4 -r
DHB CLASSIC MODE
 First node byte offset: 61440
Second node byte offset: 62976
Handshaking byte offset: 65024
       Test byte offset: 64512
Receive Mode:
Waiting for response . . .
Magic number = 0x87654321
Magic number = 0x87654321
Magic number = 0x87654321
Magic number = 0x87654321
Magic number = 0x87654321
Magic number = 0x87654321
Magic number = 0x87654321
Magic number = 0x87654321
Magic number = 0x87654321
Magic number = 0x87654321
Link operating normally

ha_node2#/usr/sbin/rsct/bin/dhb_read -p hdisk4 -t
DHB CLASSIC MODE
 First node byte offset: 61440
Second node byte offset: 62976
Handshaking byte offset: 65024
       Test byte offset: 64512
Transmit Mode:
Magic number = 0x87654321
Detected remote utility in receive mode.  Waiting for response . . .
Magic number = 0x87654321
Magic number = 0x87654321
Link operating normally
Remplis sous: HACMP Aucun commentaire