Sponsored Content
Operating Systems Solaris Iscsi - target + initiator on the same host. Post 302351151 by sbk1972 on Monday 7th of September 2009 10:31:07 AM
Old 09-07-2009
Iscsi - target + initiator on the same host.

Hi all

iscsiadm / iscsitadm.

Ive created two devices on a host.

# iscsitadm list target
Target: 1-disk0
iSCSI Name: iqn.1986-03.com.sun:02:f105ddf3-52a4-ed7a-9590-c3d354b8fc32.1-disk0
Connections: 1
Target: 1-disk1
iSCSI Name: iqn.1986-03.com.sun:02:14fd7226-bbb8-4a62-dcc0-fb5660f709c2.1-disk1
Connections: 1


On another host, Ive created an initiator and via static discovery, attachment to this host.

iscsiadm list target
Target: iqn.1986-03.com.sun:02:14fd7226-bbb8-4a62-dcc0-fb5660f709c2.1-disk1
Alias: 1-disk1
TPGT: 1
ISID: 4000002a0000
Connections: 1
Target: iqn.1986-03.com.sun:02:f105ddf3-52a4-ed7a-9590-c3d354b8fc32.1-disk0
Alias: 1-disk0
TPGT: 1
ISID: 4000002a0000
Connections: 1

Without going into the pros / cons, I know want to make the target server, an initiator too, and `mount` its own disks.

Ive static added them to itself

iscsiadm list static-config
Static Configuration Target: iqn.1986-03.com.sun:02:f105ddf3-52a4-ed7a-9590-c3d354b8fc32.1-disk0,172.30.188.129:3260
Static Configuration Target: iqn.1986-03.com.sun:02:14fd7226-bbb8-4a62-dcc0-fb5660f709c2.1-disk1,172.30.188.129:3260

However, when I devfsadm / format, I cant see the little sods.

Anyone use iscsi on a solaris 10 server ?? Shed any light / help ?? Ive tried static, sendtarget. The host has several NIC's, so I wonder if I need to create a tpgt group ??

SBK

SBK
 

10 More Discussions You Might Find Interesting

1. Solaris

How do I breakdown the Target (tx) part of a cXtXdX Iscsi device?

Hello, I am trying to breakdown the cXtXdX (specifically tX) part of an iscsi device. I know in the fibre SAN world, this tX will usually be a combination of the path to device/device WWN. From what I understand in iscsi world it is similar, breaking down into... (0 Replies)
Discussion started by: Bashful
0 Replies

2. UNIX for Dummies Questions & Answers

How to change ethernet cable of iscsi initiator (iscsi client)?

how to change ethernet cable of iscsi initiator (iscsi client) (0 Replies)
Discussion started by: pankajd
0 Replies

3. UNIX for Advanced & Expert Users

LTO2 tape drive as iSCSI target

I'm using Bacula as my backup system, with full backups going to an LTO2 tape drive, while differentials and incrementals go to a disk array on my main server, babylon4. The tape drive is currently attached to a separate machine, because babylon4 does not have a SCSI controller, nor a free PCI-X... (0 Replies)
Discussion started by: Phil Stracchino
0 Replies

4. Solaris

Does iscsi initiator supported on SUN

I have a Sun Blade 2500 with SUN 5.9 OS installed. I have configured ISCSI SAN and one of my Red Hat OS can accessed/mount the ISCSI SAN disk Now i want to access/mount another ISCSI SAN disk on SUN solaris. Is that possible ? Thanks (1 Reply)
Discussion started by: z_haseeb
1 Replies

5. UNIX for Dummies Questions & Answers

Delete from target a LUN that is mounted on initiator

hi all, i'm new here and i have a question, i wanted to know, what should happen if i delete a LUN that is already mounted on one of my initiators. thanks! (3 Replies)
Discussion started by: slavash
3 Replies

6. HP-UX

After adding new iscsi target port, still the session state of that target port is showing offline

Hi, I wanted to configure new iscsi port on HPUX system, i added the target port address and configured it, once done, went to array side and searched for that host iqn number , but was nt able to find the same, came to host, then when i ran "iscsiutil -pVS" command it gave me below result ... (0 Replies)
Discussion started by: Vinay Kumar D
0 Replies

