• 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 – Changing from iSCSI Static Discovery to SendTargets Discovery

by admin

This post is to provide steps from changing iSCSI Static Discovery to SendTargets Discovery. If zones are configured, zones need to be halted before changing the iSCSI discovery method then boot afterward. If zpool is configured, zpool needs to be exported before changing the iSCSI discovery method then import afterward.

Below are high level steps:

  1. halt zones
  2. export -f zfs pools
  3. remove static disks
  4. disable static discovery service
  5. restart target discovery service
  6. import pools
  7. boot zones

Below are detailed steps of changing from iSCSI Static to SendTargets Discovery method.

Note: No shutdown is required, but it will cause momentarily disruption to the connection.

1. Remove the luns from static-config and discovery address file.

# iscsiadm remove static-config iqn.2001-05.com.equallogic:0-8a0906-7fe02640d-3a76220fcab566f1-hddirswebep04-01,192.168.238.2:3260
# iscsiadm remove static-config iqn.2001-05.com.equallogic:0-8a0906-2e802640d-175003dddfc55491-hddirsappip01-01,192.168.238.2:3260

2. Disable static discovery

# iscsiadm modify discovery -s disable

3. Disable/enable SendTargets discovery to bring in the luns again.

# iscsiadm modify discovery -t disable
# iscsiadm modify discovery -t enable

4. Then list the target again to make sure all the luns are discovered.

Filed Under: Solaris, Solaris 11, ZFS, Zones

Some more articles you might also be interested in …

  1. How to Enable ssh/sshd Debugging for Solaris
  2. A beginners guide to Service Management Facility (SMF) in Solaris
  3. Complete Hardware Reference : SPARC T5-2 / T5-4 / T5-8
  4. How to remove a failed disk using luxadm and cfgadm
  5. How to configure an IP address in Solaris 11
  6. Managing network resources in Solaris 11 using “dlstat” and “flowstat”
  7. How to Configure TCP Keepalive option in Solaris
  8. How to identify the boot device (primary and alternate) in Solaris
  9. How to set inactivity timeouts for logins and shells in Solaris
  10. Troubleshooting solaris 10 boot issues related to SMF and milestones

You May Also Like

Primary Sidebar

Recent Posts

  • JavaFX ComboBox: Set a value to the combo box
  • Nginx load balancing
  • nginx 504 gateway time-out
  • Images preview with ngx_http_image_filter_module

© 2022 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright