[Linux-HA] 8.3.7 Version Advice

2012-05-24 Thread Net Warrior
Hi there list.

I'm about to implement some work with DRBD but there is no posibillity to
upgrade the kernel to a newer one, the installations will be performed over
RHEL6 with kernel 2.6.33, so , following the table on DRBD weeb page, I try
to use the kernel that matches the DRBD version.

My questions is, is 8.3.7 stable enought, based on your experience, any
advice about know bugs , issues?

Thanks for your time and support
Best Regards
___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Re: [Linux-HA] 8.3.7 Version Advice

2012-05-24 Thread Net Warrior
El 05/24/2012 08:32 PM, Lars Ellenberg escribió:
 On Thu, May 24, 2012 at 01:56:37PM -0300, Net Warrior wrote:
 Hi there list.

 I'm about to implement some work with DRBD but there is no posibillity to
 upgrade the kernel to a newer one, the installations will be performed over
 RHEL6 with kernel 2.6.33, so , following the table on DRBD weeb page, I try
 RHEL6 kernel is 2.6.32 (plus RH patches), not 33.

 You can build any DRBD version against that kernel, and use that.
 Of course we would provide you with suitable module packages,
 if you prefer that.

 to use the kernel that matches the DRBD version.

 My questions is, is 8.3.7 stable enought, based on your experience, any
 advice about know bugs , issues?
 As for enough, only you can decide what is good enough for you.
 No way to avoid to make that decision yourself.

 Known bugs: quite a few. See the changelog.


 So you are willing to build and use your own 2.6.33 on a RHEL6,
 but not considering using a more recent DRBD module?

 Why would you do that.

Thanks for your answer.

Ok, my bad, kernel 2.6.32, that's right.

As long as I know, the module kernel was introduced from 2.6.36 and 
above, so, lower kernels lack the drbd device modue support, so, I undertood
I could not install or build any DRBD version on those kernels.

If you say that I can make any build on that kernel, ( 2.6.32 ),  DRBD 
8.4 included, I'll really appreciate your guidance on that, if there are any
already built rpm packages, the better, just cuz you mention you can 
provide suitable packages :D



Thanks for your time and support
Best Regards


___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


[Linux-HA] Error while creating various disk volumes

2012-05-22 Thread Net Warrior
Hi there
Reading the documentantion I found that I can have various disk in the
configuration,
and I need to do so, this is my conf

resource myresource {
syncer {
rate 100M;
}
 volume 0 {
device/dev/drbd1;
disk  /dev/rootvg/lvu02;
meta-disk /dev/rootvg/drbdmetadata[0];
  }

 volume 1 {
device/dev/drbd2;
disk  /dev/rootvg/lvarch;
meta-disk /dev/rootvg/drbdmetadata[0];
  }

  on node1 {
address   x.x.x.x:7789;
  }
   on node2 {
address   x.x.x.x:7789;
  }

}

When creating the resource I get the following error
drbd.d/myresource.res:7: Parse error: 'protocol | on | disk | net | syncer
| startup | handlers | ignore-on | stacked-on-top-of' expected,
but got 'volume' (TK 281)

Im using this version
drbd83-8.3.8-1.el4_8
**

Any help on this?
Thanks you very much for your time and support
Regards
___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Re: [Linux-HA] Error while creating various disk volumes

2012-05-22 Thread Net Warrior
Thank you very much!, very kind of you.
I had to configure two resources to accomplish thehe same.

Regards

2012/5/22 Andreas Kurz andr...@hastexo.com

 On 05/22/2012 02:12 PM, Net Warrior wrote:
  Hi there
  Reading the documentantion I found that I can have various disk in the
  configuration,
  and I need to do so, this is my conf
 
  resource myresource {
  syncer {
  rate 100M;
  }
   volume 0 {
  device/dev/drbd1;
  disk  /dev/rootvg/lvu02;
  meta-disk /dev/rootvg/drbdmetadata[0];
}
 
   volume 1 {
  device/dev/drbd2;
  disk  /dev/rootvg/lvarch;
  meta-disk /dev/rootvg/drbdmetadata[0];
}
 
on node1 {
  address   x.x.x.x:7789;
}
 on node2 {
  address   x.x.x.x:7789;
}
 
  }
 
  When creating the resource I get the following error
  drbd.d/myresource.res:7: Parse error: 'protocol | on | disk | net |
 syncer
  | startup | handlers | ignore-on | stacked-on-top-of' expected,
  but got 'volume' (TK 281)

 this is a DRBD 8.4 feature

 
  Im using this version
  drbd83-8.3.8-1.el4_8
  **
 
  Any help on this?

 Please read the DRBD users guide for version 8.3 and _not_ 8.4 ...
 http://www.drbd.org/users-guide-8.3/

 Regards,
 Andreas

 --
 Need help with Pacemaker?
 http://www.hastexo.com/now

  Thanks you very much for your time and support
  Regards
  ___
  Linux-HA mailing list
  Linux-HA@lists.linux-ha.org
  http://lists.linux-ha.org/mailman/listinfo/linux-ha
  See also: http://linux-ha.org/ReportingProblems






 ___
 Linux-HA mailing list
 Linux-HA@lists.linux-ha.org
 http://lists.linux-ha.org/mailman/listinfo/linux-ha
 See also: http://linux-ha.org/ReportingProblems

