The tool to manage iSCSI targets on Enterprise Linux 7 is targetcli. Targetcli is an interactive tool that allows you to create targets, backstores, logical unit numbers, and access control lists. In this video, look into how the help subcommand works and how to navigate the iSCSI configuration hierarchy. Additionally, explore how targetcli can save its configuration but it takes a special service on Enterprise Linux to reload it on boot.
- [Instructor] We installed the targetcli package…in a previous video on rhhost1.…To use it, be sure rhhost1 is booted up…and you're logged in as user1.…In a terminal type, sudo space targetcli, and hit enter.…The targetcli command is an interactive tool…for managing our iSCSI targets.…It provides a hierarchical representation…of our iSCSI targets, LUNs, backstores,…portals, and access control lists.…It has many sub commands, which are specific…to the path and the hierarchy.…Type help to see the sub commands for our current path.…
Some of the commands are similar to Linux commands,…such as cd, ls, pwd, and exit.…Type ls to get a view of the current hierarchy.…Since we have not configured anything,…there isn't much to see yet.…To show how the help command works…and how it changes for path, let's change…to the iSCSI directory.…Type in cd space slash, I, S, C, S, I, and hit enter.…Now type in help.…We can now see our sub commands have changed…and the output includes create and delete sub commands.…We'll be using these sub commands later in this course.…
- What is iSCSI?
- Creating iSCSI backstores
- Configuring ACL and firewall credentials
- Configuring targets and initiators
- Partitioning and mounting drives
- Creating iSCSI LUNs