Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Lars, I have pasted my config below I had to change the hostnames, IPs and password for security. skip { As you can see, you can also comment chunks of text with a 'skip[optional nonsense]{ skipped text }' section. This comes in handy, if you just want to comment out some 'resource <some name> {...}' section: just precede it with 'skip'. The basic format of option assignment is <option name><linear whitespace><value>; It should be obvious from the examples below, but if you really care to know the details: <option name> := valid options in the respective scope <value> := <num>|<string>|<choice>|... depending on the set of allowed values for the respective option. <num> := [0-9]+, sometimes with an optional suffix of K,M,G <string> := (<name>|\"([^\"\\\n]*|\\.)*\")+ <name> := [/_.A-Za-z0-9-]+ } global { usage-count no; } resource r0 { protocol C; handlers { pri-on-incon-degr "echo o > /proc/sysrq-trigger ; halt -f"; pri-lost-after-sb "echo o > /proc/sysrq-trigger ; halt -f"; local-io-error "echo o > /proc/sysrq-trigger ; halt -f"; outdate-peer "/usr/lib/heartbeat/drbd-peer-outdater -t 5"; pri-lost "echo pri-lost. Have a look at the log files. | mail -s 'DRBD Alert' root"; out-of-sync "/usr/lib/drbd/notify-out-of-sync.sh root"; } startup { wfc-timeout 0; } disk { on-io-error pass_on; } net { max-buffers 2048; cram-hmac-alg "sha1"; shared-secret "ThePasswordForDRBD"; after-sb-0pri disconnect; after-sb-1pri disconnect; after-sb-2pri disconnect; rr-conflict disconnect; } syncer { rate 62M; al-extents 257; } on server1.sample.com { device /dev/drbd0; disk /dev/sda5; address 10.1.1.1:7789; meta-disk internal; } on server2.sample.com { device /dev/drbd0; disk /dev/sda5; address 10.1.1.2:7789; meta-disk internal; } } Regards, J On Tue, May 23, 2017 at 12:41 AM, Lars Ellenberg <lars.ellenberg at linbit.com> wrote: > On Mon, May 22, 2017 at 02:04:11PM -0700, Jerome Yanga wrote: > > I had to move my drbd environment to a different network. I changed the > IP > > addresses in /etc/drbd.conf and attempted to start the service. I get > the > > error below. > > > > /etc/drbd.conf:<LINE NUMBER>: conflicting use of IP '<NEW IP > ADDRESS>:7789' > > ... > > /etc/drbd.conf:<LINE NUMBER>: IP '<NEW IP ADDRESS>:7789' first used here. > > And, > is there a remote chance that the parser is actually correct about that? > > If so, correct the config. If not, show us the config file(s), > so we have a reproducer and can fix it. > > > Here is the version of drbd I am using. > > drbd.x86_64 8.2.7-3 installed > > Not suggesting that this would have anything to do with what you are > seeing, but this is "ancient" (you knew that, of course). > > > -- > : Lars Ellenberg > : LINBIT | Keeping the Digital World Running > : DRBD -- Heartbeat -- Corosync -- Pacemaker > > DRBD® and LINBIT® are registered trademarks of LINBIT > __ > please don't Cc me, but send to list -- I'm subscribed > _______________________________________________ > drbd-user mailing list > drbd-user at lists.linbit.com > http://lists.linbit.com/mailman/listinfo/drbd-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20170523/9a69b700/attachment.htm>