___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Re: [Linux-HA] DRBD Concept Doubt

2012-05-21 Thread Net Warrior
El 05/20/2012 10:28 AM, David Coulson escribió:
 What is your clustering software and what is the configuration? Also 
 post your DRBD configuration and the output from cat /proc/drbd during 
 each stage of your testing which reproduces the issue.

 Maybe post some kernel logs too would be helpful. Simply switching 
 pri/sec on DRBD won't cause a node to go outdated, unless you split 
 brain the environment.

 David

 On 5/20/12 9:25 AM, Net Warrior wrote:
 Hi there list!

 I've got a doubt regariding DRBD usage, at the moment I'm trying to
 implement a HA systems with two nodes, is a easy and basic setup
 Two servers, running oracle and LVM.

 I configured once resource lest's say /dev/rootvg/myoracle-device on
 both, this is working fine, I can perform a manual failover as follow

 drdbadm secondary node1
 umount /dev/drbd1

 drdbadm primary node2
 mount /dev/drbd1

 This works fine and I have both serer sincronized, my problem or doubt
 is, when the other node fails,lets say, I power it off, the node2 takes
 primary
 role, I do it manually,  but I have the information Outdated and I loose
 lots of information and I have to wait till node1 comes up to syncronize
 with it.

 So, does DRBD work like that? I thought DRBD was syncronizing in
 backround to the other node to have both nodes with the same
 information, PLEASE,
 correct me if I'm wrong, cuz maybe this solution in not well implemented
 configured or I missunderstood what'd DRBD is for.


 Thanks for your time and support
 Best regards




 ___
 Linux-HA mailing list
 Linux-HA@lists.linux-ha.org
 http://lists.linux-ha.org/mailman/listinfo/linux-ha
 See also: http://linux-ha.org/ReportingProblems

Sorry,  but there was a configuration issue, now I'm able to syncronize, 
anyway I've have some question and I'd like to share my configuration 
with you.


This is what I've got


resource myresource  {

syncer {
 rate 100M;
}

   on node1 {
 device/dev/drbd1;
 disk  /dev/rootvg/lv01;
 address   x.x.x.x:7789;
 meta-disk /dev/rootvg/drbdmetadata[0];
   }

   on node2 {
 device/dev/drbd1;
 disk  /dev/rootvg/lv01;
 address   x.x.x.x:7789;
 meta-disk /dev/rootvg/drbdmetadata[0];
   }

}

Cuz I did not want to play expanding the LV and loose the data I have on 
it I just created another LV  to store the metadada on it 
/dev/rootvg/drbdmetadata
which is 512 MB in size.


I was able to perform a manual failover without data loss and I'm happy 
with that, now I'd like to add another Logical Volume  and now my 2 
questions are

1 - Should I add the other LV to my config and restart or do I have to 
make again a drbdadm create myresource ?
2 - Is drbdmetadata related to my LV size? any considerations on this 
regarding it's size?




Thanks for your time and support
Best Regards



___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


[Linux-HA] DRBD Concept Doubt

2012-05-20 Thread Net Warrior
Hi there list!

I've got a doubt regariding DRBD usage, at the moment I'm trying to 
implement a HA systems with two nodes, is a easy and basic setup
Two servers, running oracle and LVM.

I configured once resource lest's say /dev/rootvg/myoracle-device on 
both, this is working fine, I can perform a manual failover as follow

drdbadm secondary node1
umount /dev/drbd1

drdbadm primary node2
mount /dev/drbd1

This works fine and I have both serer sincronized, my problem or doubt 
is, when the other node fails,lets say, I power it off, the node2 takes 
primary
role, I do it manually,  but I have the information Outdated and I loose 
lots of information and I have to wait till node1 comes up to syncronize 
with it.

