How 2 Know
If you can't Google it, You Can Knowing it.

Archive for the ‘Operating Systems’ Category

difference between vg and big and scalable volume groups

Sunday, February 10th, 2013

VG type

Continue Reading…

last update on password

Sunday, February 10th, 2013

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

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

Continue Reading…

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

Wednesday, February 6th, 2013

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).

Continue Reading…

apply efix or ifix in AIX

Tuesday, February 5th, 2013

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 :

Continue Reading…

how to get MAC Address in AIX

Tuesday, February 5th, 2013

To Get MAC Address in AIX run the follwing command :

netstat -ia

Continue Reading…

0315-021 Cannot open error message catalog – errpt

Wednesday, January 30th, 2013

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.

Continue Reading…

AIX Life Cycle

Wednesday, January 30th, 2013

Product

Continue Reading…

last update on password

Tuesday, January 29th, 2013

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

Tuesday, January 29th, 2013

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.

    Continue Reading…

preserved files

Monday, January 28th, 2013

if you search under /var directory, of course you see strange directory which named “preserve”.

this directory contains preserved data from interrupted edit sessions. which means, if you open file to edit it using vi command or any editor, the system take a copy from the opened file and keep it under “/var/preserve”, and if your sessions is crashed for any reason, you can reopen the file again using the following steps:

Continue Reading…