• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 561
  • Last Modified:

Linux Cluster

[root@node1 ~]# ccs -h node1 --getconf
Cluster.conf file specified is not a valid cluster.conf file (use -i to ignore this error)
0
ittechlab
Asked:
ittechlab
1 Solution
 
arnoldCommented:
Please post your configs.

Are you initiating a setup or trying to add this node into an existing cluster?
0
 
ittechlabLinux SupportAuthor Commented:
[root@node1 ~]# cat /etc/cluster/cluster.conf
<?xml version="1.0"?>
<cluster config_version="13" name="rnd">
        <clusternodes>
                <clusternode name="node1.toronto.com" nodeid="1">
                        <fence>
                                <method name="xvm">
                                        <device domain="node1" name="xvm"/>
                                </method>
                        </fence>
                </clusternode>
                <clusternode name="node2.toronto.com" nodeid="2">
                        <fence>
                                <method name="xvm">
                                        <device domain="node2" name="xvm"/>
                                </method>
                        </fence>
                </clusternode>
                <clusternode name="node3.toronto.com" nodeid="3">
                        <fence>
                                <method name="xvm">
                                        <device domain="node3" name="xvm"/>
                                </method>
                        </fence>
                </clusternode>
        </clusternodes>
        <fencedevices>
                <fencedevice agent="fence_xvm" name="xvm"/>
        </fencedevices>
        <rm>
                <failoverdomains>
                        <failoverdomain name="prefer_node1" ordered="1" restricted="1">
                                <failoverdomainnode name="node1.toronto.com" priority="1"/>
                                <failoverdomainnode name="node2.toronto.com" priority="2"/>
                                <failoverdomainnode name="node3.toronto.com" priority="3"/>
                        </failoverdomain>
                </failoverdomains>
                <resources>
                        <fs device="/dev/mapper/clusterstoragep1" fsid="49557" fstype="ext4" mountpoint="/var/www/html" name="wwwfs" quick_status="on" self_fence="on"/>
                </resources>
        </rm>
</cluster>
0
 
ittechlabLinux SupportAuthor Commented:
[root@node1 ~]# ccs -h node1.toronto.com --lsfailoverdomain
Cluster.conf file specified is not a valid cluster.conf file (use -i to ignore this error)

[root@node1 ~]# ccs -h node1.toronto.com --lsservices
Cluster.conf file specified is not a valid cluster.conf file (use -i to ignore this error)
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Gerwin Jansen, EE MVETopic Advisor Commented:
Hi, what distibution and cluster software are you running?
0
 
ittechlabLinux SupportAuthor Commented:
how do i check? please let me know.
0
 
ittechlabLinux SupportAuthor Commented:
[root@node1 ~]# cman_tool status
Version: 6.2.0
Config Version: 13
Cluster Name: rnd
Cluster Id: 2831
Cluster Member: Yes
Cluster Generation: 44
Membership state: Cluster-Member
Nodes: 3
Expected votes: 3
Total votes: 3
Node votes: 1
Quorum: 2
Active subsystems: 9
Flags:
Ports Bound: 0 11 177
Node name: node1.toronto.com
Node ID: 1
Multicast addresses: 239.192.11.26
Node addresses: 192.168.122.10
0
 
Gerwin Jansen, EE MVETopic Advisor Commented:
I mean which Linux distribution, Redhad, CentOS or? Including version, what is your goal btw?
0
 
ittechlabLinux SupportAuthor Commented:
Redhat
0
 
SandyCommented:
Also please check the permission of cluster.conf, sometimes it does causes this kind of issues. Your config file seems file to me :\
0

Featured Post

Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now