Filled Under: AIX

LVM device size limits

LVM device size limits

The following limits are the LVM architectural limits. If LVM Bad Block Relocation is required, then PV sizes cannot be larger than 128 GB. For size limitations of specific storage devices, refer to the storage device documentation.

difference between vg and big and scalable volume groups

VG type

last update on password

the following commands to get the last update on user password:

as a root run the following command:
#pwdadm -q  user
user:
        lastupdate = 1354793709

Checking status of the RMC connection on IVM and HMC using rmcdomainstatus

When a partition on an HMC or IVM server has an active RMC connection, they become managed nodes in a Management Domain.The HMC or IVM server is then the Management Control Point (MCP) of that Management Domain. You can then use the rmcdomainstatus command to check the status of those managed nodes (i.e. your partitions).

apply efix or ifix in AIX

To apply efix or ifix on AIX you use EFIX Manager instead of installp. IBM provide fixes on formate ( fixname.epkg.Z)

and to apply the fix, see the following commands :

how to get MAC Address in AIX

To Get MAC Address in AIX run the follwing command :

netstat -ia

0315-021 Cannot open error message catalog – errpt

when you try to use errpt command and you get the following error :

0315-021 Cannot open error message catalog /var/adm/ras/codepoint.cat. The error report will still run, but it will not have explanatory messages.

AIX Life Cycle

Product

last update on password

to check last update on users password, run the following commands :

#pwdadm -q root
root:
lastupdate = 1340177035

#perl -le 'print scalar localtime(shift);' 1340177035
Wed Jun 20 09:23:55 2012

Useful HACMP Commands

Useful HACMP commands

    1. clstat – show cluster state and substate; needs clinfo.
    2. cldump – SNMP-based tool to show cluster state.
    3. cldisp – similar to cldump, perl script to show cluster state.
    4. cltopinfo – list the local view of the cluster topology.
    5. clshowsrv -a – list the local view of the cluster subsystems.
    6. clfindres (-s) – locate the resource groups and display status.
    7. clRGinfo -v – locate the resource groups and display status.
    8. clcycle – rotate some of the log files.
    9. cl_ping – a cluster ping program with more arguments.
    10. clrsh – cluster rsh program that take cluster node names as argument.
    11. clgetactivenodes – which nodes are active?
    12. get_local_nodename – what is the name of the local node?
    13. clconfig – check the HACMP ODM.
    14. clRGmove – online/offline or move resource groups.
    15. cldare – sync/fix the cluster.
    16. cllsgrp – list the resource groups.
    17. clsnapshotinfo – create a large snapshot of the HACMP configuration.
    18. cllscf – list the network configuration of an HACMP cluster.
    19. clshowres – show the resource group configuration.
    20. cllsif – show network interface information.
    21. cllsres – show short resource group information.
    22. lssrc -ls clstrmgrES – list the cluster manager state.
    23. lssrc -ls topsvcs – show heartbeat information.
    24. cllsnode – list a node centric overview of the hacmp configuration.