1820475 Members
3005 Online
109624 Solutions
New Discussion юеВ

mass install/configure

 
Mihai Matei
Advisor

mass install/configure


I want to be able to install/configure my program on multiple hosts. There is one config file with customer-specific information for each customer site.

the steps to install on multiple hosts:

1. swinstall -s @ hostA hostB hostC

2. edit + copy the site-specific config file on all hosts

3. swconfig @ hostA hostB hostC

My question is, is there a way of passing the config file to SD, to replace step 2 above?

Thanks
2 REPLIES 2
Jeff_Traigle
Honored Contributor

Re: mass install/configure

You can include a configure script in the SD package to do this. (I've included templates with common stuff and dummy values for things that will be replaced with system specific stuff... then include sed statement to make the replacements in the configure script.) If defined in the psf file used to create the package, swinstall will run automatically. See Software Distributor Administration Guide on http://docs.hp.com/ for detailed information.
--
Jeff Traigle
Mihai Matei
Advisor

Re: mass install/configure

The problem is that the config file contains customer-specific information, so it has to be edited, I can't use sed or other tools to automate the process.

I want the config file to be edited once per site, and then passed somehow on each machine, where the configure script can perform other operations.

Can I get this copying automated in SD, or does it have to be done manually.