main.cf and type.cf
Any body please throw some light on main.cf and type.cf
What i have come to know that all configuration/attributes data of VCS service group,resources,systems,cluster are found in main.cf and the type.cf keep the standard/format of attribute data. When main.cf attributes data/configuration called it verify the attributes data format from the type.cf that are the attributes data are in proper format
Am i right ? or any body please share.
Hi Zahid,
main.cf file contains the cluster configuration which includes the following:
-> Cluster name
-> Users
-> Systems
-> Service groups and their attributes.
-> Resources and their attributes.
-> If Fencing is enabled
-> Service group dependency
-> Resource dependency.
-> Additional configuration info if there is a GCO cluster
So this is the framework on which VCS engine operates. The main.cf file contains the minimum information that defines the cluster and its nodes
Types.cf :
The types.cf file describes standard resource types to the VCS engine; specifically, the data required to control a specific resource.
Its sort of a template for configuration of resources.
Please post if you have any further questions.