• 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. Solaris 11 IPS hand-on LAB – Boot environments
  2. Oracle Solaris 11 Zones : New Features
  3. Solaris ZFS : How to Create / Rename / Rollback / Destroy a ZFS Snapshot
  4. How to force a crash dump on T1000/T2000 servers from ALOM
  5. How to find zpool version and filesystem version in Solaris
  6. Complete Hardware Reference : SPARC T3-1 / T3-2 / T3-4
  7. Solaris : How to Troubleshoot “Unable to mount NFS mount point”
  8. How to prevent non-root user from creating crontab entry
  9. LDOMs troubleshooting : guest and control domains can not talk to each other but can talk with anyone else on the network
  10. Solaris 11.2 : Adding new resources to a running zone online

You May Also Like

Primary Sidebar

Recent Posts

  • ncat Command Examples in Linux
  • ncat: command not found
  • nautilus Command Examples in Linux
  • namei: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright