Sponsored Content
Full Discussion: SAN Migration of HP-UX hosts
Operating Systems HP-UX SAN Migration of HP-UX hosts Post 302739727 by jps460 on Tuesday 4th of December 2012 09:33:39 PM
Old 12-04-2012
Hi,

I tried to attach the bdf and inq reports.
Please see that few disks are under ASM.
I am trying to figure out the steps I need to take while cutting over to the new LUNS.

Thanks,
 

10 More Discussions You Might Find Interesting

1. HP-UX

SAN migration

Hi, I'm going to be involved in a migration of SAN islands to one big SAN. I've not worked with SANs before and I'm not sure how to approach this. I suspect the disk devices on the HP servers are going to change, when the EVA's and servers are plugged into this new Cisco 9509 switch. Any... (0 Replies)
Discussion started by: Hils
0 Replies

2. Solaris

Thoughts/experiences of SAN attaching V880 to EMC SAN

Hi everyone, I wonder if I can canvas any opinions or thoughts (good or bad) on SAN attaching a SUN V880/490 to an EMC Clarion SAN? At the moment the 880 is using 12 internal FC-AL disks as a db server and seems to be doing a pretty good job. It is not I/O, CPU or Memory constrained and the... (2 Replies)
Discussion started by: si_linux
2 Replies

3. AIX

aix tcp wrappers hosts.allow hosts.deny?

hi all just installed the netsec.options.tcpwrapper from expansion pack, which used to be a rpm, for my aix 6.1 test box. it is so unpredictable. i set up the hosts.deny as suggested for all and allow the sshd for specific ip addresses/hostnames. the tcpdchk says the hosts allowed and... (0 Replies)
Discussion started by: wf201626
0 Replies

4. Solaris

Need Help On Solaris Cluster Steps For San Migration

I am going to do a SAN Array migration and need the sequence of steps required on the Solaris cluster before moving the old array luns to new array luns. Here are the steps and I need info on the bold points:( I might even be wrong on the sequence of steps please correct me if I am wrong) 1.... (0 Replies)
Discussion started by: sunshinedeepu
0 Replies

5. AIX

SAN Migration

Hi all, We are migrating our SAN storage from HSV360 to 3PAR. The system runs aix 6.1 version with HACMP. Please let me know what are requirements from OS side and how are the data copied to the new disks. (10 Replies)
Discussion started by: ElizabethPJ
10 Replies

6. HP-UX

SAN Migration question

Hi, I am very new to HP-UX, and we're going to be doing a SAN migration. We're going to take down the machine, and zone it to the new SAN. My question is, will the device names change and will that interfere with the LVM? If the new disks come in with different device names, how would I... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies

7. Red Hat

Volume group not activated at boot after SAN migration

I have an IBM blade running RHEL 5.4 server, connected to two Hitachi SANs using common fibre cards & Brocade switches. It has two volume groups made from old SAN LUNs. The old SAN needs to be retired so we allocated LUNs from the new SAN, discovered the LUNs as multipath disks (4 paths) and grew... (4 Replies)
Discussion started by: rbatte1
4 Replies

8. AIX

AIX - FC Switch migration, SAN Migration question!

I'm New to AIX / VIOS We're doing a FC switch cutover on an ibm device, connected via SAN. How do I tell if one path to my remote disk is lost? (aix lvm) How do I tell when my link is down on my HBA port? Appreciate your help, very much! (4 Replies)
Discussion started by: BG_JrAdmin
4 Replies

9. Solaris

How to identify if disk is attached to SAN and assist in migration.?

I am working on VM host and collecting data to identify the type of storage attached to the server which will be migrated to VNX. it has one ldom created on it luxadm probe output --- No Network Array enclosures found in /dev/es Found Fibre Channel device(s): Node... (7 Replies)
Discussion started by: kpatel786
7 Replies

10. Solaris

How to copy a tar file on a series of remote hosts and untar it on those hosts?

Am trying to copy a tar file onto a series of remote hosts and untar it at the destination. Need to do this without having to do multiple ssh. Actions to perform within a single ssh session via shell script - copy a file - untar at destination (remote host) OS : Linux RHEL6 (3 Replies)
Discussion started by: sankasu
3 Replies
HBA_SendScsiInquiry(3HBAAPI)		      Common Fibre Channel HBA Information Library Functions		      HBA_SendScsiInquiry(3HBAAPI)

