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

