tcmu-runner | userspace side of the LIO TCM
kandi X-RAY | tcmu-runner Summary
kandi X-RAY | tcmu-runner Summary
tcmu-runner is a C library. tcmu-runner has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.
A daemon that handles the userspace side of the LIO TCM-User backstore.
A daemon that handles the userspace side of the LIO TCM-User backstore.
Support
Quality
Security
License
Reuse
Support
tcmu-runner has a low active ecosystem.
It has 175 star(s) with 145 fork(s). There are 29 watchers for this library.
It had no major release in the last 12 months.
There are 66 open issues and 106 have been closed. On average issues are closed in 81 days. There are 35 open pull requests and 0 closed requests.
It has a neutral sentiment in the developer community.
The latest version of tcmu-runner is v1.6.0
Quality
tcmu-runner has 0 bugs and 0 code smells.
Security
tcmu-runner has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
tcmu-runner code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
tcmu-runner is licensed under the Apache-2.0 License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
tcmu-runner releases are available to install and integrate.
Installation instructions, examples and code snippets are available.
It has 18 lines of code, 0 functions and 1 files.
It has low code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of tcmu-runner
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of tcmu-runner
tcmu-runner Key Features
No Key Features are available at this moment for tcmu-runner.
tcmu-runner Examples and Code Snippets
No Code Snippets are available at this moment for tcmu-runner.
Community Discussions
No Community Discussions are available at this moment for tcmu-runner.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install tcmu-runner
If setting up tcmu-runner in a HA configuration, the ceph-iscsi-cli (https://github.com/ceph/ceph-iscsi-cli) tool is the preferred management tool. Bug reports should be made to the tcmu-runner github: https://github.com/open-iscsi/tcmu-runner/issues, but can be made to ceph-users@ceph.com mailing list. Gluster management must be done with the gluster-block tools (https://github.com/gluster/gluster-block). Bug reports must be made to the gluster-block github: https://github.com/gluster/gluster-block/issues.
Clone this repo.
Type ./extra/install_dep.sh to install development packages for dependencies, or you can do it manually: Note: Install cmake and other packages which usually ending with "-devel" or "-dev": libnl3, libglib2 (or glib2-devel on Fedora), libpthread, libdl, libkmod, libgfapi (Gluster), librbd1 (Ceph), zlib.
Type cd ./extra && ./make_runnerrpms.sh [--without (rbd|glfs|qcow|zbc|fbo)] to build the RPM packages automatically.
Type cmake . [-Dwith-<rbd|glfs|qcow|zbc|fbo>=false] Note: If using systemd, -DSUPPORT_SYSTEMD=ON -DCMAKE_INSTALL_PREFIX=/usr should be passed to cmake, so files are installed to the correct location.
Type make
Type make install
Type xargs rm < install_manifest.txt to uninstall from source
Copy tcmu-runner.conf to /etc/dbus-1/system.d/. This allows tcmu-runner to be on the system bus, which is privileged.
If using systemd, copy org.kernel.TCMUService1.service to /usr/share/dbus-1/system-services/ and tcmu-runner.service to /lib/systemd/system.
Or, run it from the command line as root. It should print the number of handlers and devices found.
Ceph:
Gluster:
Start targetcli
Go to the user/tcmu backstore dir.
By default, tcmu-runner installs the file, zbc, glfs, qcow and rbd tcmu-runner handlers:
'cd' to the handler you want to setup:
tcmur_cmd_time_out: Number of seconds before logging the command as timed out, and executing a handler specific timeout handler if supported.
rbd: /pool_name/image_name[;osd_op_timeout=N;conf=N;id=N] (osd_op_timeout is optional and N is in seconds) (conf is optional and N is the path to the conf file) (id is optional and N is the id to connect to the cluster as)
qcow: /path_to_file
glfs: /volume@hostname/filename
file: /path_to_file
zbc: /[opt1[/opt2][...]@]path_to_file
The created backstore device can then be mapped to a LUN like traditional backstores.
Logger setting:
Clone this repo.
Type ./extra/install_dep.sh to install development packages for dependencies, or you can do it manually: Note: Install cmake and other packages which usually ending with "-devel" or "-dev": libnl3, libglib2 (or glib2-devel on Fedora), libpthread, libdl, libkmod, libgfapi (Gluster), librbd1 (Ceph), zlib.
Type cd ./extra && ./make_runnerrpms.sh [--without (rbd|glfs|qcow|zbc|fbo)] to build the RPM packages automatically.
Type cmake . [-Dwith-<rbd|glfs|qcow|zbc|fbo>=false] Note: If using systemd, -DSUPPORT_SYSTEMD=ON -DCMAKE_INSTALL_PREFIX=/usr should be passed to cmake, so files are installed to the correct location.
Type make
Type make install
Type xargs rm < install_manifest.txt to uninstall from source
Copy tcmu-runner.conf to /etc/dbus-1/system.d/. This allows tcmu-runner to be on the system bus, which is privileged.
If using systemd, copy org.kernel.TCMUService1.service to /usr/share/dbus-1/system-services/ and tcmu-runner.service to /lib/systemd/system.
Or, run it from the command line as root. It should print the number of handlers and devices found.
Ceph:
Gluster:
Start targetcli
Go to the user/tcmu backstore dir.
By default, tcmu-runner installs the file, zbc, glfs, qcow and rbd tcmu-runner handlers:
'cd' to the handler you want to setup:
tcmur_cmd_time_out: Number of seconds before logging the command as timed out, and executing a handler specific timeout handler if supported.
rbd: /pool_name/image_name[;osd_op_timeout=N;conf=N;id=N] (osd_op_timeout is optional and N is in seconds) (conf is optional and N is the path to the conf file) (id is optional and N is the id to connect to the cluster as)
qcow: /path_to_file
glfs: /volume@hostname/filename
file: /path_to_file
zbc: /[opt1[/opt2][...]@]path_to_file
The created backstore device can then be mapped to a LUN like traditional backstores.
Logger setting:
Support
And the default logging level is 3, if you want to change the default level, uncomment the following line in /etc/tcmu/tcmu.conf and set your level number:. # log_level = 3.
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page