So, does DRBD work like that? I thought DRBD was syncronizing in 
backround to the other node to have both nodes with the same 
information, PLEASE,
correct me if I'm wrong, cuz maybe this solution in not well implemented 
configured or I missunderstood what'd DRBD is for.


Thanks for your time and support
Best regards




___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Re: [Linux-HA] Heartbeat Failover Configuration Question

2012-04-23 Thread Net Warrior
Hi Nikita

This is the version
heartbeat-3.0.0-0.7

My aim is to, if node1 is powered off or losts it's ethernet
connection,. node2 wont make the failover automatically,  I want to
make it manually, but could not find how to accomplish that.


Thanks for your time and support
Best regards



2012/4/23, Nikita Michalko michalko.sys...@a-i-p.com:
 Hi, Net Warrior!


 What version of HA/Pacemaker do you use?
 Did you already RTFM - e.g.
 http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained
 - or:
 http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Clusters_from_Scratch


 HTH


 Nikita Michalko

 Am Montag, 23. April 2012 02:23:20 schrieb Net Warrior:
 Hi There

 I configured heartbeat to failover an IP address  , if I for example
 shutdown one node, the other takes it's ip address, so far so good, now
 my doubt is if there is a way to configure it not to make the failover
 automatically and have someone run the failover manually, can you provide
 any configuration example please? is this stanza the one that does the
 magic?

 auto_failback on


 Thanks for your time and support
 Best regards
 ___
 Linux-HA mailing list
 Linux-HA@lists.linux-ha.org
 http://lists.linux-ha.org/mailman/listinfo/linux-ha
 See also: http://linux-ha.org/ReportingProblems

 ___
 Linux-HA mailing list
 Linux-HA@lists.linux-ha.org
 http://lists.linux-ha.org/mailman/listinfo/linux-ha
 See also: http://linux-ha.org/ReportingProblems

___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Re: [Linux-HA] Heartbeat Failover Configuration Question

2012-04-23 Thread Net Warrior
True, but even on the most expensive software likve Veritas Cluster or
Red Hat Cluster I can configure how I want to failover the resources (
auto or manual ), that's why my curiosity to acomplish the same in
here.

Thanks for your time
Best Regards

2012/4/23, David Coulson da...@davidcoulson.net:
 Why even use heartbeat then - Just manually ifconfig the interface.

 On 4/23/12 7:39 AM, Net Warrior wrote:
 Hi Nikita

 This is the version
 heartbeat-3.0.0-0.7

 My aim is to, if node1 is powered off or losts it's ethernet
 connection,. node2 wont make the failover automatically,  I want to
 make it manually, but could not find how to accomplish that.


 Thanks for your time and support
 Best regards



 2012/4/23, Nikita Michalkomichalko.sys...@a-i-p.com:
 Hi, Net Warrior!


 What version of HA/Pacemaker do you use?
 Did you already RTFM - e.g.
 http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained
 - or:
 http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Clusters_from_Scratch


 HTH


 Nikita Michalko

 Am Montag, 23. April 2012 02:23:20 schrieb Net Warrior:
 Hi There

 I configured heartbeat to failover an IP address  , if I for example
 shutdown one node, the other takes it's ip address, so far so good, now
 my doubt is if there is a way to configure it not to make the failover
 automatically and have someone run the failover manually, can you
 provide
 any configuration example please? is this stanza the one that does the
 magic?

 auto_failback on


 Thanks for your time and support
 Best regards
 ___
 Linux-HA mailing list
 Linux-HA@lists.linux-ha.org
 http://lists.linux-ha.org/mailman/listinfo/linux-ha
 See also: http://linux-ha.org/ReportingProblems

 ___
 Linux-HA mailing list
 Linux-HA@lists.linux-ha.org
 http://lists.linux-ha.org/mailman/listinfo/linux-ha
 See also: http://linux-ha.org/ReportingProblems

 ___
 Linux-HA mailing list
 Linux-HA@lists.linux-ha.org
 http://lists.linux-ha.org/mailman/listinfo/linux-ha
 See also: http://linux-ha.org/ReportingProblems

___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


[Linux-HA] Heartbeat Failover Configuration Question

2012-04-22 Thread Net Warrior
Hi There

I configured heartbeat to failover an IP address  , if I for example 
shutdown one node, the other takes it's ip address, so far so good, now
my doubt is if there is a way to configure it not to make the failover 
automatically and have someone run the failover manually, can you provide
any configuration example please? is this stanza the one that does the 
magic?

auto_failback on


Thanks for your time and support
Best regards
___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems