System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to change HBA parameter in HPUX 11i v1 &11i v2?

 
tongrenyuan
Advisor

Is it possible to change HBA parameter in HPUX 11i v1 &11i v2?

Dear all:

     As we know, we can install HBA management tools to change HBA parameters in normal x86 operating system.

     For example ,we can download and install qlogic HBA management tools to change QLogic HBA parameters,such as "port down retry count", "Link down timeout", and so on.

     If I want to change HBA parameter in HPUX 11i v1 &11i v2, is there any similar tools or command?

     Thanks very much.

BR

TONG

 

6 REPLIES
Torsten.
Acclaimed Contributor

Re: Is it possible to change HBA parameter in HPUX 11i v1 &11i v2?

Depending on what you want to get/set you use fcmsutil/fcdutil and scsimgr.

Try for example

 

# scsimgr get_info -D /dev/rdisk/disk11

with a disk of your choice.


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
tongrenyuan
Advisor

Re: Is it possible to change HBA parameter in HPUX 11i v1 &11i v2?

Dear:

       Thanks for your reply.

        The detail information is as follows:

        I connect HPUX 11i V1&V2 to a storage system with PV_Links multipath configured, then I run IO test. Later I pull out one cable,and wait the IO switch to another path. And I find the IO will become zero until 57s later.

       I connect Windows/Linux Server to the same storage.When this problem happen, I can change the following parameters to shorten the time.

Emulex: LinkTimeout/NodeTimeout

QLogic: Port Down Retry count /Link Down Timeout

     Therefore I want to know whether HPUX 11i v1&v2 have the similar function ? Wheter I can shorten the time by change HBA parameters.  

     I check the command you provided, and find it supports the following configuration:

# fcdutil
*************************************************************************
***** IOCTL functions available to the FCD driver *****
*************************************************************************

fcmsutil < FCD device_file >
< FCD device_file > echo <remote N_Port_id> [data_size] [count]
< FCD device_file > test <remote N_Port_id> [data_size] [count]
< FCD device_file > rls <remote N_Port_id>
< FCD device_file > [-f] lb {ext | int} {crpat | cjtpat} [count]
< FCD device_file > read_cr
< FCD device_file > read <offset> [pci]
< FCD device_file > vpd
< FCD device_file > sfp
< FCD device_file > get fabric
< FCD device_file > get remote {all | <remote N_Portid>}
< FCD device_file > [-k] ns_query_ports
< FCD device_file > [-f] reset
< FCD device_file > [-f] bdr <target device_file>
< FCD device_file > stat [-s]
< FCD device_file > clear_stat
< FCD device_file > nsstat
< FCD device_file > clear_nsstat
< FCD device_file > flexfc [index]
< FCD device_file > devstat {all | <remote N_Port_id>}
< FCD device_file > clear_devstat {all | <remote N_Port_id>}
< FCD device file > enable
< FCD device file > [-f] disable
< FCD device file > [-f] dump_current_state
< FCD device file > dump_saved_state
< FCD device_file > dump_nvram
< FCD device file > rom_fw_update <ROM firmware file>
< FCD device file > efi_drv_update <EFI Driver file>
< FCD device_file > [-f] set_int_delay {off | [-z {5 | 6}] <value>}
< FCD device_file > get_int_delay

Note: <remote-N-port-ID> can be substituted with -w <wwn>
or -l <loop_id>(only in PRIVATE_LOOP) for all options
that take <remote-N-port-ID> as an argument.

Could you please tell me which parameter I should change to shorten the time.

Looking forware to your reply.

BR

Tong 

 

Torsten.
Acclaimed Contributor

Re: Is it possible to change HBA parameter in HPUX 11i v1 &11i v2?

You need "pvchange -t", but be careful!


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
tongrenyuan
Advisor

Re: Is it possible to change HBA parameter in HPUX 11i v1 &11i v2?

Dear:

        Thanks for your reply.

         I check the PV information, it is as follows:

bash-4.0# pvdisplay /dev/dsk/c1t0d0s2
--- Physical volumes ---
PV Name /dev/dsk/c1t0d0s2
VG Name /dev/vg00
PV Status available
Allocatable yes
VGDA 2
Cur LV 8
PE Size (Mbytes) 32
Total PE 4346
Free PE 508
Allocated PE 3838
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On
Proactive Polling On

bash-4.0#

The IO timeout is default.

Could you tell me the default value is how many seconds?

Besides, If I want to change this value, is there any risk ?

Do you have any instruction for this operation? for example, I can change to what value, when I change this value, do I need to change other value,such as the timeout for lv?

Looking forward to your reply.

 

BR

TONG

Torsten.
Acclaimed Contributor

Re: Is it possible to change HBA parameter in HPUX 11i v1 &11i v2?

From LVM user guide:

HP-UX System Administrator's Guide:

Logical Volume Management
HP-UX 11i Version 3

 

The PV timeout can be from 2 seconds to a maximum of 300 seconds. The default timeout,
shown by a value of “0”, is 30 seconds. However, to ensure reliable handling of device
failure, the driver stack requires a PV timeout of no less than 15 seconds. Using values lower
than 15 seconds can lead to false failure detection and possibly longer delays as LVM is
immediately recovering from a failure. Ideal PV timeout value for a physical volume depends
on several factors including number of links to the physical volume, quality/speed/recovery-time
of the transport links, physical volume model/type, and so on.

 

Meaning of PV timeout.
In 11i v2, LVM utilizes the configured PV timeout fully for a particular PV link to which it is
set. If there is any I/O failure, LVM will retry the I/O on a next available PV link to the same
physical volume with the new PV timeout budget.


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
tongrenyuan
Advisor

Re: Is it possible to change HBA parameter in HPUX 11i v1 &11i v2?

Dear:

      The storage and host are connected through a FC switch.

       I have changed the pV timeout to 15s.But the result is still the same.

       When I pull out the line of storage,  the IO will still become zero until 57s later.

       Is there any other mothods for host to shorten this time ?

       Looking forward to your reply.

 

BR 

TONG