PowerHA for AIX

power-server-operatingsystems.png

Operating Systems

The core of your mission-critical workloads: AIX, IBM i, and Enterprise Linux

power-ISV-Solutions1.png

ISV Solutions

Stay up to date with key capabilities running on POWER such as SAP

Business Continuity

Learn how to keep critical processes running and adapt quickly with PowerHA

power-infrastructure-security.png

Power Security

Protect your most sensitive data anywhere in your hybrid cloud

Virtualization

Check here for virtualization and management needs: HMC & CMC, PowerVC, and PowerVM

Open Source

Join our open source efforts within the IBM Power Systems portfolio

Enterprise Infrastructure as a Service

Achieve business growth with agility and flexibility with our enterprise IaaS in Power Virtual Server

Programming Languages

The hub for Programming Languages

Expand all | Collapse all

Rename disk on PowerHA, VG concurrent

  • 1.  Rename disk on PowerHA, VG concurrent

    Posted Tue September 08, 2020 11:25 AM
    I recently came across this on an AIX 7.1 PowerHA cluster:

    $ sudo /usr/es/sbin/cluster/utilities/clRGinfo
    -----------------------------------------------------------------------------
    Group Name                             State                            Node
    -----------------------------------------------------------------------------
    RG1                                             ONLINE                       node1 
                                                         OFFLINE                      node2 

    RG2                                             ONLINE                      node1 
                                                         OFFLINE                    node2 

    RG3                                              ONLINE                      node1 
                                                          OFFLINE                   node2 

    RG4                                              ONLINE                       node1 
                                                          OFFLINE                     node2 

    $ lspv | grep vaultvg
    hdisk18 00f8db0094360e0e vaultvg concurrent
    hdisk19 00f8db0094360da9 vaultvg concurrent
    hdisk22 00f8db0094360ceb vaultvg concurrent
    hdisk23 00f8db0094360c01 vaultvg concurrent
    hdisk76 00f8db0094360b55 vaultvg concurrent
    $ hostname
    node1
    $

    $ lspv | grep vaultvg
    hdisk16 00f8db0094360e0e vaultvg concurrent
    hdisk17 00f8db0094360da9 vaultvg concurrent
    hdisk23 00f8db0094360ceb vaultvg concurrent
    hdisk24 00f8db0094360c01 vaultvg concurrent
    hdisk76 00f8db0094360b55 vaultvg concurrent
    $ hostname
    node2
    $

    Obviously this requires an adjustment, but I have some doubts regarding the correct handling of cluster integrity.

    what is the most appropriate?

    shutdown cluster graceful - 
    rendev disks properly  -- both nodes
    startup cluster 
    sync cluster












    ------------------------------
    Freddy G Durán Murillo
    ------------------------------


  • 2.  RE: Rename disk on PowerHA, VG concurrent

    Posted Wed September 09, 2020 01:19 AM
    Because hdiskXX have different numbers accross the cluster? No need to do anything really, PowerHA makes no assumptions about disk names, so you can just leave it as is and all is fine.

    However, if you have policies on disk naming or just a streak of OCD - which any good sysadmin have :) - what you basically need to do is varyoff the VG, do rendev to what you want and varyon to verify. Then you only have to stop the affected RG and not the entire cluster. You can also, of course, stop the entire cluster. Then you don't have to fiddle with varyon and varyon of concurrent VG.

    ------------------------------
    Morten Torstensen
    ------------------------------



  • 3.  RE: Rename disk on PowerHA, VG concurrent

    Posted Mon September 28, 2020 02:24 AM
    Thank you very much, Morten, for clarifying my doubts

    ------------------------------
    Freddy G Durán Murillo
    ------------------------------