Re: upgreid agentov

From: Alex Kirhenshtein <alk_at_DOMAIN_REMOVED>
Date: Tue, 08 Feb 2005 14:28:50 +0200

package means file which will be transfered to remote agent and executed
there.

how to made a package (one of many solutions)

$ cd
$ wget netxms.org/download/netxms-0.1.13.tar.gz
$ tar xvf netxms-0.1.13.tar.gz
$ mkdir inst
$ cp netxms-0.1.13.tar.gz inst/
$ cp netxms-0.1.13/contrib/installAgent.sh inst/

nb! installAgent.sh is an example, should work but doublecheck it

$ tar zcf package.tar.gz inst
$ cd netxms-0.1.13/tools
$ ./sharIt ~/inst.tar.gz inst/installAgent.sh inst.sh

first argument -- input archive
second -- relative (to archive root) path to upgrade script
last -- resulting shell script with embeded archive

resulting inst.sh can be used as package for "nxupload -u"

Viktorija Almazova wrote:
> shtobi proizvesti upgreid agentov ispolzujietsa nxupload -u <host> <package_file>
> v dannom sluchajie <package_file> eto kotorij imenno package? vedj ne sam tar.gz?
>
> spasibo
>
>
> viktorija

-- 
Alexander Kirhenshtein
C.T.Co
Cellular: +371-9145688
Received on Tue Feb 08 2005 - 14:28:50 EET

This archive was generated by hypermail 2.2.0 : Mon Aug 01 2005 - 00:43:30 EEST