across all cluster nodes
cd /etc/ cat hostname cat hosts
enable the bridges, same as for debian!
vi network/interfaces ... cat resolv.conf cd conf.d/ vi dropbear ... cd ../ init.d/dropbear restart
cd /etc/ mv -i rc.conf rc.conf.dist grep -vE '^#|^$' rc.conf.dist > rc.conf.clean grep -vE '^#|^$' rc.conf.dist > rc.conf vi rc.conf rc_tty_number=5 rc_sys="xen0" chmod -x /etc/init.d/ntpd ls -lF /etc/conf.d/xen* ls -lF /etc/default/xen*
grab and deploy REISER+DRBD kernel
cd /lib/modules/ wget https://lab.nethence.com/nunux/REISER4-AND-DRBD9/5.16.20.modules.tar.gz tar xzf 5.16.20.modules.tar.gz cd /boot/ wget https://lab.nethence.com/nunux/REISER4-AND-DRBD9/5.16.20.vmlinuz wget https://lab.nethence.com/nunux/REISER4-AND-DRBD9/5.16.20.vmlinuz.config ln -s 5.16.20.vmlinuz vmlinuz ln -s 5.16.20.vmlinuz.config config
alpine linux has separated /boot/ partition by default
vi extlinux.conf serial 0 115200 console 1 nohalt 1 default menu.c32 prompt 0 timeout 100 menu title SYSLINUX menu autoboot boot in # seconds label xen menu default com32 mboot.c32 append xen.gz noreboot=true loglvl=info guest_loglvl=info smt=1 ept=exec-sp com1=115200,8n1 console=com1,vga --- vmlinuz root=/dev/sda3 ro console=hvc0 earlyprintk=xen mitigations=off label linux linux vmlinuz append root=/dev/sda3 ro console=tty0 console=ttyS0,115200n8 mitigations=off menu separator LABEL alpine-xen-lts COM32 mboot.c32 APPEND xen.gz dom0_mem=384M --- vmlinuz-lts root=/dev/sda3 modules=sd-mod,usb-storage,ext4 rootfstype=ext4 --- initramfs-lts LABEL alpine-lts LINUX vmlinuz-lts INITRD initramfs-lts APPEND root=/dev/sda3 modules=sd-mod,usb-storage,ext4 rootfstype=ext4
ls -lF /etc/update-extlinux.conf ls -lF /etc/update-extlinux.d/ update-extlinux cp -pi /etc/inittab /etc/inittab.dist vi /etc/inittab
# Put a getty on the serial port ttyS0::respawn:/sbin/getty -L 115200 ttyS0 vt100 ttyS1::respawn:/sbin/getty -L 115200 ttyS1 vt100 # enable login on alternative console hvc0::respawn:/sbin/getty -L 0 hvc0 vt100 #ttyS0::respawn:/sbin/getty -L 0 ttyS0 vt100 #ttyS1::respawn:/sbin/getty -L 0 ttyS1 vt100
grep ^ttyS /etc/securetty grep ^hvc /etc/securetty reboot xl info uname -r zcat /proc/config.gz | grep CONFIG_UFS zcat /proc/config.gz | grep CONFIG_REISER4 find /lib/modules/`uname -r`/ | grep drbd
install the tools to manage DRBD
apk add drbd-utils drbd-utils-bash-completion drbd-utils-doc drbd-utils-openrc
https://unix.stackexchange.com/questions/41817/linux-how-to-find-the-device-driver-used-for-a-device