4 advanced installation options, Advanced installation options – Eaton Electrical V3 User Manual

Page 42

Advertising
background image


www.eaton.com





Network Shutdown Module V3 – User Manual - 34 003 934 XU / AE

Page 41/65

z

Build a customized package

with specific parameters (ex: The Network Management Card IP address,

the events and actions …).

z

Copy this package to the “target” machine in your chosen directory.

z

(Linux) If necessary execute the command: chmod 755 nsm_linux_xx_3_xx_xx.run

z

To start the installation procedure, run the command:
<Filename> -install -silent

to validate silent mode for Windows.

./<Filename> -install -silent

to validate silent mode for (Linux and Mac

OSX).

Or to provide the card IP address as parameter to the installer run the command:
<Filename> -install -silent

–agentName 192.12.13.14

(Windows)

./<Filename> -install –silent –agentName 192.12.13.14

(Linux and Mac OSX)


Note: for the other options refer to the next paragraph

z

The installed software is automatically started (except on Mandriva 2010 where you have to start mgedae
process). It is possible to

test Network Shutdown Module

.


Example of secured deployment script for Linux:

We use ssh to copy the package on several machines and then execute it.
The script iterates on the machine names.

#!/bin/sh

# Notes :

# - Actions to be performed under root

account

# - The target.list file contains the target machine names (1 per line)

# - All theses machines must accept automatic ssh connection.

# - It must be authorized with a key generation on the master

# (machine that executes the script) using "ssh-keygen -t rsa2",

# - Then copy the file ~/.ssh/id_rsa.pub to the target machines

# - and add its content into the file ~/.ssh/known_hosts, ie

# "cat id_rsa.pub >> ~/.ssh/known_hosts"

for i in `cat target.list`

do

echo "Network Shutdown Module Installation on machine $i"

scp nsmlinuxv3xxx.run $i:/tmp

ssh $i /tmp/nsmlinuxv3xxx.run –install -silent

done

7.5.4 Advanced installation options

z

The installer is started with following default options:
-install -installPath <InstallPath>

By default for Windows <InstallPath> =

"

C:\Program

Files\EATON\NetworkShutdownModule

"

By default for Linux <InstallPath> =

"

/usr/local/EATON/NetworkShutdownModule

"

Advertising