De documentatie van dit product is waar mogelijk geschreven met inclusief taalgebruik. Inclusief taalgebruik wordt in deze documentatie gedefinieerd als taal die geen discriminatie op basis van leeftijd, handicap, gender, etniciteit, seksuele oriëntatie, sociaaleconomische status of combinaties hiervan weerspiegelt. In deze documentatie kunnen uitzonderingen voorkomen vanwege bewoordingen die in de gebruikersinterfaces van de productsoftware zijn gecodeerd, die op het taalgebruik in de RFP-documentatie zijn gebaseerd of die worden gebruikt in een product van een externe partij waarnaar wordt verwezen. Lees meer over hoe Cisco gebruikmaakt van inclusief taalgebruik.
Cisco heeft dit document vertaald via een combinatie van machine- en menselijke technologie om onze gebruikers wereldwijd ondersteuningscontent te bieden in hun eigen taal. Houd er rekening mee dat zelfs de beste machinevertaling niet net zo nauwkeurig is als die van een professionele vertaler. Cisco Systems, Inc. is niet aansprakelijk voor de nauwkeurigheid van deze vertalingen en raadt aan altijd het oorspronkelijke Engelstalige document (link) te raadplegen.
Dit document beschrijft de installatie van Prime Cable Provisioning 6.1.5 in High Availability (HA) met geo-redundantie.
Cisco raadt kennis van de volgende onderwerpen aan:
De informatie in dit document is gebaseerd op de volgende software- en hardware-versies:
De informatie in dit document is gebaseerd op de apparaten in een specifieke laboratoriumomgeving. Alle apparaten die in dit document worden beschreven, hadden een opgeschoonde (standaard)configuratie. Als uw netwerk live is, moet u zorgen dat u de potentiële impact van elke opdracht begrijpt.

