Re: [DRBD-user] two nodes

2018-08-21 Thread Ricky Gutierrez
El lun., 20 ago. 2018 a las 1:59, Roland Kammerer
() escribió:

> Manually? DRBD8.4? DRBD9.0? With the drbdmanage plugin? With the linstor
> plugin?
>
> But the answer to all of them should be: yes.
>

Hi Roland, sorry for the details, I'm trying with the linstor plugin .

-- 
rickygm

http://gnuforever.homelinux.com
___
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user


[DRBD-user] two nodes

2018-08-20 Thread Ricky Gutierrez
Hi , Is it possible to continue using drbd with two nodes in the
latest version of proxmox?

regardss

-- 
rickygm

http://gnuforever.homelinux.com
___
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user


Re: [DRBD-user] secundary not finish synchronizing

2018-02-09 Thread Ricky Gutierrez
2018-02-08 7:28 GMT-06:00 Lars Ellenberg :

Hi Lars

> And your config is?

resource zimbradrbd {
protocol C;
# DRBD device
device /dev/drbd0;
# block device
disk /dev/hamail/opt;
meta-disk internal;

syncer {

rate 40M;

}

net {

allow-two-primaries;
after-sb-0pri discard-zero-changes;
after-sb-1pri discard-secondary;
after-sb-2pri disconnect;

}

startup {
become-primary-on both;

}

on node-01.domain.nl {
# IP address:port
address 192.168.20.91:7788;
}
on node-02.domain.nl {
address 192.168.20.92:7788;

}

}


> And you logs say?

Feb  5 13:45:29 node-01 kernel: drbd zimbradrbd: conn( WFConnection ->
Disconnecting )
Feb  5 13:45:29 node-01 kernel: drbd zimbradrbd: Discarding network
configuration.
Feb  5 13:45:29 node-01 kernel: drbd zimbradrbd: Connection closed
Feb  5 13:45:29 node-01 kernel: drbd zimbradrbd: conn( Disconnecting
-> StandAlone )
Feb  5 13:45:29 node-01 kernel: drbd zimbradrbd: receiver terminated
Feb  5 13:45:29 node-01 kernel: drbd zimbradrbd: Terminating drbd_r_zimbradr
Feb  5 13:45:29 node-01 kernel: block drbd0: disk( UpToDate -> Failed )
Feb  5 13:45:29 node-01 kernel: block drbd0: 4622 MB (1183159 bits)
marked out-of-sync by on disk bit-map.
Feb  5 13:45:29 node-01 kernel: block drbd0: disk( Failed -> Diskless )
Feb  5 13:45:29 node-01 kernel: drbd zimbradrbd: Terminating drbd_w_zimbradr



Feb  5 14:53:52 node-01 kernel: drbd zimbradrbd: peer( Secondary ->
Unknown ) conn( Connected -> Disconnecting ) pdsk( UpToDate ->
DUnknown )
Feb  5 14:53:52 node-01 kernel: drbd zimbradrbd: ack_receiver terminated
Feb  5 14:53:52 node-01 kernel: drbd zimbradrbd: Terminating drbd_a_zimbradr
Feb  5 14:53:52 node-01 kernel: drbd zimbradrbd: Connection closed
Feb  5 14:53:52 node-01 kernel: drbd zimbradrbd: conn( Disconnecting
-> StandAlone )
Feb  5 14:53:52 node-01 kernel: drbd zimbradrbd: receiver terminated
Feb  5 14:53:52 node-01 kernel: drbd zimbradrbd: Terminating drbd_r_zimbradr
Feb  5 14:53:52 node-01 kernel: block drbd0: disk( UpToDate -> Failed )
Feb  5 14:53:52 node-01 kernel: block drbd0: 0 KB (0 bits) marked
out-of-sync by on disk bit-map.
Feb  5 14:53:52 node-01 kernel: block drbd0: disk( Failed -> Diskless )
Feb  5 14:53:52 node-01 kernel: drbd zimbradrbd: Terminating drbd_w_zimbradr



>
> As is, I can only take an (educated) wild guess:
>
> Do you have no (or improperly configured) fencing,

i don't have.

> and funky auto-resolve policies configured,
> after-split-brain ... discard-secondary maybe?



>
> Configuring automatic after-split-brain recovery policies
> is configuring automatic data loss.
>
> So if you don't mean that, don't do it.
>

I am not an expert in drbd, but with the configuration that I have
according to the documentation, should not this situation happen, or
am I wrong?

thank, I wait your answer




-- 
rickygm

http://gnuforever.homelinux.com
___
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user


[DRBD-user] secundary not finish synchronizing

2018-02-05 Thread Ricky Gutierrez
Hi list , I have a problem, I have two mail servers that replicate a
secondary disk between them, there I have the mailboxes, they are as
primary and secondary with centos 7, the problem is that there was a
power cut twice, the primary server finished synchronizing with the
secundary , and then there was another power cut and the secondary
shutdown too, after this the power was restored and both power  on.

The problem is that I have lost data yesterday and today 

version of drbd

drbd84-utils-sysvinit-9.1.0-1.el7.elrepo.x86_64
kmod-drbd84-8.4.10-1_2.el7_4.elrepo.x86_64
drbd84-utils-9.1.0-1.el7.elrepo.x86_64

version: 8.4.10-1 (api:1/proto:86-101)

GIT-hash: a4d5de01fffd7e4cde48a080e2c686f9e8cebf4c build by
mockbuild@, 2017-09-15 14:23:22
 0: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r-
ns:0 nr:4778741 dw:4778741 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1
wo:f oos:0

version: 8.4.10-1 (api:1/proto:86-101)

GIT-hash: a4d5de01fffd7e4cde48a080e2c686f9e8cebf4c build by
mockbuild@, 2017-09-15 14:23:22
 0: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r-
ns:4749127 nr:190015 dw:4939142 dr:821601 al:141 bm:0 lo:0 pe:0
ua:0 ap:0 ep:1 wo:f oos:0


both are syncronized, but I do not have the data of those days.



-- 
rickygm

http://gnuforever.homelinux.com
___
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user