AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  commands equivalent to smit hacmp

    Posted Fri January 09, 2009 11:12 PM

    Originally posted by: GurpreetSingh


    Hi Friends,

    Any idea what is command equivalent to increasing the File System using smit hacmp? And does increasing the File System by using smit hacmp ( on cluster based system) also syncronize the both the Primary and Failover systems Files system. If yes then what command it uses for synchronizing....?

    Thanks in Advance,
    Gurpreet Singh
    #AIX-Forum


  • 2.  Re: commands equivalent to smit hacmp

    Posted Sat January 10, 2009 05:15 AM

    Originally posted by: grukrz1


    yes, when you use C-SPOC utilites to create/modify cluster's shared VG/LV/FS it updates all corresponding cluster nodes.

    smitty cl_lvm
    or direct smity fast path to c-spoc shared fs shows/change:

    smitty cl_chjfs2 #for jfs2 type filesystems
    smitty cl_chjfs #for jfs type filesystems

    You can find how the command is constructed in /smit.log (you need to run is first from smit log),

    or you can read in /usr/es/sbin/cluster/cspoc/smitlvm script how it works - you will find there that '-10' option invokes later /usr/es/sbin/cluster/cspoc/cli_chfs (for filesystems changes operations)

    -10) RGNAME=$2
    NAME=$3
    shift 3
    cl_chfs -cspoc "-g $RGNAME" $* $NAME
    ;;
    eg.
    /usr/es/sbin/cluster/cspoc/smitlvm -10 'A_CL_RGRP' '/asharedfs' -a size='22020096'.

    RGNAME=$2=A_CL_RGRP (cluster resource group where the shared VG/FS is configured in)
    NAME=$3='/asharedfs'
    $*=the rest (shift 3)="-a size='22020096'" #for above example

    will set filesystem size to 22020096 512byte blocks.
    #AIX-Forum


  • 3.  Re: commands equivalent to smit hacmp

    Posted Sat January 10, 2009 05:18 AM

    Originally posted by: grukrz1


    correction:

    instead of:
    You can find how the command is constructed in /smit.log (you need to run is first from smit log),
    shoud be:
    You can find how the command is constructed in /smit.script (you need fist change filesystem from smitty to have the command synthax 'recorded' in /smit.script)
    #AIX-Forum