1) What is ISCSI?
Ans:- iscsi is internet SCSI (small computer system interface) an internet protocol (IP) based
storage networking standard for linking data storage facilities by carrying scsi commands over IP networks. Through iscsi we can share storage, hard disk to the remote client.
2) On which port ISCSI work?
Ans:- 3260
3) Which package we used to configure ISCSI?
Ans:- iscsi-target-utils (server-side in RHEL-6)
iscsi-initiator-utils (client-side in RHEL-6)
targetcli (server-side in RHEL-7)
iscsi-initiator-utils (client-side in RHEL-7)
4) What is the main configuration file for ISCSI?
Ans :- /etc/tgt/targets.conf
5) What is the configuration file for ISCSI client?
Ans :- /etc/iscsi/initiatorname.iscsi
6) How to restart the service of ISCSI in Linux?
Ans :- service tgtd restart (in RHEL-6)
systemctl rsestart target.service (in RHEL-7)
7) How to enable the service of ISCSI in Linux?
Ans :- chkconfig tgtd on (in RHEL-6)
systemctl enable target.service (in RHEL-7)
8) What is target and initiator?
Ans:- iscsi is a client-server protocol, the server-side is referred as the “target”, while the client-side is referred to as the “initiator”. Both target and initiator are uniquely identified by a string called the iscsi qualified name (iQN).
9) What is LUN?
Ans:- LUN (logical unit number) is a unique number that is assigned to each storage device or partition of the storage that the storage can support.
10) What is TPG?
Ans:- TPG (target protocol group ), the set of interface IP addresses an TCP ports to which a specific target will listen.
11) What is portal?
Ans:- An IP address and port on a target or initiator used to establish connections.
12) What is ACL?
Ans:- An ACL (access control List), an access restriction using the node IQN to validate access permission for an initiator.
13) What is node?
Ans:- Any iscsi initiator or iscsi target, identified by its IQN.
14) What is the use of iscsiadm command?
Ans:- The iscsiadm utility is a command-line tool allowing discovery and login to iSCSI targets , as well as access and management of the open-iscsi database.
15) iSCSI allows what type of access?
Ans:- block level.
16) Tell me something about iSCSI names?
Ans:-1st – iSCSI names are associated with iSCSI nodes (targets and initiators)
2nd- iSCSI names are worldwide unique.
3rd- iSCSI names are permanent.
17) What is IQN?
Ans:- An iSCSI Qualified Name, a worldwide unique name used to identify both initiators and targets , in the mandated naming format:-
iqn.YYYY-MM.com.reversed.domain[:optional_string]
iqn -> Signifying that this name will use a domain as its identifier.
YYYY-MM -> the first month in which the domain was owned.
com.reversed.domain -> the reversed domain name of the organization creating this iSCSI name.
Optional_string -> An optional, colon-prefixed string assigned by the domain owner as desired while remaining worldwide unique.
18) iqn.03-03.com.example.server is a valid iSCSI name?
Ans:- NO.
19) iqn.2018-01.com.example is a valid iSCSI name?
Ans:- YES.
20) What is the use of Discovery session in iSCSI?
Ans:- Discovering iSCSI targets and their Target Addresses.
21) Which command i use to discover the configured target from the iSCSI target server?
Ans:- iscsiadm –m discovery –t st –p <ip-address_of_target_server>
For example:- iscsiadm –m discovery –t st –p 172.15.1.11
172.15.1.11:3260,1 iqn.2016-01.com.example:server
22) Which command i use to login into the configured target from the iSCSI target server?
Ans:- iscsiadm –m node –T <iSCSI_Target> -p <ip-address_of_target_server> -l
For example:- iscsiadm –m node –T iqn.2018-01.com.example:server –p 172.15.1.11 –l
23) What is the use of lsblk command?
Ans:- to list block devices.
24) lsblk –S?
Ans:- Output info about iSCSI devices only. All partitions, slaves and holder devices are ignored.
25) What is Discovery?
Ans:- Discovery is the Process which shows the targets for the initiator.
Comments