NAME
HBA_SendScsiInquiry, HBA_ScsiInquiryV2, HBA_SendReportLUNs, HBA_ScsiReportLUNsV2, HBA_SendReadCapacity, HBA_ScsiReadCapacityV2 - gather SCSI information from discovered ports SYNOPSIS
cc [ flag... ] file... -lHBAAPI [ library... ] #include <hbaapi.h> HBA_STATUS HBA_SendScsiInquiry(HBA_HANDLE handle, HBA_WWN PortWWN, HBA_UINT64 fcLUN, HBA_UINT8 EVPD, HBA_UINT32 PageCode, void *pRspBuffer, HBA_UINT32 RspBufferSize, void *pSenseBuffer, HBA_UINT32 SenseBufferSize); HBA_STATUS HBA_ScsiInquiryV2(HBA_HANDLE handle, HBA_WWN hbaPortWWN, HBA_WWN discoveredPortWWN, HBA_UINT64 fcLUN, HBA_UINT8 CDB_BYTE1, HBA_UINT8 CDB_BYTE2, void *pRspBuffer, HBA_UINT32 *pRspBufferSize, HBA_UINT8 *pScsiStatus, void *pSenseBuffer, HBA_UINT32 *pSenseBufferSize); HBA_STATUS HBA_SendReportLUNs(HBA_HANDLE handle, HBA_WWN PortWWN, void *pRspBuffer, HBA_UINT32 RspBufferSize, void *pSenseBuffer, HBA_UINT32 SenseBufferSize); HBA_STATUS HBA_ScsiReportLUNsV2(HBA_HANDLE handle, HBA_WWN hbaPortWWN, HBA_WWN discoveredPortWWN, void *pRspBuffer, HBA_UINT32 *pRspBufferSize, HBA_UINT8 *pScsiStatus, void *pSenseBuffer, HBA_UINT32 *pSenseBufferSize); HBA_STATUS HBA_SendReadCapacity(HBA_HANDLE handle, HBA_WWN PortWWN, HBA_UINT64 fcLUN, void *pRspBuffer, HBA_UINT32 RspBufferSize, void *pSenseBuffer, HBA_UINT32 SenseBufferSize); HBA_STATUS HBA_ScsiReadCapacityV2(HBA_HANDLE handle HBA_WWN hbaPortWWN, HBA_WWN discoveredPortWWN, HBA_UINT64 fcLUN, void *pRspBuffer, HBA_UINT32 *pRspBufferSize, HBA_UINT8 *pScsiStatus, void *pSenseBuffer, HBA_UINT32 *pSenseBufferSize); PARAMETERS
handle an open handle returned from HBA_OpenAdapter(3HBAAPI) PortWWN the port WWN of the discovered remote device to which the command is sent hbaPortWWN HBA_ScsiInquiryV2() the Port WWN of the local HBA through which the SCSI INQUIRY command is issued HBA_ScsiReportLUNsV2() the Port WWN of the local HBA through which the SCSI REPORT LUNS command is issued HBA_ScsiReadCapacityV2() the Port WWN of a local HBA through which the SCSI READ CAPACITY command is issued discoveredPortWWN HBA_ScsiInquiryV2() the Remote Port WWN to which the SCSI INQUIRY command is being sent HBA_ScsiReportLUNsV2() the Remote Port WWN to which the SCSI REPORT LUNS command is sent HBA_ScsiReadCapacityV2() the Remote Port WWN to which the SCSI READ CAPACITY command is sent fcLUN the FCP LUN as defined in the T10 specification SAM-2 to which the command is sent EVPD If set to 0, indicates a Standard Inquiry should be returned. If set to 1, indicates Vital Product Data should be returned. PageCode If EVPD is set to 1, PageCode indicates which Vital Product Data page should be returned. CDB_Byte1 the second byte of the CDB for the SCSI INQUIRY command CDB_Byte2 the third byte of the CDB for the SCSI INQUIRY command pRspBuffer a buffer in which to store the response payload RspBufferSize the size of the response buffer pRspBufferSize a pointer to the size of the response buffer pScsiStatus a buffer to receive SCSI sense data pSenseBuffer a buffer in which to store any SCSI sense data SenseBufferSize the size of the sense buffer pSenseBufferSize a pointer to the size of the sense buffer DESCRIPTION
The HBA_SendScsiInquiry() and HBA_SendScsiInquiryV2() functions send a SCSI Inquiry command as defined in the T10 specification SPC-2 to a remote FCP port. The HBA_SendReportLUNs() and HBA_SendReportLUNsV2() functions send a SCSI Report LUNs command as defined in the T10 specification SPC-2 to a remote FCP port. The HBA_SendReadCapacity() and HBA_SendReadCapacityV2() functions end a SCSI Read Capacity command as defined in the T10 specification SBC-2 to a remote FCP port. RETURN VALUES
The HBA_SendScsiInquiry() function returns the following value: HBA_STATUS_OK The command has completed. Success or failure should be determined by verifying that the sense data does not contain a check-condition. If a check-condition is present, the content of pRspBuffer is undefined. The HBA_ScsiInquiryV2() function returns the following values: HBA_STATUS_OK The command has completed. The complete payload of the SCSI INQUIRY command is returned in pRspBuffer. HBA_STATUS_ERROR_ILLEGAL_WWN The port WWN hbaPortWWN is not a WWN contained by the HBA specified by handle. HBA_STATUS_ERROR_NOT_A_TARGET The identified remote Port does not have SCSI Target functionality. HBA_STATUS_ERROR_TARGET_BUSY The command cannot be sent due to a SCSI overlapped command condition. HBA_STATUS_ERROR An error occurred. The HBA_SendReportLUNs() function returns the following values: HBA_STATUS_OK The command has completed. Success or failure should be determined by verifying the sense data does not contain a check-condition. If a check-condition is present, the content of pRspBuffer is undefined. HBA_STATUS_SCSI_CHECK_CONDITION The HBA detected a check-condition state. Details are present in the pSenseBuffer payload. The content of pRspBuffer is undefined. Not all VSLs support this error condition. Other error values indicate the content of pRspBuffer is undefined. In some cases, the pSenseBuffer can contain sense data. The HBA_SendReportLUNsV2() function returns the following values: HBA_STATUS_OK The command has completed. Sense data must be verified to ensure that it does not contain a check-condition to determine success. If a check-condition is present, the content of pRspBuffer is undefined. HBA_STATUS_ERROR_ILLEGAL_WWN The port WWN hbaPortWWN is not a WWN contained by the HBA specified by handle. HBA_STATUS_ERROR_NOT_A_TARGET The identified remote Port does not have SCSI Target functionality. HBA_STATUS_ERROR_TARGET_BUSY The command cannot be sent due to a SCSI overlapped command condition. HBA_STATUS_ERROR An error occurred. The HBA_SendReadCapacity() function returns the following values: HBA_STATUS_OK The command has completed. Success or failure should be determined by verifying that the sense data does not contain a check-condition. If a check-condition is present, the content of pRspBuffer is undefined. HBA_STATUS_SCSI_CHECK_CONDITION The HBA detected a check-condition state. Details are present in the pSenseBuffer payload. The content of pRspBuffer is undefined. Not all VSLs support this error condition. Other error values indicate the content of pRspBuffer is undefined. In some cases, the pSenseBuffer can contain sense data. The HBA_ScsiReadCapacityV2() function returns the following values: HBA_STATUS_OK The command has completed. Sense data must be verified to ensure that it does not contain a check-condition to determine success. If a check-condition is present, the content of pRspBuffer is undefined. HBA_STATUS_ERROR_ILLEGAL_WWN The port WWN hbaPortWWN is not a WWN contained by the HBA specified by handle. HBA_STATUS_ERROR_NOT_A_TARGET The identified remote Port does not have SCSI Target functionality. HBA_STATUS_ERROR_TARGET_BUSY The command cannot be sent due to a SCSI overlapped command condition. HBA_STATUS_ERROR An error occurred. Other error values indicate the content of pRspBuffer is undefined. In some cases, the pSenseBuffer can contain sense data. ERRORS
See libhbaapi(3LIB) for general error status values. EXAMPLES
Example 1 Send a SCSI inquiry to the given discovered Target port WWN. The following example sends a SCSI inquiry to the given discovered Target port WWN. memset(&inq, 0, sizeof (inq)); memset(&sense, 0, sizeof (sense)); if ((status = HBA_SendScsiInquiry(handle, discPortAttrs.PortWWN, 0, 0, 0, &inq, sizeof (inq), &sense, sizeof (sense))) != HBA_STATUS_OK) { fprintf(stderr, "Unable to send SCSI " "inquiry, reason %d ", status); continue; } printf(" Vendor: %.*s ", 8, inq.inq_vid); printf(" Model: %.*s ", 16, inq.inq_pid); ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-------------------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-------------------------------------+ |Interface Stability |Standard: FC-MI 1.92 (API version 1) | +-----------------------------+-------------------------------------+ | |Standard: FC-HBA Version 4 (API ver- | | |sion 2) | +-----------------------------+-------------------------------------+ |MT-Level |Safe | +-----------------------------+-------------------------------------+ SEE ALSO
HBA_OpenAdapter(3HBAAPI), libhbaapi(3LIB), attributes(5) T11 FC-MI Specification BUGS
The HBA_SendScsiInquiry(), HBA_SendReportLUNs(), and HBA_SendReadCapacity() functions do not take a portindex to define through which port of a multi-ported HBA the command should be sent. The behavior on multi-ported HBAs is vendor-specific and can result in the command being sent through the first HBA port, the first HBA port the given PortWWN is connected to, or other vendor-specific behavior. SNIA version 2 defines HBA_ScsiInquiryV2(), HBA_ScsiReportLUNs(), and HBA_ScsiReadCapacity() to take a Port WWN as an argument. This fixes the bug with multi-ported HBAs in HBA_ScsiInquiry(), HBA_SendReportLUNs(), and HBA_SendReadCapacity(). SunOS 5.11 1 Sep 2003 HBA_SendScsiInquiry(3HBAAPI)
All times are GMT -4. The time now is 05:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy