LVM – moving data to new PV within Logical Volume

We are moving live system (with running services) in LVM from RAID device /dev/md2 to newly created RAID device /dev/md4.

parted -a optimal -s /dev/nvme0n1 mklabel gpt
parted -a optimal -s /dev/nvme1n1 mklabel gpt
parted -a optimal -s /dev/nvme0n1 mkpart primary 1MiB -1
parted -a optimal -s /dev/nvme1n1 mkpart primary 1MiB -1
mdadm --create /dev/md4 --metadata=default --level=raid1 \
--raid-devices=2 /dev/nvme0n1p1 /dev/nvme1n1p1
pvcreate /dev/md4
vgextend vg01 /dev/md4
partprobe /dev/nvme1n1
partprobe /dev/nvme0n1
pvmove /dev/md2 /dev/md4
vgreduce vg01 /dev/md2
pvremove /dev/md2
mdadm --stop /dev/md2
lvresize -l '80%VG' vg01/lvroot
resize2fs /dev/vg01/lvroot
mdadm --detail --scan | grep md4 >> /etc/mdadm/mdadm.conf
update-initramfs -u

Expanding Icinga Service Grid

By default Service Grid in Icinga Web UI is limited to 20 services and 20 hosts.
You can change those limits by altering following:

grep -e \'[xy]\'\,\ \'limit /usr/share/php/Icinga/Data/PivotTable.php
$limit = $this->getPaginationParameter('x', 'limit', 100);
$limit = $this->getPaginationParameter('y', 'limit', 100);