Inventory Export Scripts; Using The Inventory Export Scripts - Extreme Networks EPICenter Guide Manual

Concepts and solutions guide
Hide thumbs Also See for EPICenter Guide:
Table of Contents

Advertisement

• To manually update the configurations of two devices (10.205.0.91 and 10.205.0.93), enter the
command:
devcli sync -u admin -a 10.205.0.91 -a 10.205.0.93

Inventory Export Scripts

There are three scripts you can run to export information about the devices or occupied slots known to the
EPICenter inventory. The scripts let you export information on devices known to a single EPICenter
installation, on slots known to a single EPICenter installation, or on devices known to multiple EPICenter
servers. The information will be output in comma-separated (CSV) format suitable for importing into a
spreadsheet.
• For a device report, the information reported includes the device name and type, IP address, location,
serial and board numbers. If you use the Distributed server version of this report, the name of the
EPICenter server that manages the device will also be included.
• For a slot report, it includes the device name and IP Address, slot number, slot name and slot type, and
the serial number of the blade in the slot.

Using the Inventory Export Scripts

The three scripts are located in the EPICenter
directory (by default
/opt/extreme/epc5_0
directory in order to run these scripts.
There are three inventory export scripts you can use:
inv.bat <options>
EPICenter database.
To export device information to file
cd "\Program Files\Extreme Networks\EPICenter 5.0\user\scripts\bin"
inv.bat -o devinfo.csv
Under Solaris, enter the command:
cd /opt/extreme/epc5_0/user/scripts/bin
inv.sh -o devinfo.csv
slots.bat <options>
EPICenter database.
To run the command as user "user1," and export slot information to file
Windows, enter the command:
cd "\Program Files\Extreme Networks\EPICenter 5.0\user\scripts\bin"
slots.bat -u user1 -o slotinfo.csv
Under Solaris, enter the command:
cd /opt/extreme/epc5_0/user/scripts/bin
slots.sh -u user1 -o slotinfo.csv
msinv.bat <options>
the databases of multiple EPICenter servers. You must provide a list of EPICenter servers in a file.
To export device information from the databases of EPICenter servers listed in file servers.txt (in the
scripts\config
EPICenter Concepts and Solutions Guide
c:\Program Files\Extreme Networks\EPICenter 5.0
under Solaris). You must have the
(Windows), or
inv.sh <options>
devinfo.csv
(Windows), or
slots.sh <options>
(Windows), or
msinv.sh <options>
directory) to file
alldevinfo.csv
directory under the EPICenter install
user\scripts\bin
user\scripts\bin
(Solaris) exports device information from the
under Windows, enter the command:
(Solaris) exports slot information from the
(Solaris) exports device information from
, without prompting for a password under
Inventory Export Scripts
under Windows, or
directory as your current
under
slotinfo.csv
183

Advertisement

Table of Contents
loading

This manual is also suitable for:

Epicenter 5.0

Table of Contents