Operating System - HP-UX
1833059 Members
2524 Online
110049 Solutions
New Discussion

Retrieval of Load Balance Policy after reboot hp-ux server

 
hermesplus
Occasional Advisor

Retrieval of Load Balance Policy after reboot hp-ux server

After reboot we got this message in rc.log:

Start Auto Path recover daemon
Output from "/sbin/rc3.d/S999autopathinit start":
----------------------------
AUTOPATH : Retrieval of Load Balance Policy failed for Lun 6005-08B4-0001-11E0-0000-F000-0098-0000

AUTOPATH : Retrieval of Load Balance Policy failed for Lun 6005-08B4-0001-11E0-0000-F000-009D-0000

AUTOPATH : Retrieval of Load Balance Policy failed for Lun 6005-08B4-0001-11E0-0000-F000-00A2-0000

If #autopath retrieve is done, no message is displayed and no change is done in Load Balance Policy.
With command #autopath set... the Load Balance Policy is set.

:#autopath display all

==============================================
HPswsp Version : A.3.0F.01F.00F ==============================================
Auto Discover : OFF
==============================================

Array Type : EVA-AA

Array WWN : 5000-1FE1-5008-1520

==============================================

Lun WWN : 6005-08B4-0001-11A7-0000-E000-0066-0000

Load Balancing Policy : Shortest Queue Length

Lun Timeout : Infinite Retry (-1)

==============================================

Device Path Status

==============================================

/dev/dsk/c31t0d1 Active

/dev/dsk/c32t0d1 Active

/dev/dsk/c33t0d1 Active

/dev/dsk/c34t0d1 Active



==============================================

Lun WWN : 6005-08B4-0001-11A7-0000-E000-0069-0000

Load Balancing Policy : Shortest Queue Length

Lun Timeout : Infinite Retry (-1)

==============================================

Device Path Status

==============================================

/dev/dsk/c31t0d2 Active

/dev/dsk/c32t0d2 Active

/dev/dsk/c33t0d2 Active

/dev/dsk/c34t0d2 Active

Q:
How to store the Load Balance Policy to retain it after reboot and in which file it is stored so we can check it?

Regards
Edi
5 REPLIES 5
NPD USER
Regular Advisor

Re: Retrieval of Load Balance Policy after reboot hp-ux server

The persistence settings are kept in /opt/HPswsp/perset. You can run command 'autopath retrieve' to reset the load balance policy based on this file. If for some reason the file is missing, you will have to reset all the load balance manually.
JIJ_1
Frequent Advisor

Re: Retrieval of Load Balance Policy after reboot hp-ux server

Hi Edi,

Was there any LUN removal happend in this server ?.Please try the below command to find out wherther any LUNs are excluded in autopath.

#autopath display -u

If any devices are listed here which is still connected to server and usable, then you will have to add it back by executing,

#autopath add -l

"autopath retrieve" may fail if the /opt/HPswsp/perset file is corrupted.In that case you may delete/move this file and set the policy once again to recreate this file.

Regards !
JiJ
hermesplus
Occasional Advisor

Re: Retrieval of Load Balance Policy after reboot hp-ux server

Hello,
thanks for your answers...

I am wondering how to check that the file /opt/HPswsp/perset is up to date?

If we do:

/root:#strings /opt/HPswsp/perset

600508B4000111A70000E00000660000
600508B4000111A70000E00000690000

From the above output there is no info about the Load Balancing policy.

We will try to do some tests (if available for reboot) on one test server.

Regards
Edi

hermesplus
Occasional Advisor

Re: Retrieval of Load Balance Policy after reboot hp-ux server

Hello,
It seems that after we changed the Auto Discover parameter to ON, the Load Balance Policy is restored after teh reboot.
can close this case
edi
hermesplus
Occasional Advisor

Re: Retrieval of Load Balance Policy after reboot hp-ux server

Hello,
It seems that after we changed the Auto Discover parameter to ON, the Load Balance Policy is restored after teh reboot.
can close this case
edi