Re: Patching OS (1806 Views)
Reply
Valued Contributor
Naj
Posts: 169
Registered: ‎06-16-2011
Message 1 of 34 (1,860 Views)

Patching OS

Hi Expert,

 

I have some question regarding patching in HPUX

 

1. How do i update PHCO_37477 patch in HPUX?where i can get it?

2. How about the proper step for patching

 

Thank

 

BR

Naj


____________________________________________
:: Really appreciate if you could assign some points.
:: Don't know how to assign point? Click the KUDOS! star!
Outstanding Contributor
Pete Randall
Posts: 16,205
Registered: ‎11-03-1996
Message 2 of 34 (1,857 Views)

Re: Patching OS

To update, you would apply a more recent patch.  The latest is PHCO_42165 and the HP recommended patch is PHCO_40417.  You can find this by going to this page https://h20566.www2.hp.com/portal/site/hpsc/patch/home/ and entering your PHCO_37477 in the "search for individual patches" box.


Pete
Valued Contributor
Naj
Posts: 169
Registered: ‎06-16-2011
Message 3 of 34 (1,851 Views)

Re: Patching OS

Hi Pete,

I went to URL but when searching, it giving message "Insufficient authorization".

____________________________________________
:: Really appreciate if you could assign some points.
:: Don't know how to assign point? Click the KUDOS! star!
Outstanding Contributor
Pete Randall
Posts: 16,205
Registered: ‎11-03-1996
Message 4 of 34 (1,848 Views)

Re: Patching OS

Do you have a support contract linked to your UserID?  I thought you could at least search the patch database without a contract but maybe not.  Regardless, you won't be able to download patches without a contract.


Pete
Valued Contributor
Naj
Posts: 169
Registered: ‎06-16-2011
Message 5 of 34 (1,846 Views)

Re: Patching OS

Hi Pete,

Unfortunately, my id not linked to support contract. i though i can searching and read the release note but it not.

____________________________________________
:: Really appreciate if you could assign some points.
:: Don't know how to assign point? Click the KUDOS! star!
Honored Contributor
Patrick Wallek
Posts: 13,777
Registered: ‎06-21-2000
Message 6 of 34 (1,840 Views)

Re: Patching OS

Without a support contract you cannot even look at patches, unfortunately.

 

(I still think that was a bad move by HP, but.....)

Acclaimed Contributor
Torsten.
Posts: 23,385
Registered: ‎10-02-2001
Message 7 of 34 (1,836 Views)

Re: Patching OS


Patrick Wallek wrote:

Without a support contract you cannot even look at patches, unfortunately.

 

(I still think that was a bad move by HP, but.....)


I agree.

 

Many supporters want to do at least patch checks / patch database lookups for their customers without having a contract bound to their own passport ID ...

 

As seen on another big  $oftware Vendor you can do at least the lookups ...


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!   
HP Pro
Hiren N Dave
Posts: 97
Registered: ‎04-10-2006
Message 8 of 34 (1,833 Views)

Re: Patching OS

>> How about the proper step for patching

 

Download required patches from HP Support Center --> Patch Management in tar or gz format.

 

# tar -xvf <patch.tar>

# ./create_depot_hpux.11.31   (This will create a depot folder under current directory)

# swinstall -s /path_to_depot

 

 

Cheers...

I am an HP Employee

Was this post useful? - You may click the KUDOS! star to say thank you.
Valued Contributor
Naj
Posts: 169
Registered: ‎06-16-2011
Message 9 of 34 (1,810 Views)

Re: Patching OS

Hi

Since i don't have access into HP Patch portal, can someone help me to paste what the patch all about (i.e description, what's new..etc) PHCO_37477 , PHCO_42165 and  PHCO_40417

Thanks in advance


____________________________________________
:: Really appreciate if you could assign some points.
:: Don't know how to assign point? Click the KUDOS! star!
Outstanding Contributor
Pete Randall
Posts: 16,205
Registered: ‎11-03-1996
Message 10 of 34 (1,807 Views)

Re: Patching OS

