Operating System - HP-UX
1829753 Members
1773 Online
109992 Solutions
New Discussion

Upgrading Diagnostics (STM) - how to?

 
SOLVED
Go to solution
Johnny Damtoft
Regular Advisor

Upgrading Diagnostics (STM) - how to?

Hi,

I've been looking for an "upgrade-plan" for Diagnostics.

I have downloaded the latest Diagnostics (version: 11.11.17.02) and I have been reading the mans for upgrading from a prev. version.

Now I'm asking you. What is the right way to do this?
Do i need to backup data? Do i need to uninstall the current version, Do i need to install patches before or after the installation? Do i need to stop and start any services before and after the installation? (Just to mention a few things) :)


Johnny
8 REPLIES 8
Sandy Chen
Honored Contributor
Solution

Re: Upgrading Diagnostics (STM) - how to?

Hi Johnny,

Data backup is always recommended, perhaps you could create an OS backup too. The steps are as below:

- Stop All Diagnostics/EMS Daemons
* issue "/sbin/init.d/diagnostic stop"
* issue "/etc/opt/resmon/lbin/monconfig"
o Select K to Stop Event Monitoring
* issue "vi /etc/inittab""
o Uncomment the p_client-> #ems4:3456:respawn:/etc/opt/resmon/lbin/p_client
o Save the inittab file with ESC:wq! and issue init q to activate the changes
o Check if p_client is still running (ps -ef | grep p_client), if necessary kill the process (kill -2 [ process id])
* issue "/sbin/init.d/ems stop"
* issue "/sbin/init.d/emsa stop"
* issue "ps -ef | grep stm" to check that no processes are running anymore.
If you can still see processes, kill them manually (kill -2 [ process id])

- Remove the current software with swremove
- Install the new OnlineDiag Bundle
- Install recommended patches


regards,
Sandy
I never think of the future. It comes soon enough.
Zeev Schultz
Honored Contributor

Re: Upgrading Diagnostics (STM) - how to?

"swremove OnlineDiag" and swremove of EMS-Core, EMS-Config,EMS-MIBMon. Then,swinstall OnlineDiag

So computers don't think yet. At least not chess computers. - Seymour Cray
Pupil_1
Trusted Contributor

Re: Upgrading Diagnostics (STM) - how to?

It's always good to have a backup when patching, just in case. When STM is upgraded, diagmond will be automatically restarted and there is not manual process involved.

The link from which I downloaded B.11.11.17.02 is this.
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B6191AAE
There is always something new to learn everyday !!
Andrew Merritt_2
Honored Contributor

Re: Upgrading Diagnostics (STM) - how to?

Unless you are upgrading from a very old version, there should be no problems just installing the new version without removing the old one.

The only data I can think of that might need backing up is the config files, if you have made any changes to any of them, and the update process should spot that and save a copy of the changed versions, I think.

Make sure you also apply the latest patch for the version of OnlineDiags you are installing. For B.11.11.17.02, that is PHSS_35285.

Andrew
Johnny Damtoft
Regular Advisor

Re: Upgrading Diagnostics (STM) - how to?

Hi,

Where is the configs and "collect" data located so i do a backup?

After installing Diag., I am under the impresion that the patch PHSS_35285 is for HP-UX 11.23 only. Correct?

Johnny
Andrew Merritt_2
Honored Contributor

Re: Upgrading Diagnostics (STM) - how to?

PHSS_35285 is for the A.52.00 release of the 11.11 OnlineDiags. What are you seeing that suggests it is for 11.23?

Have you made any changes to the configuration? If not, there's nothing I can think of that you would need to save.

Andrew
Johnny Damtoft
Regular Advisor

Re: Upgrading Diagnostics (STM) - how to?

Ups.

After checking it again, i saw that i have been reading the wrong line. I took the version number from 11.23.

Johnny

Johnny Damtoft
Regular Advisor

Re: Upgrading Diagnostics (STM) - how to?

Thanks guys, i think i got what i need..


Johnny