Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install DRBD

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

Editor to share with you how to install DRBD, I hope you will get something after reading this article. Let's discuss it together.

1. Download the drbd source package, where we download the latest version 8.3.6

two。 Transfer the downloaded source package to the server, where it is placed in the root user root directory

# ls / root/drbd-8.3.6.tar.gz

-rw-r--r--1 root root 457469 Nov 23 19:15 / root/drbd-8.3.6.tar.gz

3. Decompress the source packet

# tar xzf drbd-8.3.6.tar.gz

4. Compilation and installation

# cd / root/drbd-8.3.6

# mkdir / usr/local/drbd

#. / configure-prefix=/usr/local/drbd/-with-km

# make clean all install

# depmod-a

# modprobe drbd

# lsmod | grep drbd

Drbd2701840

# cd / usr/local/drbd/

# ls

Etclibsbinsharevar

UNINSTALL

1.# modprobe-r drbd

2. # lsmod | grep drbd

3. # cd / root/drbd-8.3.6

4. # make uninstall

5. # cd / usr/local/drbd/

6.#rm-rf *

7.# vi / lib/modules/2.6.9-89.ELsmp/modules.dep

/ lib/modules/2.6.9-89.ELsmp/kernel/drivers/block/drbd.ko:

8.# Delete / lib/modules/2.6.9-89.ELsmp/kernel/drivers/block/drbd.ko

1.8.3.6 the installation method of DRBD has changed since the beginning. Currently, the installation document of 8.3.6 has not been updated in the official document, and there is a problem with the uninstall script, so the installation cannot be cleared.

Prior to 2.8.3.6, only make is required and no configure operation is required.

After reading this article, I believe you have a certain understanding of "how to install DRBD". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 216

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report