• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

The Geek Diary

CONCEPTS | BASICS | HOWTO

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • Linux Services
    • VCS
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
    • Data Guard
  • DevOps
    • Docker
    • Shell Scripting
  • Interview Questions
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Solaris 11.3 – Changing from iSCSI SendTargets Discovery to Static Discovery

By admin

Question: We have to set up a static configuration for an iSCSI device. It was added as dynamic but the specification calls for a static configuration. How to change iSCSI SendTargets Discovery to Static Discovery?

1. Halt the Solaris zones (if applicable).

2. Export the zfs pool:

# zpool export {pool name}

3. Disable sendtargets discovery:

# iscsiadm modify discovery --sendtargets disable

4. Enable static discovery:

# iscsiadm modify discovery --static enable

5. Verify only static discovery is enabled:

# iscsiadm list discovery       
Discovery:               
Static: enabled               
Send Targets: disabled               
iSNS: disabled

6. Get the iqn name of a target and its IP address then we can also specify Port number, target portal number. But if not passing those arguments, the initiator will use default port 3260 and whatever tpgt the target is in, it will connect to that tpgt.

# iscsiadm add static-config iqn.1986-03.com.sun:02:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxx.xx,10.30.16.169

7. Import the zfs pool:

# zpool import {pool name}

8. Restart the Solaris zones (if applicable).

Filed Under: Solaris, Solaris 11

Some more articles you might also be interested in …

  1. Solaris ZFS : How to Create / Rename / Rollback / Destroy a ZFS Snapshot
  2. How to configure IPMP in Solaris 11 – Active-Active & Active-Standby
  3. The ultimate Solaris Volume Manager (SVM) interview questions
  4. The ultimate Solaris networking interview questions
  5. Performing Network Diagnostics in Solaris 11 with “network-monitor”
  6. How to Set the TimeZone in Solaris 10,11
  7. GUDS – A Script for Gathering Solaris Performance Data
  8. How to share ZFS as NFS in Solaris 11
  9. How to assign a static IPv6 address on Solaris 8,9,10 (persistently)
  10. How to find the space consumed by ZFS snapshots

You May Also Like

Primary Sidebar

Recent Posts

  • CentOS/RHEL 8: “ACPI MEMORY OR I/O RESET_REG” Server Hung after reboot
  • How to Create a Physical Standby Database by Using SQL and RMAN Commands
  • Basics of client connectivity in Oracle Data Guard configuration
  • ORA-354 ORA-353 and ORA-312: Possible corruption in Online Redo Log File Members in a Redo Log Group
  • Archives
  • Contact Us
  • Copyright

© 2021 · The Geek Diary