Operating System - HP-UX
1827817 Members
1742 Online
109969 Solutions
New Discussion

Deploy package in many servers

 
Ariel M. Beliera
New Member

Deploy package in many servers

I need to deploy a depot package in many servers(HP-UX Secure Shell), which is the best way to that?

I think of using the @ flag in swinstall, is that the best choice?

thanks in advance,
Ariel
5 REPLIES 5
Jeff_Traigle
Honored Contributor

Re: Deploy package in many servers

With swinstall, you must execute the installation from each individual system. If you have a depot server, the syntax would be:

swinstall -s depotsrv:/depot/path T1471AA

There's a free product called Server Control Manager (although the way HP loves changing names of products, it may be known as something else now) available at http://software.hp.com/ that allows you to push installations from a central server (among other things), but I've not used it.
--
Jeff Traigle
Jaime Bolanos Rojas.
Honored Contributor

Re: Deploy package in many servers

Ariel,

This is what the hp document says:

"Can I use a Secure Shell connection to swinstall (SD-UX) to a system in a secure way when the two systems are separated by a firewall? HP-UX Secure Shell handles simple connection tunneling. SD-UX uses more than one connection. SD-UX checks to see the system it is running on and the system you are trying to connect to. It can use UDP, which HP-UX Secure Shell does not support. Use a depot file to secure the communication. Use swpackage to create a depot file. Use sftp or scp to copy the depot file to the local machine and then use swinstall to install the depot file. This procedure ensures that the network traffic is secure. However, you must get the correct depot file yourself, instead of letting SD choose one that is appropriate for your OS. "

http://docs.hp.com/en/T1471-90015/ch01s16.html

Regards,

Jaime
Work hard when the need comes out.
Torsten.
Acclaimed Contributor

Re: Deploy package in many servers

The "@" is the right choice. Just swcopy your depot to a system A. Now you can issue swinstall to install the depot from system A to client system B and C while you are on system D.
See man swinstall for details.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Greg Vaidman
Respected Contributor

Re: Deploy package in many servers

Unfortunately, most of the above replies are either inaccurate or incomplete...

On each server that you want to push software TO, execute the command "/usr/lib/sw/mx/setaccess " where is the server you will be running the swinstall from, usually the server with the depot/packages you are deploying. This is a prerequisite to be able to push software, as you do not have ACL permissions otherwise. You could also do this with multiple swacl commands, but the setaccess does everything for you. You only have to do this once per client, and then you can push as many packages as you want in the future.

Once ACLs on each client are configured, you can execute "swinstall -s @ client1 client2 client3" from the host you specified above, to deploy packages to multiple clients.

HP's documentation on SD is pretty good, you should take a look: http://docs.hp.com/en/SD/infolib.html
Ariel M. Beliera
New Member

Re: Deploy package in many servers

I've solved my issue using the @ command, and -s depot flag.