In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly explains "how to build the tcmu+librbd environment". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn how to build the tcmu+librbd environment.
Build tcmu+librbd environment 1. Environment
Upgrade kernel requirements > = 4.4.8
Note: resolve the missing target__core__user.h header file
Cp target__core__user.h / usr/include/linux/
two。 Installation depends on 2.1 ceph related
Yum install ceph-devel-y
2.1 other dependencies
Yum install cmake3 make gcc libnl3-devel glib2-devel kmod-devel zlib-devel-y
2.TCMU-runner compile and install 2.1to get the source code
Git clone [https://github.com/kitwestneat/tcmu-runner.git](https://github.com/kitwestneat/tcmu-runner.git)
2.2 compilation and installation
Cmake-DCMAKE_INSTALL_PREFIX=/usr-Dwith-glfs=false-Dwith-qcow=false-D SUPPORT_SYSTEMD=true.
Make
Make install
2.3 start tcmu-runner
Systemctl start tcmu-runner
3.targetcli installation
Python setup.py install
3.3 run
Targetcli ls if user:rbd appears in backstore, install OK at this time to view the help directive to complete the creation of rbd-lun.
Permission set attribute authentication=0 demo_mode_write_protect=0 generate_node_acls=1 cache_dynamic_acls=1
Thank you for your reading, the above is the content of "how to build the tcmu+librbd environment". After the study of this article, I believe you have a deeper understanding of how to build the tcmu+librbd environment, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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: 0
*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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.