Nota Acap
  • Introduction
  • Linux Guide
    • Fresh Installed Centos 7
    • Changing Network Interfaces in Centos 7
    • Lockdown SSH
    • Recursively change permission Linux
    • Proxy Server IPtables
    • Provisioning Web Server with Custombuild
    • MySQL Basic Management
    • Increasing Existing LVM Disk
  • Windows Guide
  • Application Guide
    • WEB Port IPtables Rate Limit
    • Simple Email Piping Script
    • HTTP Dead
    • Email Relay Outgoing
    • Compiling Extra PHP version (Directadmin)
    • Finding the SPAM (cPanel)
    • HTTP Basic Virtual Host
    • Update Kernel for DRBD Hosts
  • Migration Related
    • Cpanel -> Cpanel (Bulk)
    • IMAPSYNC Basic Scripts
    • Directadmin -> cPanel (Copy/Sync Emails)
    • Basic Rsync Script
Powered by GitBook
On this page
  • PRIMARY DRBD
  • SECONDARY DRBD

Was this helpful?

  1. Application Guide

Update Kernel for DRBD Hosts

Steps to update kernel for servers that are using DRBD for their Disks

In this example, the DRBD hosts are running MySQL Services.

PRIMARY DRBD

BEFORE UPDATE

systemctl stop mysqld
umount /var/lib/mysql
drbdadm secondary drbd0
reboot

AFTER UPDATE

cd /ips1/drbd
wget http://www.linbit.com/downloads/drbd/9.0/drbd-9.0.14-1.tar.gz
tar xvf drbd-9.0.14-1.tar.gz
cd drbd-9.0.14-1
make make install
modprobe drbd
systemctl start drbd
drbdadm primary drbd0
mount /dev/drbd0 /var/lib/mysql
systemctl start mysqld

SECONDARY DRBD

yum update kernel kernel-devel 
reboot

AFTER UPDATE

cd /ips1/drbd
wget http://www.linbit.com/downloads/drbd/9.0/drbd-9.0.14-1.tar.gz
tar xvf drbd-9.0.14-1.tar.gz
cd drbd-9.0.14-1
make make install
modprobe drbd
systemctl start drbd
PreviousHTTP Basic Virtual HostNextCpanel -> Cpanel (Bulk)

Last updated 6 years ago

Was this helpful?