Problem using agent-update.bin to roll out SunMC agents

Greetings,

I want to use agent-update.bin to roll out SUNMC agents to solaris 9 and 10 hosts. I use the es-agentupdate.sh tool to create the installation package and the seed file on the SunMC server in /var/opt/SUNWsymon/agentupdate.

I copy the binary /opt/SUNWsymon/base/bin/agent-update.bin to the root on a test server.

I run the following commands - each fails - unable to find the seed file. Can anyone suggest an -f argument which might work as I need the rollout to occur without user intervention to enter secrets.

./agent-update.bin -s oranc1 -r 8080 -p DPI_BasicAgent -f seed-file

or

./agent-update.bin -s oranc1 -r 8080 -p DPI_BasicAgent -f ./seed-file

or

./agent-update.bin -s oranc1 -r 8080 -p DPI_BasicAgent -f /var/opt/SUNWsymon/agentupdate/seed-file

***********************

Standard out from the last of these commands is as follows:

sbin_archive downloaded

SUNWessmu package installed

Running InstallClient : /tmp/agentupdate/DPI_BasicAgent/bin/sparc-sun-solaris/InstallClient -s oranc1 -p 8080 -u DPI_BasicAgent/upgrade-policy_sparc.xml -f /var/opt/SUNWsymon/agentupdate/seed-file

InstallClient started

upgrade policy downloaded

Argument file /var/opt/SUNWsymon/agentupdate/seed-file absent. Exiting...

Error: running InstallClient

Error: running InstallClient with error code 1

ERROR: information for "SUNWescom" was not found

ERROR: information for "SUNWescom" was not found

*************

On the SUNMC server:

root@oranc1# pwd

/var/opt/SUNWsymon/agentupdate

root@oranc1# ls -l

total 6

drwxr-xr-x4 rootroot 512 Feb 5 13:59 DPI_BasicAgent

-rw-1 rootroot 54 Nov 23 13:44 seed-file

drwxr-xr-x4 rootroot1024 Nov 23 12:46 SunMC36_Generic

I have also tried

-r--1 rootroot 54 Nov 23 13:44 seed-file

Thanks in advance for your help

Tony

[1954 byte] By [carterana] at [2007-11-26 17:24:31]
# 1
Correction to initial post:The tool used to create the agent-update package is /opt/SUNWsymon/sbin/es-imagetoolThanksTony
carterana at 2007-7-8 23:52:32 > top of Java-index,Administration Tools,Sun Management Center...
# 2

Hi Tony,

agent-update.bin expects a path to the local seed file... it doesn't get downloaded from the SunMC Server from /var/opt/SUNWsymon/agentupdate. So you have to download the seed file _and_ the file to the machine you're putting an Agent on.

Regards,

Mike.Kirk@HalcyonInc.com

http://www.HalcyonInc.com

Aroneka at 2007-7-8 23:52:32 > top of Java-index,Administration Tools,Sun Management Center...
# 3
Thanks for the tip Mike. When yoiu say "the seed file _and_ the file to the machine you're putting an Agent on" I presume you mean download both the agent-update.bin file and the seed file to the local machine.RegardsTony
carterana at 2007-7-8 23:52:32 > top of Java-index,Administration Tools,Sun Management Center...
# 4

Greetings Mike,

I copied the seed-file from my SUNMC server to the host being updated and put it in the same directory as agent-update.bin. Ran the following:

./agent-update.bin -s oranc1 -r 8080 -p DPI_BasicAgent -s ./seed-file

The result is:

Error: getting sbin_archive

Web server is listening on port 8080 and accessible through a browser. Agent package directory name and seedfile name are OK.

any additonal help appreciated.

Regards

Tony

carterana at 2007-7-8 23:52:32 > top of Java-index,Administration Tools,Sun Management Center...