1846407 Members
2967 Online
110256 Solutions
New Discussion

swinstall problem

 
SOLVED
Go to solution
Troyan Krastev
Regular Advisor

swinstall problem

Hi all,

When I try to install some software on my N class server (swinstall) I get message ?The controller has lost communication with the agent?? during ?Executing Postinstall?. I tried recommendations from Doc ID W3555617 but it doesn?t help! With software that don?t have post install procedure it works fine.

Please Help,
Troy.
13 REPLIES 13
James R. Ferguson
Acclaimed Contributor

Re: swinstall problem

Hi Troyan:

This sounds as if transient network "issues" are interfering with 'swinstall'. If Measureware is running, this can interfer with a swinstall session.

I'd restart the 'swagentd' daemon and then try running 'swinstall" with this option:

# swagentd -r

# swinstall -x rpc_binding_info=ncadg_ip_udp:[2121]

...JRF...
David Navarro
Respected Contributor

Re: swinstall problem

We had, years ago, intermitent problems with swinstall and we can solve them adding these lines at the end of file in /var/adm/sw/defaults file.

swinstall.rpc_binding_info=ncacn_ip_tcp:[2121] ncadg_ip_udp:[2121]
swinstall.rpc_timeout=5
swinstall.retry_rpc=9
swinstall.agent_timeout_minutes=10
swinstall.polling_interval=60

Then execute:
swagentd -r

for restar swinstall daemon, you can also do /sbin/init.d/swagentd stop and /sbin/init.d/swagentd start

I hope it help you
Troyan Krastev
Regular Advisor

Re: swinstall problem

Hi James,

swagentd is running with option "-r". I stopped all MeasureWare
related processes:
/sbin/init.d/mwa stop
midaemon -T
ttd -k
opcagt -kill
and started swinstall with option you gave me! The result is the same.

Troy.
Troyan Krastev
Regular Advisor

Re: swinstall problem

Hi Dave,

Thanks, but it doesn't help either!

Troy.
David Navarro
Respected Contributor

Re: swinstall problem

Witch product are you trying to install? HP product / Patches ?
Troyan Krastev
Regular Advisor

Re: swinstall problem

Hi Dave,

The product is EMCPowerPath.

Troy.
Carsten Krege
Honored Contributor

Re: swinstall problem

The recommendations so far would also been my first guess. :(

Some questions:

- Do you use a special Software Distributor (SD) software (Openview Software Distributor or the one provided with Service Control Manager software)?
- Do you have a patch for the normal SD installed? The last one for 11.00 is: PHCO_23966.

Make sure you didn't install a patch for the normal SD, if you use a special version.
If you don't use a special SD, install the latest patch.

You might want to enable debugging to get more logs?

# export SDU_DEBUG=1
# swagentd -r
# swinstall ....

logs go to stdout and to /var/adm/sw/*.log

To disable debug

# unset SDU_DEBUG
# swagentd -r

Carsten
-------------------------------------------------------------------------------------------------
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG
MANOJ SRIVASTAVA
Honored Contributor

Re: swinstall problem

Hi Troyan

Are you using some fibres in the machine for SAN backups or are they connected to Brocade switch . In that case please disconnect the cable or recycle the power sequence after the server is on.

Manoj Srivastava
Carsten Krege
Honored Contributor

Re: swinstall problem

I crawled through some data and found that there were at least 2 cases addressed to HP where EMC Powerpath failed to install with swinstall.

The issues were not properly documented, but it appears that there were problems with the EMC Powerpath installation scripts.

Without blaming EMC at this point (the documentation I found is really missing too much), I suggest to contact EMC whether they know this issue.

I would also try the following:

1) copy the EMC s/w to a local depot on the server (e.g. /var/spool/sw)
2) find the postinstall script (should be in /var/spool/sw/catalog//pfiles) in this local depot and check it out. Does it exist? Does it perform valid steps?

Carsten
-------------------------------------------------------------------------------------------------
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG
Troyan Krastev
Regular Advisor

Re: swinstall problem

Hi Carsten,
I attache *.log files from 3 installation sessions ( from CD and from local depot directory). It seems (the end of swagent.log) I get the error before running the config script. I attache one more file with SD versions,
this is standard distributor that comes with HP-UX11.0. I will try the DEBUG option you gave me.

Hi Manoj,
I really use fibres to connect to the EMC but the problem is in installation
it self. I called HP and they know about the problem, but no solution yet.

Troy.
Deshpande Prashant
Honored Contributor
Solution

Re: swinstall problem

HI
I have faced the same problem with same EMC power path software.
Though EMC says it's fixed in ver 2.0 it still occurs
Here is solution to this.
Copy the powerpath software to some area on your disk .

Fix:PowerPath 2.0 can be installed by editing install scripts in the PowerPath 2.0 package:
The install scripts are located in PowerPath common directories. The scripts of concern are the preinstall scripts at:
EMCPower.HP.2.0.0_b094/catalog/EMCpower/PowerPath_common
EMCPower.HP.2.0.0_b094/catalog/EMCpower.2/PowerPath_common
EMCPower.HP.2.0.0_b094/catalog/EMCpower.3/PowerPath_common
Comment-out the following lines in all instances of the preinstall scripts:

???'swmodify -u EMCpowerpatch'
??-- and --
???'swmodify -u EMCpower'

-----------
The above lines are more than one place in same script, comment them all.
It worked for me.
Thanks.
Prashant.

Take it as it comes.
Troyan Krastev
Regular Advisor

Re: swinstall problem

Thanks all,

Now my box is rebooting :-).
I learn a lot for SW-DIST from your responds.

Thanks again,
Troy.
Carsten Krege
Honored Contributor

Re: swinstall problem

Deshpande, thx for the clarification. I updated our internal databases with this information.

Carsten
-------------------------------------------------------------------------------------------------
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG