Forum Discussion

Zahid_Haseeb's avatar
Zahid_Haseeb
Moderator
15 years ago

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.

  • 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.

  • From VCS 5.0MP3 Solaris User's Guide (although this guide is for the Solaris platform, the concept would be the same on other platforms)

    Clustering concepts and terminology -> VCS configuration concepts

    About the main.cf file
    http://sfdoccentral.symantec.com/sf/5.0MP3/solaris/html/vcs_users/ch_vcsconfiguration_concepts4.html

    "The format of the main.cf file comprises include clauses and definitions for the cluster, systems, service groups, and resources. The main.cf file also includes service group and resource dependency clauses."

    The types.cf file
    http://sfdoccentral.symantec.com/sf/5.0MP3/solaris/html/vcs_users/ch_vcsconfiguration_concepts7.html

    "The types.cf file describes standard resource types to the VCS engine; specifically, the data required to control a specific resource."

  • Thanks alot all guys. g_lee actually i have already read the guide but i was a bit confused thats why i posted on forum. Thanks again all guys

  • hello zahid,

    please mark as solution if a post helps you in any of your chain.

     

    Regards

    Rajesh

  • Hi rregunta  how can i mark both as solution because my both friends given me good suggestions