Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Content imported from a Scroll Translations translation file.

...

Sv translation
languagede

Status
colourRed
titleThis page is only available in English

Sv translation
languagefr

Translations Ignore


Code Block
cat /proc/drbd


Translations Ignore


Code Block
drbdadm status


Translations Ignore


Code Block
drbdadm adjust jtelshared


Translations Ignore


Code Block
drbdadm disconnect jtelshared


Translations Ignore


Code Block
drbdadm down jtelshared


Translations Ignore


Code Block
drbdadm up jtelshared


Translations Ignore


Code Block
drbdadm primary jtelshared


Translations Ignore


Code Block
drbdadm connect jtelshared


Code Block
pcs cluster stop acd-store2 pcs cluster start acd-store2 pcs node standby acd-store2 pcs node unstandby acd-store2

Translations Ignore


Code Block
title
cat /proc/drbd --> GIT-hash: a4d5de01fffd7e4cde48a080e2c686f9e8cebf4c build by mockbuild@, 2017-09-15 14:23:22 1: cs:StandAlone ro:Primary/Unknown ds:UpToDate/DUnknown r----- ns:0 nr:119823323 dw:119823323 dr:2128 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0


Translations Ignore


Code Block
title
drbdadm status --> jtelshared role:Primary disk:UpToDate tdm-jtel-lb-2-pn-1 connection:Connecting drbdadm status --> # No currently configured DRBD found.


Translations Ignore


Code Block
title
pcs status --> Cluster name: portal Stack: corosync Current DC: acd-store1 (version 1.1.16-12.el7_4.7-94ff4df) - partition with quorum Last updated: Sun Mar 18 18:05:32 2018 Last change: Fri Feb 16 00:07:51 2018 by root via cibadmin on acd-store2 2 nodes configured 3 resources configured Node acd-store1: standby Online: [ acd-store2 ] Full list of resources: Resource Group: haproxy_group ClusterDataJTELSharedMount (ocf::heartbeat:Filesystem): Started acd-store2 ClusterIP (ocf::heartbeat:IPaddr2): Started acd-store2 samba (systemd:smb): Started acd-store2 Daemon Status: corosync: active/enabled pacemaker: active/enabled pcsd: active/enabled


Translations Ignore


Code Block
title
pcs status --> Cluster name: jtel_cluster Cluster Summary: * Stack: corosync * Current DC: acd-lb1 (version 2.0.3-5.el8_2.1-4b1f869f0f) - partition with quorum * Last updated: Sat Oct 3 12:39:22 2020 * Last change: Sat Oct 3 12:31:22 2020 by root via cibadmin on acd-lb2 * 2 nodes configured * 5 resource instances configured Node List: * Online: [ acd-lb1 ] * OFFLINE: [ acd-lb2 ] Full List of Resources: * Clone Set: DRBDClusterMount-clone [DRBDClusterMount] (promotable): * Masters: [ acd-lb1 ] * Stopped: [ acd-lb2 ] * DRBDClusterFilesystem (ocf::heartbeat:Filesystem): Started acd-lb1 * Samba (systemd:smb): Started acd-lb1 * ClusterIP (ocf::heartbeat:IPaddr2): Started acd-lb1 Daemon Status: corosync: active/enabled pacemaker: active/enabled pcsd: active/enabled


Code Block
title
pcs cluster standby acd-lb-broken   --> Verify this with   pcs status
Code Block
title
pcs node standby acd-lb-broken   --> Verify this with   pcs status

Translations Ignore


Code Block
title
umount /srv/jtel/shared drbdadm disconnect jtelshared drbdadm secondary jtelshared drbdadm connect --discard-my-data jtelshared


Translations Ignore


Code Block
title
drbdadm primary jtelshared drbdadm connect jtelshared


Translations Ignore


Code Block
title
[root@storage01 ~]# cat /proc/drbd version: 8.4.10-1 (api:1/proto:86-101) GIT-hash: a4d5de01fffd7e4cde48a080e2c686f9e8cebf4c build by mockbuild@, 2017-09-15 14:23:22 1: cs:SyncTarget ro:Secondary/Primary ds:Inconsistent/UpToDate C r----- ns:0 nr:1411538 dw:121234862 dr:2128 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:184698664 [>....................] sync'ed: 0.8% (180368/181744)M finish: 26:12:15 speed: 1,940 (2,760) want: 2,120 K/sec


Translations Ignore


Code Block
title
drbdadm disk-options --c-plan-ahead=0 --resync-rate=110M jtelshared


Translations Ignore

Do not do this on CentOS 8.x installations! Here DRBD is managed by the cluster.

Code Block
title
drbdadm primary jtelshared   --> Verify this with   cat /proc/drbd


Translations Ignore

CentOS 7.x

Code Block
title
pcs cluster unstandby acd-lb-broken   --> Verify this with   pcs status

CentOS 8.x

Code Block
title
pcs cluster start acd-lb-broken pcs node unstandby acd-lb-broken   --> Verify this with   pcs status


Translations Ignore


Code Block
title
drbdadm adjust jtelshared


Translations Ignore


Code Block
title
pcs status # CentOS 7.x cat /proc/drbd # CentOS 8.x drbdadm status # On some other linux machines ls /home/jtel/shared # Windows dir //acd-store/shared


Translations Ignore


Code Block
[17354513.483526] XFS (drbd1): log mount/recovery failed: error -22 [17354513.483569] XFS (drbd1): log mount failed [17355040.104433] XFS (drbd1): Mounting V5 Filesystem [17355040.122234] XFS (drbd1): Corruption warning: Metadata has LSN (56:112832) ahead of current LSN (56:112733). Please unmount and run xfs_repair (>= v4.3) to resolve. [17355040.122239] XFS (drbd1): log mount/recovery failed: error -22 [17355040.122322] XFS (drbd1): log mount failed


Translations Ignore


Code Block
xfs_repair /dev/drbd/by-res/jtelshared/0 pcs resource cleanup