Re: [ClusterLabs] corosync.conf is missing, I did not delete manually. what should I do?

2021-02-17 Thread Harishkumar Pathangay
If you want it back then you should either rerun pcs to create the cluster again or rescue the file from system backups I suppose. Chrissie On 16/02/2021 09:42, Harishkumar Pathangay wrote: > Hi, > > This is so stupid of me asking such a question. > > But the corosync.co

[ClusterLabs] corosync.conf is missing, I did not delete manually. what should I do?

2021-02-16 Thread Harishkumar Pathangay
Hi, This is so stupid of me asking such a question. But the corosync.conf is missing in both the nodes. Will this file be there only if I have a cluster definition? [may be I have destroyed the cluster not sure though….] Assume if there is no clusters at all defined, suppose if I destroy the clust

Re: [ClusterLabs] Question on restart of resource during fail over

2020-12-02 Thread Harishkumar Pathangay
rces) On Wed, Dec 2, 2020 at 4:01 AM Harishkumar Pathangay wrote: > > Hi, > > I realized it can be used in standard mode only after you pointing to that. > > Anyways, writing custom agent always gives me a good understanding of the > resources start/stop/monitor etc… >

Re: [ClusterLabs] Question on restart of resource during fail over

2020-12-02 Thread Harishkumar Pathangay
open-source clustering welcomed<mailto:users@clusterlabs.org> Subject: Re: [ClusterLabs] Question on restart of resource during fail over On Wed, Dec 2, 2020 at 2:16 AM Harishkumar Pathangay wrote: > > Just got the issue resolved. Nice work! > Any case I will send the cib.xml and m

Re: [ClusterLabs] Question on restart of resource during fail over

2020-12-02 Thread Harishkumar Pathangay
en also share your /etc/corosync/corosync.conf just in case. Also there's a db2 resource agent already written, if you're interested: - https://github.com/oalbrigt/resource-agents/blob/master/heartbeat/db2 On Tue, Dec 1, 2020 at 9:50 AM Harishkumar Pathangay wrote: > > Hi, > >

[ClusterLabs] Question on restart of resource during fail over

2020-12-01 Thread Harishkumar Pathangay
Hi, I have DB2 resource agent scripted by myself. It is working fine with a small glitch. I have node1 and node2 in the cluster. No stonith enabled as I don't need one. The environment is for learning purpose only. If node one is down [power off], it is starting the resource on other node which

[ClusterLabs] Question on restart of resource during fail over

2020-12-01 Thread Harishkumar Pathangay
Hi, I have DB2 resource agent scripted by myself. It is working fine with a small glitch. I have node1 and node2 in the cluster. No stonith enabled as I don't need one. The environment is for learning purpose only. If one is down, it is starting the resource on other node which is good. My cust