1825759 Members
2169 Online
109687 Solutions
New Discussion

swinstall - without gui

 
fuchs_2
Occasional Contributor

swinstall - without gui

hello!

ich have to install an new software on different nodes und i don´t want to login on every node.

is there a possibility to use swinstall without the gui. (the option -i seems to be default, not as mentioned in the man-page an option parameter).

in the man-page and on the docs-site are commandline-options mentioned (-x), but i don´t understand the doku (which seems to be the plan).

thanks to everyone who can send me a - useful - example for my swinstall problem
4 REPLIES 4
Jdamian
Respected Contributor

Re: swinstall - without gui

You can read the examples in man pages of swinstall. I copied one of them below:

Install the C and Pascal products to a set of remote hosts:

swinstall -s sw_server cc pascal @ hostA hostB hostC


is it what you need ?
Fabio Ettore
Honored Contributor

Re: swinstall - without gui

Hi,

of course you can launch swinstall without GUI by giving all options (with -s for source and with -x for options) on command line.
For examples see man page on section 'EXAMPLES'. Also in man page there are all keywords supported on swinstall command. Just a piece of that:

----------------------------
The following section lists all of the keywords supported by the
swinstall and swcopy commands. If a default value exists, it is listed after the "=".

agent_auto_exit=true
Causes the target agent to automatically exit after
Execute phase, or after a failed Analysis phase. This
is forced to false when the controller is using an an
interactive UI, or when -p (preview) is used. This
enhances network reliability and performance. The
default is true - the target agent automatically exits
when appropriate. If set to false, the target agent
will not exit until the controller ends the session.


----------------------------

I hope this helps you.

Best regards,
Ettore
WISH? IMPROVEMENT!
Fabio Ettore
Honored Contributor

Re: swinstall - without gui

An definitive example about above:

# swinstall -s /tmp/ -x agent_auto_exit=true

and so on with -x about all swinstall options.

Best regards,
Ettore

WISH? IMPROVEMENT!
Hoefnix
Honored Contributor

Re: swinstall - without gui

keep in mind that you have to set swacl to be able to push software from on node to the other without a login.

swacl -l root -M user:root@your_install_host:a
swacl -l host -M user:root@your_install_host:a

hope this will help.

Regards,

Peter