Symptoms: 
	PHCO_37477:
	( QX:QXCR1000586870 CR:JAGag41743 SR:8606489137 )
	Existing libpthread thread specific access functionality is
	enhanced for better performance

	( QX:QXCR1000587619 CR:JAGag42691 SR:8606490231 )
	On an Itanium machine, the user-space context switch for
	unbound threads in an MxN application consumes additional
	CPU cycles.

	( QX:QXCR1000473102 )
	Features required to enable operation on any thread in the
	system. This involve
	1. Interface which will return the global thread id of a
	thread.
	2. Interface to change scheduling policy/priority of
	all or a specific thread(s) in any process.
	3. Interface to send signal to any thread in the system.

	( QX:QXCR1000588605 CR:JAGag43880 SR:8606491671 )
	Some multithreaded applications that use mutexes face
	scalability issues with the default spin and yield
	values.

	( QX:QXCR1000591692 CR:JAGag47598 SR:8606495676 )
	pthread_cond_destroy() may fail for some
	applications even if there are no threads waiting
	on the condition variable. The problem occurs only
	when PTHREAD_COND_PERF environment variable set.

	( QX:QXCR1000742616 )
	Some multithreaded applications that use condition
	variables may face scalability issues with the
	default spin and yield values.  Spinning for condition
	variables happens only when PTHREAD_COND_PERF is set.

	( QX:QXCR1000746120 )
	pthread_cond_signal() fails to wake up a waiting unbound
	thread due to a race condition.

	PHCO_36551:
	( QX:QXCR1000574393 CR:JAGag24564 SR:8606469357 )
	libpthread consumes CPU when there is no lock contention.

	( QX:QXCR1000579346 CR:JAGag32198 SR:8606477822 )
	Reduce overhead of linking with libpthread for single
	threaded application.

	PHCO_35996:
	( QX:QXCR1000576781 CR:JAGag28593 SR:8606473991 )
	Java applications may occasionally dump core while
	trying to wait on a synchronization object.




Pete
Outstanding Contributor
Pete Randall
Posts: 16,205
Registered: ‎11-03-1996
Message 11 of 34 (1,806 Views)

Re: Patching OS

PHCO_42165 (symptoms too long to copy so this is the summary)

Critical: 
	No (superseded patches were critical)
	PHCO_41407: ABORT HANG
		Recursive locking of a pthread RW-lock in read mode
		can lead to a deadlock.
		Sometimes a zombie thread continues to execute
		causing applications to abort with core dump.
	PHCO_40211: ABORT
		Multithreaded applications which unload dynamically
		loaded shared libraries may abort due to fork safety
		issues.
	PHCO_39604: ABORT HANG MEMORY_LEAK
		Multithreaded applications which call fork() and
		load shared libraries simultaneously may
		intermittently hang or dump core with SIGSEGV.
		pthread_kill() of unbound threads can cause an MxN
		application to abort with SIGSEGV.
		Cancellation of a joiner thread may lead to a memory
		leak.
	PHCO_38837: HANG
		MxN applications can hang when
		PTHREAD_FAST_SHARED_OBJECTS tune is set
		Java application hangs intermittently in
		pthread_suspend().
	PHCO_38050: ABORT HANG
		Pthread cancel signal is getting consumed by other
		routine. This will prevent the delivery of the
		signal to the target thread and the target thread
		does not exit, subsequently the application hangs.
		Multithreaded applications that access TLS data
		types that are 16 bytes in size sometimes get
		alignment trap.
	PHCO_35996: ABORT
		JAGag28593: java applications may occasionally
		dump core.




Pete
Outstanding Contributor
Pete Randall
Posts: 16,205
Registered: ‎11-03-1996
Message 12 of 34 (1,803 Views)

Re: Patching OS

PHCO_40417:

 

The specified Patch IDs were not found, try searching by keyword.


Pete
Exalted Contributor
Steven E. Protter
Posts: 33,806
Registered: ‎08-15-2002
Message 13 of 34 (1,801 Views)

Re: Patching OS

Shalom,

 

You note you do not have access to the patching portal.

 

You need a software contract with HP to have access to patches. This is due to a policy decision made by HP last year.

 

You really can't patch a system any more without a software support agreement.

 

