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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • 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. How to find zpool version and filesystem version in Solaris
  2. Oracle Solaris 11 Package Naming scheme ( version format )
  3. How to Check and Analyze Memory Usage in Solaris
  4. M8000 / M9000 : How to update XCP firmware (XSCF firmware upgrade)
  5. How to install desktop GUI in solaris 11 (x86)
  6. Comparing Network configuration : Solaris 10 Vs Solaris 11
  7. Troubleshooting solaris 10 boot issues related to SMF and milestones
  8. How to update Solaris 11 system Using IPS
  9. A beginners guide to Veritas Dynamic Multipathing (VxDMP)
  10. Performing Network Diagnostics in Solaris 11 with “network-monitor”

You May Also Like

Primary Sidebar

Recent Posts

  • “aws s3 mv” Command Examples
  • “aws s3 mb” Command Examples
  • “aws s3 ls” Command Examples
  • “aws s3 cp” Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright