Re: [ClusterLabs] Oracle resource agent failure

2017-04-05 Thread Jihed M'selmi
I suggest to remove mon* variables (monuser, monprofil, monpassword) if they don't already exist in data base. Then, make sure that you point on the right Oracle Home where the tool were installed (sqlplus and tnslsnr). Finally, use pcs resource debug-start testdbc --full On Wed, Apr 5, 2017, 10

Re: [ClusterLabs] Oracle resource agent failure

2017-04-05 Thread Jihed M'selmi
You can start the RA (oracle and oraclsnr) with option --debug (share the output). Make sure that you have the right parameter in oratab. Cheers Jihed Mselmi On Wed, Apr 5, 2017, 06:54 SAYED, MAJID ALI SYED AMJAD ALI < sayed...@ngha.med.sa> wrote: > Hello, > > We are trying to build a 2 node Act

Re: [ClusterLabs] Oralsnr/Oracle resources agents

2017-02-25 Thread Jihed M'selmi
te: > Hi, > > On Fri, Feb 24, 2017 at 10:09:28AM +, Jihed M'selmi wrote: > > Hi, > > > > Using one instance per service leads to a memory issues espacially when > we > > have many instance per node. > > Complain to oracle? ;->

Re: [ClusterLabs] Oralsnr/Oracle resources agents

2017-02-24 Thread Jihed M'selmi
ction, oralsnr_stop = "output=`echo lsnrctl stop $listener | > runasdba`" > > Where listener variable is the resource agent parameter given by > pacemaker : # OCF_RESKEY_listener (optional; defaults to LISTENER) > > Why don't use one listener per instance? > > 2017-

[ClusterLabs] Oralsnr/Oracle resources agents

2017-02-23 Thread Jihed M'selmi
I was reading the oralsnr script, I found that to stop a listener the agent uses the lsnrctl to stop the instances. My questions, how to configure this agent for an oracle listener attached the multiple instance ? My 2nd quest, is it possible to enhance the ora-common.sh and resource.d/oracle to

Re: [ClusterLabs] Fence agent for VirtualBox

2017-02-06 Thread Jihed M'selmi
Tahnks for the share. I tried to implement it by adding the script fence_virtual under /usr/sbin (chmod +x). I configure the stonith on both nodes but, I can't fence nodes. any thoughts ? Resource: fence_vbox2 (class=stonith type=fence_virtualbox) Attributes: ipaddr=192.168.1.77 Operations:

Re: [ClusterLabs] Fence agent for VirtualBox

2017-02-06 Thread Jihed M'selmi
Yeah, I see your point. :) On Mon, Feb 6, 2017, 3:40 PM Klaus Wenninger wrote: > On 02/06/2017 03:35 PM, Jihed M'selmi wrote: > > > > So do you suggest to used the sdb ? > > The virtualbox was installed above Windows. > > > > Just wanted to give you an opti

Re: [ClusterLabs] Fence agent for VirtualBox

2017-02-06 Thread Jihed M'selmi
- either with just > a watchdog (guess vbox offers a virtual watchdog that > is supported by the linux-kernel or at least if you install > the guest-support for vbox) or with shared block-devices > on top. > > Regards, > Klaus > > On 02/06/2017 02:22 PM, Jihed M'

Re: [ClusterLabs] Fence agent for VirtualBox

2017-02-06 Thread Jihed M'selmi
nces it? > > m, > > On Mon, Feb 6, 2017 at 1:56 PM, Jihed M'selmi > wrote: > > Hi, > > I want set up a pcmk/corosync cluster using couple vbox nodes. > > Anyone could.share how to install/configure a fence agent fence_vbox ? > > Cheers > JM > -- >

[ClusterLabs] Fence agent for VirtualBox

2017-02-06 Thread Jihed M'selmi
Hi, I want set up a pcmk/corosync cluster using couple vbox nodes. Anyone could.share how to install/configure a fence agent fence_vbox ? Cheers JM -- J.M ___ Users mailing list: Users@clusterlabs.org http://lists.clusterlabs.org/mailman/listinfo/us

Re: [ClusterLabs] How to change the name of one cluster resource and resource group ?

2017-02-01 Thread Jihed M'selmi
Oh yes, Isee Thanks ! On Wed, Feb 1, 2017, 4:32 PM Jihed M'selmi wrote: > Thanks Tomas for highlighting this point. > Updating the contraints should be done by deleting and creating a new ones > with the right name, right ? > > On Wed, Feb 1, 2017, 4:19 PM Tomas Jel

Re: [ClusterLabs] How to change the name of one cluster resource and resource group ?

2017-02-01 Thread Jihed M'selmi
Thanks Tomas for highlighting this point. Updating the contraints should be done by deleting and creating a new ones with the right name, right ? On Wed, Feb 1, 2017, 4:19 PM Tomas Jelinek wrote: > Dne 1.2.2017 v 16:13 Jihed M'selmi napsal(a): > > The only thing that I found

Re: [ClusterLabs] How to change the name of one cluster resource and resource group ?

2017-02-01 Thread Jihed M'selmi
The only thing that I found is to create a backup with pcs config Modify it and then restore. I was hoping to use a simple command On Wed, Feb 1, 2017, 4:05 PM Kristoffer Grönlund wrote: > Jihed M'selmi writes: > > > Thanks for reply, > > I don't have crm command.

Re: [ClusterLabs] How to change the name of one cluster resource and resource group ?

2017-02-01 Thread Jihed M'selmi
Thanks for reply, I don't have crm command. It's corosync version 2.3.4.el7_2.1. On Wed, Feb 1, 2017, 3:38 PM Kristoffer Grönlund wrote: > Jihed M'selmi writes: > > > Hello, > > > > I need update the name of one resource group with a new name. An

[ClusterLabs] How to change the name of one cluster resource and resource group ?

2017-02-01 Thread Jihed M'selmi
Hello, I need update the name of one resource group with a new name. Any thoughts? Cheers, JM -- J.M ___ Users mailing list: Users@clusterlabs.org http://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting st

Re: [ClusterLabs] Can't create a resource for ocf:heartbeat:oracle and oraclsnr.

2017-01-30 Thread Jihed M'selmi
the first thing is show, your cluster > configuration. > > 2017-01-30 23:15 GMT+01:00 Jihed M'selmi : > > I tried to install two resources: a resource for oracle database and > oracle > > listener: but the pcmk can't install the resource (red hat 7.3) usint hte

[ClusterLabs] Can't create a resource for ocf:heartbeat:oracle and oraclsnr.

2017-01-30 Thread Jihed M'selmi
I tried to install two resources: a resource for oracle database and oracle listener: but the pcmk can't install the resource (red hat 7.3) usint hte ocf:heartbeat:oracle and oraclsnr On the log,ti shows that the sqlplus was not installed. I installed it, but, I keep getting the same message and