Describe désert/work/GZL here.
Contents
- DR-DB
192.168.0.231 CNX1520021 192.168.3.82
bond0
for i in $(nmcli conn | awk '{ print $1 }' | grep -v eno | grep -v NAME); do nmcli conn delete $i; done
nmcli con add type bond con-name bond0 ifname bond0 bond.options "mode=1,miimon=100,primary=ens1f0" nmcli con modify bond0 ipv4.addresses 192.168.0.231/24 ipv4.gateway 192.168.0.254 ipv4.method manual nmcli con add type ethernet con-name ens1f0 ifname ens1f0 master bond0 nmcli con add type ethernet con-name ens4f0 ifname ens4f0 master bond0 nmcli con down bond0 nmcli con up bond0
bond1
nmcli con add type bond con-name bond1 ifname bond1 bond.options "mode=1,miimon=100,primary=ens6f1" nmcli con modify bond1 ipv4.addresses 10.10.11.1/30 ipv4.method manual nmcli con add type ethernet con-name ens6f1 ifname ens6f1 master bond1 nmcli con add type ethernet con-name ens3f1 ifname ens3f1 master bond1 nmcli con down bond1 nmcli con up bond1
192.168.0.232 CNX1520023 192.168.3.83
for i in $(nmcli conn | awk '{ print $1 }' | grep -v eno | grep -v NAME); do nmcli conn delete $i; done
bond0
nmcli con add type bond con-name bond0 ifname bond0 bond.options "mode=1,miimon=100,primary=ens1f0" nmcli con modify bond0 ipv4.addresses 192.168.0.232/24 ipv4.gateway 192.168.0.254 ipv4.method manual nmcli con add type ethernet con-name ens1f0 ifname ens1f0 master bond0 nmcli con add type ethernet con-name ens4f0 ifname ens4f0 master bond0 nmcli con down bond0 nmcli con up bond0
bond1
nmcli con add type bond con-name bond1 ifname bond1 bond.options "mode=1,miimon=100,primary=ens6f1" nmcli con modify bond1 ipv4.addresses 10.10.11.2/30 ipv4.method manual nmcli con add type ethernet con-name ens6f1 ifname ens6f1 master bond1 nmcli con add type ethernet con-name ens3f1 ifname ens3f1 master bond1 nmcli con down bond1 nmcli con up bond1
- PROD-DB
192.168.0.226 CNX1520022 192.168.3.84
for i in $(nmcli conn | awk '{ print $1 }' | grep -v eno | grep -v NAME); do nmcli conn delete $i; done
bond0
nmcli con add type bond con-name bond0 ifname bond0 bond.options "mode=1,miimon=100,primary=ens1f0" nmcli con modify bond0 ipv4.addresses 192.168.0.226/24 ipv4.gateway 192.168.0.254 ipv4.method manual nmcli con add type ethernet con-name ens1f0 ifname ens1f0 master bond0 nmcli con add type ethernet con-name ens4f0 ifname ens4f0 master bond0 nmcli con down bond0 nmcli con up bond0
bond1
nmcli con add type bond con-name bond1 ifname bond1 bond.options "mode=1,miimon=100,primary=ens6f1" nmcli con modify bond1 ipv4.addresses 10.10.10.1/30 ipv4.method manual nmcli con add type ethernet con-name ens6f1 ifname ens6f1 master bond1 nmcli con add type ethernet con-name ens3f1 ifname ens3f1 master bond1 nmcli con down bond1 nmcli con up bond1
192.168.0.227 CNX1520024 192.168.3.85
bond0
nmcli con add type bond con-name bond0 ifname bond0 bond.options "mode=1,miimon=100,primary=ens1f0" nmcli con modify bond0 ipv4.addresses 192.168.0.227/24 ipv4.gateway 192.168.0.254 ipv4.method manual nmcli con add type ethernet con-name ens1f0 ifname ens1f0 master bond0 nmcli con add type ethernet con-name ens4f0 ifname ens4f0 master bond0 nmcli con down bond0 nmcli con up bond0
bond1
nmcli con add type bond con-name bond1 ifname bond1 bond.options "mode=1,miimon=100,primary=ens6f1" nmcli con modify bond1 ipv4.addresses 10.10.10.2/30 ipv4.method manual nmcli con add type ethernet con-name ens6f1 ifname ens6f1 master bond1 nmcli con add type ethernet con-name ens3f1 ifname ens3f1 master bond1 nmcli con down bond1 nmcli con up bond1
SAN
3.86
switchName: switch_1
switchType: 162.6
switchState: Online
switchMode: Native
switchRole: Principal
switchDomain: 1
switchId: fffc01
switchWwn: 10:00:d8:1f:cc:7c:fb:e0
zoning: ON (cfg01)
switchBeacon: OFF
FC Router: OFF
HIF Mode: OFF
Allow XISL Use: OFF
LS Attributes: [FID: 128, Base Switch: No, Default Switch: Yes, Ficon Switch: No, Address Mode 0]
Index Port Address Media Speed State Proto
==================================================
0 0 010000 id N32 Online FC F-Port 20:31:00:02:ac:02:8e:eb
1 1 010100 id N32 Online FC F-Port 20:32:00:02:ac:02:8e:eb
2 2 010200 id N32 Online FC F-Port 21:31:00:02:ac:02:8e:eb
3 3 010300 id N32 Online FC F-Port 21:32:00:02:ac:02:8e:eb
4 4 010400 id N32 Online FC F-Port 20:31:00:02:ac:02:8e:ea
5 5 010500 id N32 Online FC F-Port 20:32:00:02:ac:02:8e:ea
6 6 010600 id N32 Online FC F-Port 21:31:00:02:ac:02:8e:ea
7 7 010700 id N32 Online FC F-Port 21:32:00:02:ac:02:8e:ea
8 8 010800 id N32 Online FC F-Port 10:00:94:40:c9:d0:97:54
9 9 010900 id N32 Online FC F-Port 10:00:94:40:c9:d0:97:db
10 10 010a00 id N32 Online FC F-Port 10:00:94:40:c9:d0:97:55
11 11 010b00 id N32 Online FC F-Port 10:00:94:40:c9:d0:97:dc
12 12 010c00 id N32 Online FC F-Port 10:00:94:40:c9:d0:97:de
13 13 010d00 id N32 Online FC F-Port 10:00:94:40:c9:d0:97:30
14 14 010e00 id N32 Online FC F-Port 10:00:94:40:c9:d0:97:df
15 15 010f00 id N32 Online FC F-Port 10:00:94:40:c9:d0:97:31
16 16 011000 id N32 No_Light FC (Ports on Demand license not assigned or reserved yet)
cswitch_1:FID128:admin> cfgshow
Defined configuration:
cfg: cfg01 etrav-crm-db1-s6-p2_TO_Primera_A630_2;
etrav-crm-db1-s6_TO_Primera_A630_2;
etrav-crm-db2-s6_TO_Primera_A630_2;
etrav-crm-drdb1-s6_TO_Primera_A630_1;
etrav-crm-drdb2-s6_TO_Primera_A630_1
zone: etrav-crm-db1-s6-p2_TO_Primera_A630_2
etrav-crm-db1-s6-p2; Primera_A630_2_N0P1; Primera_A630_2_N0P2;
Primera_A630_2_N1P1; Primera_A630_2_N1P2
zone: etrav-crm-db1-s6_TO_Primera_A630_2
etrav-crm-db1-s6; Primera_A630_2_N0P1; Primera_A630_2_N0P2;
Primera_A630_2_N1P1; Primera_A630_2_N1P2
zone: etrav-crm-db2-s6_TO_Primera_A630_2
etrav-crm-db2-s6; Primera_A630_2_N0P1; Primera_A630_2_N0P2;
Primera_A630_2_N1P1; Primera_A630_2_N1P2
zone: etrav-crm-drdb1-s6_TO_Primera_A630_1
etrav-crm-drdb1-s6; Primera_A630_1_N0P1; Primera_A630_1_N0P2;
Primera_A630_1_N1P1; Primera_A630_1_N1P2
zone: etrav-crm-drdb2-s6_TO_Primera_A630_1
etrav-crm-drdb2-s6; Primera_A630_1_N0P1; Primera_A630_1_N0P2;
Primera_A630_1_N1P1; Primera_A630_1_N1P2
alias: Primera_A630_1_N0P1
20:31:00:02:ac:02:8e:eb
alias: Primera_A630_1_N0P2
20:32:00:02:ac:02:8e:eb
alias: Primera_A630_1_N1P1
21:31:00:02:ac:02:8e:eb
alias: Primera_A630_1_N1P2
21:32:00:02:ac:02:8e:eb
alias: Primera_A630_2_N0P1
20:31:00:02:ac:02:8e:ea
alias: Primera_A630_2_N0P2
20:32:00:02:ac:02:8e:ea
alias: Primera_A630_2_N1P1
21:31:00:02:ac:02:8e:ea
alias: Primera_A630_2_N1P2
21:32:00:02:ac:02:8e:ea
alias: etrav-crm-db1-s6
10:00:94:40:c9:d0:97:de
alias: etrav-crm-db1-s6-p2
10:00:94:40:c9:d0:97:bb
alias: etrav-crm-db2-s6
10:00:94:40:c9:d0:97:30
alias: etrav-crm-drdb1-s6
10:00:94:40:c9:d0:97:54
alias: etrav-crm-drdb2-s6
10:00:94:40:c9:d0:97:db
Effective configuration:
cfg: cfg01
zone: etrav-crm-db1-s6-p2_TO_Primera_A630_2
10:00:94:40:c9:d0:97:bb
20:31:00:02:ac:02:8e:ea
20:32:00:02:ac:02:8e:ea
21:31:00:02:ac:02:8e:ea
21:32:00:02:ac:02:8e:ea
zone: etrav-crm-db1-s6_TO_Primera_A630_2
10:00:94:40:c9:d0:97:de
20:31:00:02:ac:02:8e:ea
20:32:00:02:ac:02:8e:ea
21:31:00:02:ac:02:8e:ea
21:32:00:02:ac:02:8e:ea
zone: etrav-crm-db2-s6_TO_Primera_A630_2
10:00:94:40:c9:d0:97:30
20:31:00:02:ac:02:8e:ea
20:32:00:02:ac:02:8e:ea
21:31:00:02:ac:02:8e:ea
21:32:00:02:ac:02:8e:ea
zone: etrav-crm-drdb1-s6_TO_Primera_A630_1
10:00:94:40:c9:d0:97:54
20:31:00:02:ac:02:8e:eb
20:32:00:02:ac:02:8e:eb
21:31:00:02:ac:02:8e:eb
21:32:00:02:ac:02:8e:eb
zone: etrav-crm-drdb2-s6_TO_Primera_A630_1
10:00:94:40:c9:d0:97:db
20:31:00:02:ac:02:8e:eb
20:32:00:02:ac:02:8e:eb
21:31:00:02:ac:02:8e:eb
21:32:00:02:ac:02:8e:eb
rename alias
alishow | grep 10:00:94:40:c9:d0:97:54 -B 1
switch_1:FID128:admin> alishow | grep 10:00:94:40:c9:d0:97:54 -B 1
alias: etrav-crm-drdb1-s2p1
10:00:94:40:c9:d0:97:54
--
zone: etrav-crm-drdb1-s6_TO_Primera_A630_1
10:00:94:40:c9:d0:97:54zoneobjectrename "etrav-crm-drdb1-s6","etrav-crm-drdb1-s2p1"
3.87
switchName: switch_2
switchType: 162.6
switchState: Online
switchMode: Native
switchRole: Principal
switchDomain: 1
switchId: fffc01
switchWwn: 10:00:d8:1f:cc:7b:6b:a0
zoning: ON (cfg01)
switchBeacon: OFF
FC Router: OFF
HIF Mode: OFF
Allow XISL Use: OFF
LS Attributes: [FID: 128, Base Switch: No, Default Switch: Yes, Ficon Switch: No, Address Mode 0]
Index Port Address Media Speed State Proto
==================================================
0 0 010000 id N32 Online FC F-Port 20:33:00:02:ac:02:8e:eb
1 1 010100 id N32 Online FC F-Port 20:34:00:02:ac:02:8e:eb
2 2 010200 id N32 Online FC F-Port 21:33:00:02:ac:02:8e:eb
3 3 010300 id N32 Online FC F-Port 21:34:00:02:ac:02:8e:eb
4 4 010400 id N32 Online FC F-Port 20:33:00:02:ac:02:8e:ea
5 5 010500 id N32 Online FC F-Port 20:34:00:02:ac:02:8e:ea
6 6 010600 id N32 Online FC F-Port 21:33:00:02:ac:02:8e:ea
7 7 010700 id N32 Online FC F-Port 21:34:00:02:ac:02:8e:ea
8 8 010800 id N32 Online FC F-Port 10:00:94:40:c9:d0:47:6c
9 9 010900 id N32 Online FC F-Port 10:00:94:40:c9:d0:a7:3c
10 10 010a00 id N32 Online FC F-Port 10:00:94:40:c9:d0:47:6d
11 11 010b00 id N32 Online FC F-Port 10:00:94:40:c9:d0:a7:3d
12 12 010c00 id N32 Online FC F-Port 10:00:94:40:c9:d0:97:ba
13 13 010d00 id N32 Online FC F-Port 10:00:94:40:c9:d0:a7:00
14 14 010e00 id N32 Online FC F-Port 10:00:94:40:c9:d0:97:bb
15 15 010f00 id N32 Online FC F-Port 10:00:94:40:c9:d0:a7:01
16 16 011000 id N32 No_Light FC (Ports on Demand license not assigned or reserved yet)
cswitch_2:FID128:admin> cfgshow
Defined configuration:
cfg: cfg01 etrav-crm-db1-s4-p2_TO_Primera_A630_2;
etrav-crm-db1-s4_TO_Primera_A630_2;
etrav-crm-db2-s4_TO_Primera_A630_2;
etrav-crm-drdb1-s4_TO_Primera_A630_1;
etrav-crm-drdb2-s4_TO_Primera_A630_1
zone: etrav-crm-db1-s4-p2_TO_Primera_A630_2
etrav-crm-db1-s4-p2; Primera_A630_2_N0P3; Primera_A630_2_N0P4;
Primera_A630_2_N1P3; Primera_A630_2_N1P4
zone: etrav-crm-db1-s4_TO_Primera_A630_2
etrav-crm-db1-s4; Primera_A630_2_N0P3; Primera_A630_2_N0P4;
Primera_A630_2_N1P3; Primera_A630_2_N1P4
zone: etrav-crm-db2-s4_TO_Primera_A630_2
etrav-crm-db2-s4; Primera_A630_2_N0P3; Primera_A630_2_N0P4;
Primera_A630_2_N1P3; Primera_A630_2_N1P4
zone: etrav-crm-drdb1-s4_TO_Primera_A630_1
etrav-crm-drdb1-s4; Primera_A630_1_N0P3; Primera_A630_1_N0P4;
Primera_A630_1_N1P3; Primera_A630_1_N1P4
zone: etrav-crm-drdb2-s4_TO_Primera_A630_1
etrav-crm-drdb2-s4; Primera_A630_1_N0P3; Primera_A630_1_N0P4;
Primera_A630_1_N1P3; Primera_A630_1_N1P4
alias: Primera_A630_1_N0P3
20:33:00:02:ac:02:8e:eb
alias: Primera_A630_1_N0P4
20:34:00:02:ac:02:8e:eb
alias: Primera_A630_1_N1P3
21:33:00:02:ac:02:8e:eb
alias: Primera_A630_1_N1P4
21:34:00:02:ac:02:8e:eb
alias: Primera_A630_2_N0P3
20:33:00:02:ac:02:8e:ea
alias: Primera_A630_2_N0P4
20:34:00:02:ac:02:8e:ea
alias: Primera_A630_2_N1P3
21:33:00:02:ac:02:8e:ea
alias: Primera_A630_2_N1P4
21:34:00:02:ac:02:8e:ea
alias: etrav-crm-db1-s4
10:00:94:40:c9:d0:97:ba
alias: etrav-crm-db1-s4-p2
10:00:94:40:c9:d0:97:df
alias: etrav-crm-db2-s4
10:00:94:40:c9:d0:a7:00
alias: etrav-crm-drdb1-s4
10:00:94:40:c9:d0:47:6c
alias: etrav-crm-drdb2-s4
10:00:94:40:c9:d0:a7:3c
Effective configuration:
cfg: cfg01
zone: etrav-crm-db1-s4-p2_TO_Primera_A630_2
10:00:94:40:c9:d0:97:df
20:33:00:02:ac:02:8e:ea
20:34:00:02:ac:02:8e:ea
21:33:00:02:ac:02:8e:ea
21:34:00:02:ac:02:8e:ea
zone: etrav-crm-db1-s4_TO_Primera_A630_2
10:00:94:40:c9:d0:97:ba
20:33:00:02:ac:02:8e:ea
20:34:00:02:ac:02:8e:ea
21:33:00:02:ac:02:8e:ea
21:34:00:02:ac:02:8e:ea
zone: etrav-crm-db2-s4_TO_Primera_A630_2
10:00:94:40:c9:d0:a7:00
20:33:00:02:ac:02:8e:ea
20:34:00:02:ac:02:8e:ea
21:33:00:02:ac:02:8e:ea
21:34:00:02:ac:02:8e:ea
zone: etrav-crm-drdb1-s4_TO_Primera_A630_1
10:00:94:40:c9:d0:47:6c
20:33:00:02:ac:02:8e:eb
20:34:00:02:ac:02:8e:eb
21:33:00:02:ac:02:8e:eb
21:34:00:02:ac:02:8e:eb
zone: etrav-crm-drdb2-s4_TO_Primera_A630_1
10:00:94:40:c9:d0:a7:3c
20:33:00:02:ac:02:8e:eb
20:34:00:02:ac:02:8e:eb
21:33:00:02:ac:02:8e:eb
21:34:00:02:ac:02:8e:eb