SEP

Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Valued Contributor
Naj
Posts: 169
Registered: ‎06-16-2011
Message 14 of 34 (1,792 Views)

Re: Patching OS

Hi Pete

i think i've giving wrong patch, suppose to be PHCO_38837


____________________________________________
:: Really appreciate if you could assign some points.
:: Don't know how to assign point? Click the KUDOS! star!
Valued Contributor
Naj
Posts: 169
Registered: ‎06-16-2011
Message 15 of 34 (1,791 Views)

Re: Patching OS

Hi SEP,

Yes, you're correct, i will check the access with HP and for the time being, i just want to confirm that particular patch can solve the issue base on description given.

____________________________________________
:: Really appreciate if you could assign some points.
:: Don't know how to assign point? Click the KUDOS! star!
Valued Contributor
Naj
Posts: 169
Registered: ‎06-16-2011
Message 16 of 34 (1,788 Views)

Re: Patching OS

Hi Pete,

 

Based on PHCO_37477 description,

 

PHCO_37477:
	( QX:QXCR1000586870 CR:JAGag41743 SR:8606489137 )
	Existing libpthread thread specific access functionality is
	enhanced for better performance



 

I've check in server and this patch already installed but the issue still not solve. (rds consume high CPU - more than 120% )

 

Ive compare another server with same spec and same function, CPU load is low and when i checked into the server

 

# swlist -l product *,c=patch |grep -i PHCO |grep -i pthread  

PHCO_38837                    1.0            pthread library cumulative patch

 

based on description for PHCO_38837  patch

 

PHCO_38837: HANG
		MxN applications can hang when
		PTHREAD_FAST_SHARED_OBJECTS tune is set
		Java application hangs intermittently in
		pthread_suspend().



Did you think this will be solved?

 

Thanks


____________________________________________
:: Really appreciate if you could assign some points.
:: Don't know how to assign point? Click the KUDOS! star!
Acclaimed Contributor
Dennis Handly
Posts: 25,198
Registered: ‎03-06-2006
Message 17 of 34 (1,780 Views)

Re: Patching OS

[ Edited ]

>PHCO_40417: The specified Patch IDs were not found, try searching by keyword.

 

That's a typo, the correct recommended patch is: PHCO_41407

11.31 pthread library cumulative patch

 

(Pete: you might want to retcon your replies. :-)

 

>I think I've giving wrong patch, suppose to be PHCO_38837

 

That's still an old pthread patch.

 

>based on description for PHCO_38837 patch: PHCO_38837: HANG

>Did you think this will be solved?

 

No.  Hang is different than loop.

 

You might want to provide some background on your problem so everyone has the big picture:

http://h30499.www3.hp.com/t5/ITRC-Data-Protector-Forum/rds-issue/m-p/5287685#M124747

Outstanding Contributor
Pete Randall
Posts: 16,205
Registered: ‎11-03-1996
Message 18 of 34 (1,776 Views)

Re: Patching OS

Based on that description, no, I don't think it will solve your high CPU utilization problem.


Pete
Valued Contributor
Naj
Posts: 169
Registered: ‎06-16-2011
Message 19 of 34 (1,773 Views)

Re: Patching OS

Hi Pete,

 

I try searching in net and found a document regarding the DP and when i try search by keyword "PHCO_37477" it showing that this patch related with rds issue.

Attached DP troubleshooting guide

Hope you can give some comments about my finding.

 

Thanks


____________________________________________
:: Really appreciate if you could assign some points.
:: Don't know how to assign point? Click the KUDOS! star!
Acclaimed Contributor
Dennis Handly
Posts: 25,198
Registered: ‎03-06-2006
Message 20 of 34 (1,758 Views)

Re: Patching OS

[ Edited ]

 >when I try search by keyword "PHCO_37477" it showing that this patch related with rds issue.

 

It might be help to provide that link.

I did find some DP document:

http://bizsupport1.austin.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTy...

 Data Protector incorrectly handles the Raima Database Server service.

 

 But it says nothing about performance. 

 

>Attached DP troubleshooting guide

 

It seems you need to purchase a support contract and update your patches.