1. LVM maakt volume voor LVBPRHOME, LVBPRDATA en LVBPRDBLOG op beide servers.
2. Linux 7.4-server voorbereiden op RDU HA-implementatie op beide servers.
3. Installatie van RDU-server in Geo-redundantiemodus
4. Voorwaarde voor Layer-3-routering voor implementatie van Geo-redundantie.
Deze illustratie is gemaakt voor de secundaire server. Dezelfde procedure moet ook op de primaire server worden voltooid.
[root@pcprdusecondary ~]# fdisk -l
Disk /dev/sda: 107.4 GB, 107374182400 bytes, 209715200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x00025a26
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 2099199 1048576 83 Linux
/dev/sda2 2099200 31211519 14556160 8e Linux LVM
Disk /dev/mapper/rhel-root: 4294 MB, 4294967296 bytes, 8388608 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/rhel-swap: 8455 MB, 8455716864 bytes, 16515072 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/rhel-home: 2147 MB, 2147483648 bytes, 4194304 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
[root@pcprdusecondary ~]# fdisk /dev/sda
Welcome to fdisk (util-linux 2.23.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): m
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
g create a new empty GPT partition table
G create an IRIX (SGI) partition table
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition's system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)
Command (m for help): p
Disk /dev/sda: 107.4 GB, 107374182400 bytes, 209715200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x00025a26
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 2099199 1048576 83 Linux
/dev/sda2 2099200 31211519 14556160 8e Linux LVM
Command (m for help): n
Partition type:
p primary (2 primary, 0 extended, 2 free)
e extended
Select (default p): p
Partition number (3,4, default 3): 3
First sector (31211520-209715199, default 31211520):
Using default value 31211520
Last sector, +sectors or +size{K,M,G} (31211520-209715199, default 209715199):
Using default value 209715199
Partition 3 of type Linux and of size 85.1 GiB is set
Command (m for help): p
Disk /dev/sda: 107.4 GB, 107374182400 bytes, 209715200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x00025a26
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 2099199 1048576 83 Linux
/dev/sda2 2099200 31211519 14556160 8e Linux LVM
/dev/sda3 31211520 209715199 89251840 83 Linux
Command (m for help): t
Partition number (1-3, default 3): 3
Hex code (type L to list all codes): L
0 Empty 24 NEC DOS 81 Minix / old Lin bf Solaris
1 FAT12 27 Hidden NTFS Win 82 Linux swap / So c1 DRDOS/sec (FAT-
2 XENIX root 39 Plan 9 83 Linux c4 DRDOS/sec (FAT-
3 XENIX usr 3c PartitionMagic 84 OS/2 hidden C: c6 DRDOS/sec (FAT-
4 FAT16 <32M 40 Venix 80286 85 Linux extended c7 Syrinx
5 Extended 41 PPC PReP Boot 86 NTFS volume set da Non-FS data
6 FAT16 42 SFS 87 NTFS volume set db CP/M / CTOS / .
7 HPFS/NTFS/exFAT 4d QNX4.x 88 Linux plaintext de Dell Utility
8 AIX 4e QNX4.x 2nd part 8e Linux LVM df BootIt
9 AIX bootable 4f QNX4.x 3rd part 93 Amoeba e1 DOS access
a OS/2 Boot Manag 50 OnTrack DM 94 Amoeba BBT e3 DOS R/O
b W95 FAT32 51 OnTrack DM6 Aux 9f BSD/OS e4 SpeedStor
c W95 FAT32 (LBA) 52 CP/M a0 IBM Thinkpad hi eb BeOS fs
e W95 FAT16 (LBA) 53 OnTrack DM6 Aux a5 FreeBSD ee GPT
f W95 Ext'd (LBA) 54 OnTrackDM6 a6 OpenBSD ef EFI (FAT-12/16/
10 OPUS 55 EZ-Drive a7 NeXTSTEP f0 Linux/PA-RISC b
11 Hidden FAT12 56 Golden Bow a8 Darwin UFS f1 SpeedStor
12 Compaq diagnost 5c Priam Edisk a9 NetBSD f4 SpeedStor
14 Hidden FAT16 61 SpeedStor ab Darwin boot f2 DOS secondary
16 Hidden FAT16 63 GNU HURD or Sys af HFS / HFS+ fb VMware VMFS
17 Hidden HPFS/NTF 64 Novell Netware b7 BSDI fs fc VMware VMKCORE
18 AST SmartSleep 65 Novell Netware b8 BSDI swap fd Linux raid auto
1b Hidden W95 FAT3 70 DiskSecure Mult bb Boot Wizard hid fe LANstep
1c Hidden W95 FAT3 75 PC/IX be Solaris boot ff BBT
1e Hidden W95 FAT1 80 Old Minix
Hex code (type L to list all codes): 8e
Changed type of partition 'Linux' to 'Linux LVM'
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table. The new table will be used at
the next reboot or after you run partprobe(8) or kpartx(8)
Syncing disks.
Deze foutmelding wordt verwacht. U moet de Linux-machine opnieuw laden om nieuwe wijzigingen van kracht te laten worden.
[root@pcprdusecondary ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/rhel-root 4.0G 946M 3.1G 24% /
devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 3.9G 8.6M 3.9G 1% /run
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/sda1 1014M 143M 872M 15% /boot
/dev/mapper/rhel-home 2.0G 33M 2.0G 2% /home
tmpfs 781M 0 781M 0% /run/user/0
[root@pcprdusecondary ~]# fdisk -l
Disk /dev/sda: 107.4 GB, 107374182400 bytes, 209715200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x00025a26
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 2099199 1048576 83 Linux
/dev/sda2 2099200 31211519 14556160 8e Linux LVM
/dev/sda3 31211520 209715199 89251840 8e Linux LVM
Disk /dev/mapper/rhel-root: 4294 MB, 4294967296 bytes, 8388608 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/rhel-swap: 8455 MB, 8455716864 bytes, 16515072 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/rhel-home: 2147 MB, 2147483648 bytes, 4194304 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
[root@pcprdusecondary ~]# pvcreate /dev/sda3

Deze Linux LVM-creatie is de voorwaarde voor de installatie van een RDU-server.
1. <logisch volume voor installatiemap Prime Cable Provisioning> - Gemonteerd in /bprHome-directory. Bijvoorbeeld LVBPRHOME.
2. <logisch volume voor gegevensdirectory voor Prime Cable Provisioning> - Gemonteerd in /bprData-directory. Bijvoorbeeld LVBPRDATA
3. <logisch volume voor logboekdirectory Prime Cable Provisioning > - Gemonteerd in /bprLog-directory. Bijvoorbeeld LVBPRDBLOG
Bijvoorbeeld: Deze procedure is om logische volumes te maken voor BPRHOME met 3 GB schijfruimte, BPRDATA met 15 GB schijfruimte en BPRDBLOG met 5 GB schijfruimte toewijzing. U moet schijfruimte kiezen om uit te breiden op basis van toewijzing.

vgcreate <vg_name> <pvname>
[root@pcprdusecondary ~]# vgcreate rdusecondary /dev/sda3
lvcreate -L <waarde in GB> -n <logische volumenaam> <volumegroepnaam>
[root@pcprdusecondary ~]# lvcreate -L +3GB -n LVBPRHOME rdusecondary
[root@pcprdusecondary ~]# lvcreate -L +15GB -n LVBPRDATA rdusecondary
[root@pcprdusecondary ~]# lvcreate -L +5GB -n LVBPRDBLOG rdusecondary

bprHome - installatietoepassingspad (standaarddirectory - /opt/CSCObac)
bprData - installatiegegevenspad.(Standaarddirectory - /var/CSCObac)
bprLog - installatielogpad. (Standaarddirectory - /var/CSCObac)
mkfs.xfs /dev/<volumegroupname>/<logisch volume>
[root@pcprdusecondary ~]# mkfs.xfs /dev/rdusecondary/LVBPRHOME
[root@pcprdusecondary ~]# mkfs.xfs /dev/rdusecondary/LVBPRDATA
[root@pcprdusecondary ~]# mkfs.xfs /dev/rdusecondary/LVBPRDBLOG

[root@pcprdusecondary ~]# mkdir bprHome
[root@pcprdusecondary ~]# mkdir bprData
[root@pcprdusecondary ~]# mkdir bprLog
[root@pcprdusecondary ~]# mount /dev/RDUPRIMARY/LVBPRHOME /bprHome/
[root@pcprdusecondary ~]# mount /dev/RDUPRIMARY/LVBPRDATA /bprData/
[root@pcprdusecondary ~]# mount /dev/RDUPRIMARY/LVBPRDBLOG /bprLog

[root@pcprdusecondary ~]# fdisk -l
[root@pcprdusecondary ~]# pvdisplay
[root@pcprdusecondary ~]# vgdisplay
[root@pcprdusecondary ~]# lvdisplay
Opmerking:
De fstab-vermeldingen voor de logische volumes hoeven niet te worden toegevoegd. Het Corosync-cluster zorgt voor de montage van de volumes. In het verleden hebben enkele klanten problemen ondervonden als gevolg van deze inzendingen. Tijdens het opnieuw opstarten van het systeem, soms als gevolg van timing probleem, zowel primaire als secundaire zou proberen om de volumes te monteren.
De naam van de volumegroep en de logische volumes (LVBPRHOME, LVBPRDATA, LVBPRDBLOG) moeten voor beide servers hetzelfde zijn. Ze moeten op beide servers dezelfde schijfruimte delen.
De bestandssysteemsynchronisatie van het DRBD-blokapparaat werkt alleen als de schijfgrootte op beide servers hetzelfde is.
CentOS Linux versie moet 7.4 zijn en de kernel moet 3.10.0-693.11.6.el7.x86_64 zijn.
Zorg ervoor dat beide servers dezelfde interface gebruiken voor het openbare IP-adres waar VIP wordt geadverteerd - ens192.
Raadpleeg de snelstartgids voor meer informatie:
RDU Geo Redundancy is een verbeterde functie van RDU HA ondersteund op RHEL 7.4 of CentOS 7.4 (beide 64-bits), waarbij de primaire en secundaire node van de RDU zich op verschillende geografische locaties kunnen bevinden of beide knooppunten zich in een ander subnet kunnen bevinden.
Route-injectie voor Virtual IP (VIP) moet worden gedaan op de ingangsrouters waarmee primaire en secundaire servers zijn verbonden.
De VIP wordt geadverteerd als RIP2-advertentie vanaf de actieve server, dus routeherverdeling moet worden gedaan voor RIP2 naar het dynamische routeringsprotocol dat in de gebruikersomgeving wordt uitgevoerd.
Hoe de RIP2-route naar OSPF IGRP te herverdelen en te adverteren. Dezelfde herverdeling kan worden gebruikt voor andere protocollen zoals EIGRP / IBGP.
Voor PCP Geo-redundantie oplossing moet de CIDR waarde van VIP 32 zijn.

Example: Here OSPF is the dynamic protocol
router ospf <processed>
redistribute rip metric-type 1 subnets. For RIP2, it uses metric as hop count.
Example: Here ISIS is the dynamic protocol
router isis
redistribute rip metric
Feedback