Im getting closer
 
I fixed my previous issue about the script not registering
the meta_data function didn't resolv as intended, I have now made the script
and it will get accepted in the
 
crm ra list ocf heartbeat
 
My problem is that when I add the ressource to the CRM I get this
 
Failed actions:
    LABGFA10_monitor_0 (node=labgfs02, call=10, rc=2, status=complete): invalid 
parameter
    LABGFA10_monitor_0 (node=labgfs01, call=37, rc=2, status=complete): invalid 
parameter
 
But then if I try to run my script by hand
I get error of vars not being set... so I can set them manually as I start my 
script but then that
doesn't tell me whats wrong since it behave as it should when I add the vars by 
hand...
 
OCF_RESKEY_qmname=LABGFA10 OCF_RESKEY_qmport=10414 OCF_RESKEY_qmadmin=mqm 
OCF_FUNCTIONS_DIR=/usr/lib/ocf/resource.d/heartbeat/ ./wmq status
WMQ Queue manager LABGFA10 is running
 
Is there a way to get more output from this?
Or if anyone knows what usually get this kind of error?
 
I welcome any help.
 
Thank you.

Patrick Ouellet
Administrateur de system Linux
Direction Technologie
Groupe Promutuel

418 840-1188, poste 2393
1 800 510-4630

 

promutuel.ca <http://www.promutuel.ca/> 

 Si vous devez imprimer ce document, faites-le recto verso. Si vous n'êtes pas 
le destinataire de ce message, veuillez le détruire après avoir informé 
l'expéditeur de son erreur. Par ailleurs, il est interdit de copier ou de 
modifier tout courriel sans l'autorisation de l'auteur. Promutuel n'assume 
aucune responsabilité à l'égard du contenu des messages personnels envoyés par 
ses employés.

 

 
 
 

<<image001.gif>>

<<image002.jpg>>

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to