AIX

AIX

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


#Power
#Power
 View Only
  • 1.  HACMP clstop

    Posted Thu May 22, 2008 02:48 PM

    Originally posted by: SystemAdmin


    I am trying to create some type of user prompt when clstop is executed or when smitty clstop is executed that will ask the question to the user if they are sure they want to stop HACMP. Trying to prevent user mistakes when on production systems or at least give a warning.

    Any ideas?
    #AIX-Forum


  • 2.  Re: HACMP clstop

    Posted Thu May 22, 2008 03:03 PM

    Originally posted by: orphy


    If they run clstop from CLI, why not write a wrapper for it. I can't think of a quick and easy way to do this in smitty but it's doable. Another thing you could try is think about doing it via pre-event script. I don't have a cluster here to try things out so good luck!
    Orphy
    #AIX-Forum


  • 3.  Re: HACMP clstop

    Posted Fri May 23, 2008 03:20 AM

    Originally posted by: vinodn


    As already mentioned you can use the pre-event script. Also this clstop can be used only with the root equivalent ids. If somebody is using this command with root privilege then they must know the impact also, There should not be any choice for Human errors.

    Thanks
    #AIX-Forum


  • 4.  Re: HACMP clstop

    Posted Fri May 23, 2008 07:17 AM

    Originally posted by: SystemAdmin


    All human error is not preventable but we do have had this happen several times in our environment with administrators with root authority. Everyone knows the impact but mistakes happen. I have tried several pre-events tied to HA events that did not work via smit. Any more input would be appreciated.
    #AIX-Forum


  • 5.  Re: HACMP clstop

    Posted Fri May 23, 2008 07:35 AM

    Originally posted by: tony.evans


    alias clstop='echo Even though you are root and are supposed to know better, please do not use the clstop command, instead provide the full path to the command and remember to complete a fully approved change document or seek approval before stopping HACMP on this node'

    Put that in root's profile or somewhere similar.

    That won't affect smit, but honestly, if you have admins logging on to a server, switching to root (you have root logins turned off yes?) and going into smit to stop HACMP nothing you do will stop them.

    Message was edited by: tony.evans
    #AIX-Forum