7. HP-UX

Unable to delete iscsi target

Hi Please can someone give me a hint on this, when I list the targets, I see two o them: #iscsiutil -p Operational Target Information ------------------------------ Target # 1 ----------- Target Name : iqn.1992-08.com.netapp:sn.142241859 Target Alias ... (2 Replies)
Discussion started by: fretagi
2 Replies

8. Linux

How to boot iSCSI target from console linux?

I need boot any images from iSCSI and I'd like to boot from linux console of a previous LiveCD booted. Is possible, without gpxe, ipxe firmware or similar? With a simple iSCSI initiator for example? (1 Reply)
Discussion started by: spark2k06
1 Replies

9. Shell Programming and Scripting

Connect to target host from Source host.

Hi All, Need to connect to target host and execute a command and connect back to source host to continue with next set of command execution. Is there a utility/command using which we can connect to target host ? Please suggest. Note: Netezza database is instaled on Linux server. ... (4 Replies)
Discussion started by: Nagaraja Akkiva
4 Replies

10. HP-UX

ISCSI initiator (client) for HP-UX 10.20

Is there one? If so where can it be found? I have the 10.20 CD set but I don't think that there's an iSCSI initiator on there. Thank you Dave (0 Replies)
Discussion started by: perdrix
0 Replies
iscsitgtd(1M)						  System Administration Commands					     iscsitgtd(1M)

NAME
iscsitgtd - iSCSI Target daemon SYNOPSIS
iscsitgtd [-d door_file] DESCRIPTION
The iscsitgtd daemon process implements the iSCSI configuration, control, and data paths, providing iSCSI Target Mode support in the Solaris operating system. The configuration and control path is by means of the Solaris Doors subsystem (see door_create(3C)), and provides the interface between the iSCSI Target administration utility, iscsitadm(1M), persistence configuration data stored in the Service Configuration Facility (SCF) of the service management facility (SMF). See smf(5). The data path managed by the daemon exists between TPC/IP port 3260, and the files, block devices, or raw SCSI devices configured as iSCSI target LUNs. OPTIONS
The following options is supported: -d door_file Override the location of the Solaris Door used for configuration from /var/run/iscsi_tgt_door to a door of one's choosing. Solaris Configuration Facility (SCF) The following options are supported: PGR-basedir SCSI-3 PGR base directory for ZVOL failover. Set to /. daemonize Run as Solaris daemon process. Either true or false. dbg-lvl Runtime debug level to console. qlog-lvl Runtime logging to /tmp/target_log. The following are the logging values, in hexadecimal. 0x00001 - Connection errors 0x00002 - Connection login errors 0x00004 - Connection Non-I/O errors 0x00008 - Connection I/O errors 0x00010 - Session errors 0x00020 - Session login errors 0x00040 - Session Non-I/O errors 0x00080 - Session I/O errors 0x00100 - Emulation errors 0x00200 - Emulation Non-I/O errors 0x00400 - Emulation I/O errors 0x01000 - General errors 0x02000 - General details 0x04000 - iSNS details 0x10000 - SCSI-3 PGR errors 0x20000 - SCSI-3 PGR Non-I/O errors 0x40000 - SCSI-3 PGR I/O errors EXAMPLES
Example 1 Listing All iscsitgt Values The following commands lists all iscsitgt values. # svccfg -s iscsitgt listprop iscsitgt Example 2 Setting SCF Options The following command sets the PGR-basedir option. # svccfg -s iscsitgt setprop iscsitgt/PGR-basedir = astring: "/" The following command sets the dbg-lvl option. # svccfg -s iscsitgt setprop iscsitgt/dbg-lvl = integer: 0x80ffffff ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWiscsitgtu | +-----------------------------+-----------------------------+ |Interface Stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
iscsitadm(1M), door_create(3C), attributes(5), smf(5) NOTES
The iSCSI Target daemon, iscsitgtd, is managed by the service management facility, smf(5), under the fault management resource identifier: svc:/system/iscsitgt:default SunOS 5.11 16 Mar 2009 iscsitgtd(1M)
All times are GMT -4. The time now is 06:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy