Software >> OS >> Unix >> Solaris >> 10 >> iSCSI >> How to discover iSCSI targets on a server running MHVTL from a machine running Solaris 10Machine with MHVTL (we call it target) (with IP 10.10.2.6 & port 3260) Machine with Solaris 10 (we call as the initiator) 1. Confirm that iSCSI packages are installed on the initator machine initiator# pkginfo SUNWiscsiu SUNWiscsir system SUNWiscsiu Sun iSCSI Device Driver (root) system SUNWiscsir Sun iSCSI Management Utilities (usr) 2. Confirm that iscsi initiator service is enabled initiator# svcs iscsi/initiator STATE STIME FMRI online 16:29:31 svc:/network/iscsi/initiator:default 3. Telnet from initiator to the target at port 3260. Make sure connected. initiator# telnet 10.10.2.6 3260 4. Set discovery address initiator# iscsiadm add discovery-address 10.10.2.6:3260 5. Set discovery mode to sendtargets initiator# iscsiadm modify discovery --sendtargets enable 6. List the discovered targets initiator# iscsiadm list target -S Target: iqn.2001-04.com.mhvtl:vtl 7. If mtx is not installed in your Solaris machine, download it. E.g. for Solaris 10 x86, download the package from e.g. put the file in /var/tmp # cd /var/tmp/
8. Use mtx to test the medium changer device we have just added # /usr/local/sbin/mtx -f /dev/scsi/changer/c1t0d0 status
|