viernes, 27 de septiembre de 2019

Checksum on different OS...

Linux

    md5sum [filename]
    sha1sum [filename]

AIX

    csum -h MD5 [filename]
    csum -h SHA1 [filename]

Windows

    fciv -md5 [filename]
    fciv -sha1 [filename]


Link to fciv (“File Checksum Integrity Verifier”):  [here]

miércoles, 15 de agosto de 2018

AIX alog Command

alog -L        #  List the defined log types
alog -o -t boot  #  View the boot log
alog -o -t console #  View the console log

miércoles, 11 de julio de 2018

jueves, 21 de junio de 2018

Check vhost from LPAR...

Credit to:  aix4admins Blog

# echo "cvai" | kdb | grep vscsi
vscsi0 0x000007 0x0000000000 0x0 xxx-vios1->vhost10
vscsi1 0x000007 0x0000000000 0x0 xxx-vios2->vhost10


Note: It works only on AIX 6.1 or later... 

# echo "cvai" | kdb | grep vscsi | awk '{print $5}' | grep ^sio | sed 's/->/ /g' | sort | sed 'N;s/\n/ /'

martes, 22 de mayo de 2018

IBM Software Downloads and Support Links...

Cases - IBM Support:



    Open, follow or Close Support Cases.



Entitled Software Support (ESS) web page:
 

    Download ISO images of installation CDs for software which is entitled on a Power System server.

 

Passport Advantage Online for customers:

    Passport Advantage Online for customers offers authorized users access a secure Web experience to manage their Passport Advantage accounts online.



Toolbox for Linux Applications:


    AIX® Toolbox for Linux® Applications contains a collection of open source and GNU software built for AIX IBM Systems.

miércoles, 14 de febrero de 2018

PowerHA - clstat & cldump

Change your /etc/snmpdv3.conf as follows:

VACM_GROUP group1 SNMPv1  public  -

VACM_VIEW defaultView       internet            - included -
VACM_VIEW defaultView        1.3.6.1.4.1.2.3.1.2.1.5    - included -
VACM_VIEW defaultView        1.3.6.1.4.1.2.2.1.1.1.0    - included -
VACM_VIEW defaultView        1.3.6.1.4.1.2.6.191.1.6    - included -

# exclude snmpv3 related MIBs from the default view
VACM_VIEW defaultView        snmpModules                - excluded -
VACM_VIEW defaultView        1.3.6.1.6.3.1.1.4          - included -  
VACM_VIEW defaultView        1.3.6.1.6.3.1.1.5          - included - 

# exclude aixmibd managed MIBs from the default view
VACM_VIEW defaultView        1.3.6.1.4.1.2.6.191        - excluded -

VACM_ACCESS  group1 - - noAuthNoPriv SNMPv1  defaultView - defaultView -

NOTIFY notify1 traptag trap -

TARGET_ADDRESS Target1 UDP 127.0.0.1       traptag trapparms1 - - -

TARGET_PARAMETERS trapparms1 SNMPv1  SNMPv1  public  noAuthNoPriv -

COMMUNITY public    public     noAuthNoPriv 0.0.0.0     0.0.0.0         -

DEFAULT_SECURITY no-access - -
VACM_GROUP director_group SNMPv2c public -
VACM_ACCESS director_group - - noAuthNoPriv SNMPv2c defaultView - defaultView -

logging         file=/usr/tmp/snmpdv3.log       enabled
logging         size=100000                     level=0

smux            1.3.6.1.4.1.2.3.1.2.1.2         gated_password
smux 1.3.6.1.4.1.2.3.1.2.3.1.1 muxatmd_password
smux     1.3.6.1.4.1.2.3.1.2.1.5      clsmuxpd_password


Comment line (last line), on file /usr/es/sbin/cluster/etc/clhosts to look like this:

#::1     # PowerHA SystemMirror


Then run the following commands in the exact order:

stopsrc -s clinfoES
stopsrc -s snmpd
sleep 5
startsrc -s snmpd
refresh -s clstrmgrES
startsrc -s clinfoES

 


Wait for 1 or 2 minutes and check again with clstat and cldump...