Operating System - HP-UX
1833873 Members
1635 Online
110063 Solutions
New Discussion

Install a sw with swinstall on multiple servers with one command

 
SOLVED
Go to solution
Kasper_USB
Frequent Advisor

Install a sw with swinstall on multiple servers with one command

I'am searching a possibility to install a .depot on multiple servers with one command and without to use the installation gui from swinstall ?
3 REPLIES 3
Luk Vandenbussche
Honored Contributor
Solution

Re: Install a sw with swinstall on multiple servers with one command

This can be done through HP Systems Insight Manager

http://h18013.www1.hp.com/products/servers/management/hpsim/index.html?jumpid=go/hpsim

But you need to configure / install this on all your servers first

Re: Install a sw with swinstall on multiple servers with one command

Here's an example from an older post of mine:

Let's assume you have your software called foo in a sd-ux depot called /tmp/bar.depot on nodeA and you want to install it to nodeB nodeC and nodeD

So first you need to make sure that nodes B, C and D trust nodeA for installtions so you need to run the following on each:

/usr/lib/sw/mx/setaccess nodeA

Now we should be able to run the following in nodeA

swinstall -s nodeA:/tmp/bar.depot foo @ nodeB nodeC nodeD

And that should install the software foo from the depot /tmp/bar.depot on nodeA onto the other 3 nodes.

Of course there are lots of extra variables that can come into play when installing software such as whether there is sufficient space, whether there are dependencies, whethere they require a reboot or not so all the other rules about runnning in preview mode first etc. still apply

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Kasper_USB
Frequent Advisor

Re: Install a sw with swinstall on multiple servers with one command

Dear Duncan

Your solution was the right one for me.
Runs good.

Thank you
Olaf