5.1. Ce este o Resursă de Cluster
The role of a resource agent is to abstract the service it provides and present a consistent view to the cluster, which allows the cluster to be agnostic about the resources it manages.
The cluster doesn’t need to understand how the resource works because it relies on the resource agent to do the right thing when given a start
, stop
or monitor
command.
Din acest motiv este imperativ ca agenţii de resursă să fie testaţi corespunzător.
În mod normal agenţii de resursă vin sub forma de scripturi de shell, însă aceştia pot fi scrişi folosind orice limbaj de programare (cum ar fi C, Python sau Perl) cu care este confortabil autorul.