PowerHA peut surveiller les applications selon deux moyens :

-          Supervision des processus.

-          Supervision à l’aide d’un script personnalisé.

L’arborescence des menus liés à cette surveillance est donnée ci-dessous :

  Cluster Nodes and Networks                                 

   Cluster Applications and Resources                                

     Resources                                                         

       Configure User Applications

         Application Monitors                                         

           Configure Process Application Monitors                      

             Add a Process Application Monitor                        

             Change/Show Process Application Monitor                  

             Remove a Process Application Monitor                     

           Configure Custom Application Monitors                      

             Add a Custom Application Monitor                         

             Change/Show Custom Application Monitor                   

             Remove a Custom Application Monitor                       

 

Il est par exemple possible de configuration une surveillance par un script générique pour les différents composants d’un RG.

Ci-dessous une surveillance avec un script ‘verif_appli.sh’ et une alerte au travers du script ‘info_blocage_appli.sh’.

                                        Add Custom Application Monitor

 

Type or select values in entry fields.

Press Enter AFTER making all desired changes.

 

                                                        [Entry Fields]

* Monitor Name                                       [RG1_AC]

* Application Controller(s) to Monitor                RG1_AC                       +

* Monitor Mode                                       [Long-running monitoring]     +

* Monitor Method                       [/usr/local/scripts/manapp/bin/verif_appli.sh]

  Monitor Interval                                   [60]                          #

  Hung Monitor Signal                                []                              #

* Stabilization Interval                             [240]                           #

* Restart Count                                      [3]                             #

  Restart Interval                                   [60]                            #

* Action on Application Failure                      [notify]                        +

  Notify Method                 [/usr/local/scripts/manapp/bin/info_blocage_appli.sh ]

  Cleanup Method                       [/usr/local/scripts/manapp/stop_RG1_PRD.sh]   

  Restart Method                      [/usr/local/scripts/manapp/start_RG1_PRD.sh]   

 

 

icon phone
Téléphone/Whatsapp : +33 (0)6 83 84 85 74
icon phone