Valued Contributor
Naj
Posts: 169
Registered: ‎06-16-2011
Message 21 of 34 (1,748 Views)

Re: Patching OS

Hi Dennis,

 

If you download the pdf file and search by keyword "PHCO_37477" you may read full explanation about the issue and i think that is related with current issue. 

 

>http://bizsupport1.austin.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTy...

 

Link above related with sunOs and could you please point me which part that can i refer to fix current issue?

 

ype: Patch Version: v6.0 (DPSOL_00385) (2 Sep 2009) Operating System(s):Solaris 10, Solaris 8, Solaris 9



Thanks

 


____________________________________________
:: Really appreciate if you could assign some points.
:: Don't know how to assign point? Click the KUDOS! star!
Acclaimed Contributor
Dennis Handly
Posts: 25,198
Registered: ‎03-06-2006
Message 22 of 34 (1,743 Views)

Re: Patching OS

[ Edited ]

 >If you download the PDF file and search by keyword "PHCO_37477" you may read full explanation about the issue and I think that is related with current issue. 

 

google said it was there but I didn't find it.  Something wrong with chrome?  :-(

It sure looks like your issue:

Excessive CPU usage of the RDS daemon on multiprocessor HP-UX systems

 

 http://bizsupport1.austin.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTy...

 >Link above related with sunOs and could you please point me which part that can I refer to fix current issue?

 

That title is bogus.  If you have a unique HP-UX patch ID, it has to apply to HP-UX, not Solaris:

a) PHCO_37477 for 11.31 IA

b) PHCO_37543 for 11.23 IA

 

But in your Troubleshooting guide, the documention is correct.

Valued Contributor
Naj
Posts: 169
Registered: ‎06-16-2011
Message 23 of 34 (1,720 Views)

Re: Patching OS

Hi Pete,

 

>>Based on that description, no, I don't think it will solve your high CPU utilization problem.

 

The patches said is refferring to "DP troubleshooting guide ver 6.10" and that's not suite with current server that im using now is DP ver 6.11 (just reference and at least found which part need to look at). As i understand that patches  fixed RDS issue in DP ver 6.10 and i do not sure for higher ver of DP.
Currently my server using patch PHCO_37477 and seems to be this is not fixed RDS issue.
Could you please suggest me the solution on this?
Thanks in advanced
BR
Naj




____________________________________________
:: Really appreciate if you could assign some points.
:: Don't know how to assign point? Click the KUDOS! star!
Acclaimed Contributor
Dennis Handly
Posts: 25,198
Registered: ‎03-06-2006
Message 24 of 34 (1,714 Views)

Re: Patching OS

[ Edited ]

>The patches said is referring to "DP troubleshooting guide ver 6.10" and I'm using now is DP ver 6.11

>As I understand that patches fixed RDS issue in DP ver 6.10 and I do not sure for higher ver of DP.

 

The DP version isn't important.  Anything using threads may be affected.

 

>Currently my server using patch PHCO_37477 and seems to be this is not fixed RDS issue.
>Could you please suggest me the solution on this?

 

If PHCO_37477 or the recommended libpthread patch PHCO_41407 doesn't fix it, you'll need to talk to the Data Protector Response Center.

 

Did you follow the rest of the instructions in the Troubleshooting guide:

2. On the Cell Manager set the omnirc variables

export PTHREAD_MUTEX_SPINVAL=old

export PTHREAD_COMPAT_MODE=1

3. Restart the Data Protector Services:

#/opt/omni/sbin/omnisv -stop

#/opt/omni/sbin/omnisv -start

Valued Contributor
Naj
Posts: 169
Registered: ‎06-16-2011
Message 25 of 34 (1,696 Views)

Re: Patching OS

[ Edited ]

Hi,

 

I had export the variable but after logout and login back, the configuration is missing

 

#export PTHREAD_MUTEX_SPINVAL=old
#export PTHREAD_COMPAT_MODE=1

 

after logout and login

 

#env |grep -i PTHREAD
#(no output)


Are this ok?

 

Thanks

 

BR

Naj


____________________________________________
:: Really appreciate if you could assign some points.
:: Don't know how to assign point? Click the KUDOS! star!
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.