Product SiteDocumentation Site

Capitolo 5. Risorse del cluster

Indice

5.1. Cos'è una risorsa del cluster
5.2. Classi di risorse supportate
5.2.1. Open Cluster Framework
5.2.2. Linux Standard Base
5.2.3. Systemd
5.2.4. Upstart
5.2.5. System Services
5.2.6. STONITH
5.3. Resource Properties
5.4. Opzioni delle risorse
5.5. Settaggio dei valori di default globali per le opzioni delle risorse
5.6. Attributi dell'istanza
5.7. Operazioni sulle risorse
5.7.1. Monitoraggio di anomalie sulle risorse
5.7.2. Settaggio dei valori di default globali per le operazioni

5.1. Cos'è una risorsa del 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.
Per questa ragione è cruciale che i resource agent siano ben testati.
Tipicamente i resource agents nascono come script di shell, tuttavia possono essere scritti utilizzando qualsiasi tecnologia (come C, Python o Perl) con la quale l'autore abbia familiarità.