This topic introduces the QoreStor CLI commands that allow you to manage iSCSI connections when you are using virtual tape library (VTL) containers. These commands include:
- iscsi --show
- iscsi --setpassword
- iscsi --sessions
- iscsi --help
This topic introduces the QoreStor CLI commands that allow you to manage iSCSI connections when you are using virtual tape library (VTL) containers. These commands include:
This command displays iSCSI information including the iSCSI CHAP user name in the current QoreStor system.
iscsi --show [--user]
Where
--user Show CHAP user name
user : iscsi_user
iscsi --show
Target 1 :
    System information:
        Driver: iscsi
        State: ready
    I_T nexus information:
    LUN information:
        LUN: 0
            Type: controller (Controller)
            Backing store path: None
        LUN: 1
            Type: passthrough (L700)
            Backing store path: /dev/sg12
        LUN: 2
            Type: passthrough ( ULT3580-TD4)
            Backing store path: /dev/sg2
        LUN: 3
            Type: passthrough ( ULT3580-TD4)
            Backing store path: /dev/sg8
        LUN: 4
            Type: passthrough ( ULT3580-TD4)
            Backing store path: /dev/sg11
        LUN: 5
            Type: passthrough ( ULT3580-TD4)
            Backing store path: /dev/sg4
        LUN: 6
            Type: passthrough ( ULT3580-TD4)
            Backing store path: /dev/sg5
        LUN: 7
            Type: passthrough ( ULT3580-TD4)
            Backing store path: /dev/sg6
        LUN: 8
            Type: passthrough ( ULT3580-TD4)
            Backing store path: /dev/sg10
        LUN: 9
            Type: passthrough ( ULT3580-TD4)
            Backing store path: /dev/sg3
        LUN: 10
            Type: passthrough ( ULT3580-TD4)
            Backing store path: /dev/sg9
        LUN: 11
            Type: passthrough ( ULT3580-TD4)
            Backing store path: /dev/sg7
    Account information:
        iscsi_user
    Target 1 ACL information:         10.250.249.221
administrator@satyan-vm1 >
This command sets the password for the iSCSI CHAP user.
iscsi --setpassword
WARNING: All existing iSCSI sessions will be terminated! Do you want to continue? (yes/no) [n]? yes Enter new CHAP password: Re-type CHAP password: administrator@test-vm1 >
This command displays the current iSCSI sessions in the current DR system.
iscsi --sessions
iSCSI client(s) information: Container: test_vtl Target IQN: Initiators Connected: iqn.1991-05.com.microsoft:win-t16n70kqii4.testad.test.local