Please login or register. November 22, 2017, 04:30:51 PM

Author Topic: hdisk mismatch between 2 nodes  (Read 8094 times)

0 Members and 1 Guest are viewing this topic.

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1054
  • Karma: +0/-0
hdisk mismatch between 2 nodes
« on: February 03, 2007, 03:42:07 PM »
Quote
Topic:  hdisk mismatch between 2 nodes.
Posted by: jasper ? 02/01/2007, 20:56:49
Author Profile | Post Reply | Alert | Recommend | Current page | Edit | Main Forum
Hi,
I have 2 AIX nodes running HACMP. How do I get the 2 nodes with the same hdisk#.

node1: active. with all FS mounted.
hdisk0 00c018cacacbabf3 rootvg active
hdisk1 00c0116ad056e074 datavg1 concurrent
hdisk2 00c011aeda31a029 datavg2 concurrent
hdisk3 00c0121eca9b0291 datavg3 concurrent

node2:
hdisk0 00c0143d2a3b902a rootvg active
hdisk1 00c0116ad056e074 datavg1 concurrent
hdisk2 00c0121eca9b0291 datavg3 concurrent
hdisk3 00c011aeda31a029 datavg2 concurrent

On Node 2, hdisk2 and hdisk3 are switched compared to NODE1. How do I get NODE2 to look like NODE1 when I do a "lspv". I can't varyoffvg as they are online.
Thanks.

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1054
  • Karma: +0/-0
Re: hdisk mismatch between 2 nodes
« Reply #1 on: February 03, 2007, 03:48:24 PM »
Ah, an 'easy' question.

The disks arent switched, only the name= part of an ODM record. Basically, you probably have adapters in different slots, or the cabling is different. What has happened is during 'discovery' by the configuration manager (cfgmgr) the disks are seen in a different order.

For HACMP this means nothing, as HACMP uses the VGID and PVID to locate objects. However, it does make documentation difficult.

As the volume groups are concurrent, offline the volumn group on one of the nodes, do rmdev -dl hdisk{1,2,3}, and run cfgmgr again. If they are still 'wrong', you will need to look at the wiring/position of the disk adapters to get them the same.

There are also ways to do this manually, but I don't recommend that. More documentation most people would not understand.