Installation Guide En

28
LOGINventory5 Installation Guide © 2011 Schmidt’s LOGIN GmbH Munich Phone +49 89 44 888 70 www.LOGINventory.com [email protected]

Transcript of Installation Guide En

Page 1: Installation Guide En

LOGINventory5

Installation Guide

© 2011 Schmidt’s LOGIN GmbH

Munich

Phone +49 89 44 888 70

www.LOGINventory.com

[email protected]

Page 2: Installation Guide En

Page 2 LOGINventory5 Installation Guide © 2011 LOGIN

Table of Content

1 System Requirements .................................................................................................. 3 1.1 LOGINventory Management Station ............................................................................................ 3 1.2 Infrastructure ............................................................................................................................... 4 1.3 Minimum Permissions ................................................................................................................. 4 1.4 Configuration .............................................................................................................................. 4

2 Installation .................................................................................................................... 5 2.1 Coexistence with LOGINventory 4.x ............................................................................................ 5 2.2 Installation Process ..................................................................................................................... 5 2.3 Installation Locations ................................................................................................................. 10

3 Uninstalling LOGINventory5 ...................................................................................... 11

4 Database Migration .................................................................................................... 13 4.1 Migration from LOGINventory 4.x .............................................................................................. 13 4.2 Migration from LOGINventory 5.x (including RC1/2) .................................................................. 13

5 What’s new? ............................................................................................................... 16 5.1 Version 5.0................................................................................................................................ 16

New licensing model ................................................................................................................. 16 5.1.1 LOGINsert................................................................................................................................. 16 5.1.2 MMC application ....................................................................................................................... 16 5.1.3 Analyses ................................................................................................................................... 17 5.1.4 LOGINquiry & LOGINfo ............................................................................................................. 17 5.1.5

5.2 Version 5.2................................................................................................................................ 17

6 Known Limitations ..................................................................................................... 18 6.1 Multi Language Support ............................................................................................................ 18 6.2 PowerShell Scripting ................................................................................................................. 18 6.3 Database Support ..................................................................................................................... 18 6.4 Start & Go ................................................................................................................................. 18

7 Using Microsoft SQL Server 2005/2008 Express ...................................................... 19 7.1 Prerequisites ............................................................................................................................. 19 7.2 Installation................................................................................................................................. 19 7.3 Configuration ............................................................................................................................ 19

Enable the TCP/IP protocol using Surface Area Configuration Utility.......................................... 19 7.3.1 Enable TCP/IP protocol in the SQL Server Configuration Utility: ................................................ 20 7.3.2 Make sure the SQL Server Browser is started ........................................................................... 21 7.3.3

8 Moving the database .................................................................................................. 23 8.1 Export of the current LOGINventory Database ........................................................................... 23 8.2 Configure LOGINventory ........................................................................................................... 23 8.3 Import ....................................................................................................................................... 24

9 SNMP ........................................................................................................................... 25 9.1 Using SNMP v3 ......................................................................................................................... 25 9.2 Installation of additional components ......................................................................................... 25 9.3 Device Configuration ................................................................................................................. 26 9.4 Test explicit credentials via Net-SNMP ...................................................................................... 26 9.5 Define default credentials on LOGINventory PC ........................................................................ 26 9.6 Test default credentials ............................................................................................................. 26 9.7 Use SNMP v3 with LOGINventory ............................................................................................. 27

10 Continuative Documentation ..................................................................................... 28

Page 3: Installation Guide En

Page 3 LOGINventory5 Installation Guide © 2011 LOGIN

1 System Requirements

1.1 LOGINventory Management Station

The following minimum requirements must be fulfilled:

Hardware: Vista-compatible PC

1 GHz processor speed

1 GB RAM

1 GB available hard disk space

Operating System: Microsoft Windows XP SP3

Windows Vista SP2

Windows 7

Windows Server 2003 SP2

Windows Server 2008 SP2

Windows Server 2008 R2

Software: Microsoft Management Console 3.0

MS Microsoft Internet Explorer 7.0

MS .NET Framework 2.0

MS Jet 4.0 SP5*

MS Data Access Components 2.5*

Adobe Reader 8 (to display help and documentation)

* included in Windows XP or later

SNMP V3 Support Requires Net-SNMP to be installed on the PC where LOGINfo is executed.

Minimum version supported: 5.1

Current version supported: 5.5

Homepage: http://www.net-snmp.org

PowerShell Scripting Requires PowerShell 2.0 or later to be installed on the PC where LOGINventory Management Console is installed.

Page 4: Installation Guide En

Page 4 LOGINventory5 Installation Guide © 2011 LOGIN

1.2 Infrastructure

The following minimum requirements must be fulfilled:

Database: MS-JET 4

MS SQL Server 2005 / 2008 / R2

MySQL 5.1.32 with ODBC 5.1.6

Oracle 11g Release 1 (11.1)

PostgreSQL 8.3.11 with ODBC 8.04.0200 (Unicode / UTF-8)

Clients: Windows 95, 98, ME, NT4, 2000, 2003, 2008, XP, Vista, Windows7

CPU: x86 or x64 Intel architecture - if using LOGINfo for gathering data.

Any - if gathering data using LOGINquiry.

Protocol: TCP/IP for LOGINquiry (IP-Scanner)

File Service for LOGINfo (Logon Script)

Devices: TCP/IP, SNMP

1.3 Minimum Permissions

Local Admin: Installation

Configuration

Network-Scan (LOGINquiry; LOGINfoR)

LOGINventory Management Console (LMC)

User: LOGINfo

LOGINsert

LOGINquiry

1.4 Configuration

In order to enable easy IP-scanning with LOGINquiry we recommend the following settings:

Windows XP, Server 2003 / R2 :

Firewall: off

Windows Vista, 7, Server 2008 / R2

Firewall: off

User Account Control (UAC): off

Page 5: Installation Guide En

Page 5 LOGINventory5 Installation Guide © 2011 LOGIN

2 Installation

2.1 Coexistence with LOGINventory 4.x

You may install LOGINventory5 on the same machine as LOGINventory 4. Version 5 runs independently from version 4 and won‟t compromise your existing LOGINventory installation.

2.2 Installation Process

1. Log on as a Local Admin and terminate all running applications.

2. Navigate to the folder containing the installation files and start “LOGINventory5-Setup.exe”.

Please do not use the LOGINventory 4 directory to install into. Your existing data and license keys will not be changed during setup.

Only the files in the indicated directory will be updated.

If you use LOGINventory components in other places – e.g. LOGINfo within the LOGON Script – you must update these manually, too.

Page 6: Installation Guide En

Page 6 LOGINventory5 Installation Guide © 2011 LOGIN

3. Accept the terms in the License Agreement by activating the checkbox and press “Next”.

4. In the dialog Choose Components you have the possibility to define the installation type. There are three pre-defined installation packages available:

Full: Complete installation with all features

Viewer only: Reduced installation for user who should not inventory, e.g. only uses queries.

Inventory Components: Reduced installation without Management Console e.g. used on a secondary server who should inventory their subnet.

You have also the possibility to deselect single components, if not needed, by removing the mark in the option box. Of course, you may add components to the packages, if you like.

Confirm your selection with “Next”.

Page 7: Installation Guide En

Page 7 LOGINventory5 Installation Guide © 2011 LOGIN

5. Choose the default installation directory or the one of your choice and continue with “Next”.

6. Choose the DATA directory where LOGINventory5 will store temporary files and press “Next”.

Page 8: Installation Guide En

Page 8 LOGINventory5 Installation Guide © 2011 LOGIN

7. Choose a Start Menu Folder, where to store the program linkage and start program installation with “Install”.

8. During installation it will be checked, whether essential system components are available:

Microsoft .NET-Framework 2.0

Microsoft Visual C++ 2008 Redistributable – x86

Microsoft Management Console Version 3.0

If one of these components is missing or didn‟t fulfill the requirements, an automatically download of this component and its installation will be initiated. After all components become up-to-date, installation of LOGINventory5 will continue.

After the installation is completed, you may check the messages about the installed components. To finish installation, press “Next”.

Page 9: Installation Guide En

Page 9 LOGINventory5 Installation Guide © 2011 LOGIN

9. To finish the installation program select the “Finish” button

As soon as the installation is complete you will find the following entries in your Start Menu:

Page 10: Installation Guide En

Page 10 LOGINventory5 Installation Guide © 2011 LOGIN

2.3 Installation Locations

Per default LOGINventory will be installed at these locations:

1. File system:

%Programfiles%\LOGIN\LOGINventory5 (selectable during setup)

≈C:\Program Files\ LOGIN\LOGINventory5

o All binaries

„Common Appdata‟\LOGIN\LOGINventory5

≈ C:\Documents and Settings\All Users\Application Data\LOGIN\LOGINventory5 (on Windows XP)

≈ C:\ProgramData\LOGIN\LOGINventory5 (on Windows 7)

o MDB databases

o Scan range definitions

o LOGs

„Common Documents‟\LOGINventory5 (selectable during Setup)

≈ C:\Documents and Settings\All Users\Documents\LOGINventory5 (on Windows XP)

≈ C:\Users\Public\Documents\LOGINventory5 (on Windows 7)

o DATA directory for .LI5 files

o LOGINfo.ini

o LOGINfo.sam (Examples for LOGINfo.ini)

2. Registry:

HKLM\Software\LOGIN\Licenses

o License data

HKLM\Software\LOGIN\LOGINventory

o Machine settings

HKCU\Software\LOGIN\LOGINventory

o User settings

Page 11: Installation Guide En

Page 11 LOGINventory5 Installation Guide © 2011 LOGIN

3 Uninstalling LOGINventory5

For uninstalling LOGINventory5 you may

choose in the start menu the entry LOGINventory5 Uninstall LOGINventory5

or

select in the software management the program package LOGINventory5

At startup you can decide, whether you

only want to uninstall all programs of LOGINventory5

uninstall the complete LOGINventory5 software and its data

For the first case, select “Yes”-, for the second the “No”-button

If you only want to remove the programs (e.g. prior to a installation of a new version) these data will remain at the system:

License information

DATA directory (including LOG files)

Settings

LOGINquiry scan stores (including credentials)

LOGINfo.ini file

MDB database

Page 12: Installation Guide En

Page 12 LOGINventory5 Installation Guide © 2011 LOGIN

After you choose the uninstall mode, you see the Uninstall LOGINventory5 start dialog

Select “Uninstall” button to start removing the components.

At the end of the uninstall process, you get an overview about those uninstalled components.

In case you defined some tasks in the „Task Scheduler Library“ for start-up of LOGINquiry or LOGINsert, these tasks remain unchanged after uninstalling LOGINventory5!

Page 13: Installation Guide En

Page 13 LOGINventory5 Installation Guide © 2011 LOGIN

4 Database Migration

If you had already installed a previous LOGINventory version, you might wish to use your existing LOGINventory database with the current version, but before you are able to connect you have to migrate your database first.

If you try to connect with LOGINventory5 to a database created with a previous version, you will see a similar message:

4.1 Migration from LOGINventory 4.x

Please make sure, you are already running LOGINventory version 4.5.7.

If you are using a previous version, please update to version 4.5.7 first. This version is available at: http://www.loginventory.com/download (folder “Archive”).

The migration process will update your existing database in place to the actual version by preserving all data and converting all entries in the „Analyze‟ node and the „Software packages‟ node.

Continue with chapter 4.2 Step 1.

4.2 Migration from LOGINventory 5.x (including RC1/2)

Step 1: Install latest LOGINventory5 version (see 2 Installation)

Step 2: Make sure you have your LOGINventory5 license installed. If in doubt, start program „LOGINventory Licenses‟ from Start Menu.

Step 3: Download and install the “LOGINventory5 Migration Wizard” from http://www.loginventory.com/download

For the database migration you have to install LOGINventory

version 4 as well as LOGINventory5 on the same machine.

Page 14: Installation Guide En

Page 14 LOGINventory5 Installation Guide © 2011 LOGIN

Step 4: Run the migration wizard from “Start Menu” / “Programs” / LOGINventory5 / Tools‟ and choose either to migrate your LOGINventory 4 or LOGINventory5 database.

Step 5: The migration wizard may issue a license voucher for free additional licenses because of the changed licensing model.

Press „Show voucher‟ to save your voucher as .PDF file.

Page 15: Installation Guide En

Page 15 LOGINventory5 Installation Guide © 2011 LOGIN

Step 6: „Start Backup‟ of your existing database – this invokes the database export feature from LOGINventory Configuration.

Step 7: Now the migration can be executed: Press „Start migration‟.

After the migration has started you cannot use your database any longer with an older LOGINventory version. When it has finished you can start using LOGINventory5 with your database.

Page 16: Installation Guide En

Page 16 LOGINventory5 Installation Guide © 2011 LOGIN

5 What’s new?

The design goal was an improved support for the needs of companies with several sites, domains and administration teams by implementing access control, hierarchical filters, re-usable standard nodes, enhanced license management, more flexible reporting and better performance.

5.1 Version 5.0

New licensing model 5.1.1

Simplified licensing per asset: no more diversification of computers and devices.

Only successfully inventoried assets consume a license.

Assets within the Recycle Bin do not need a license any longer.

LOGINsert 5.1.2

Since the new license model counts no licenses for faulty assets it makes sense to insert those assets in the database.

Therefore, during installation the option “Insert erroneous scans” will be activated by default.

MMC application 5.1.3

The new graphical LOGINventory Dashboard, accessible via the LOGINventory 5 node, offers a quick overview of inventory data and latest entries of the new Eventlog node

New Eventlog node keeps you informed about latest events within the entire program package

Clearly represented network by new Domain node

New Software License Management node allows a much more sophisticated management of your software licenses than before

New Faulty node to maintain the unsuccessful scans and/or inserts

Now you can choose between the traditional list view and the new detail page view

Settings: This function is now integrated into the property page of the LOGINventory5 root node

In the Switch Table node you can now jump to the connected asset with a double-click

Reporting (now called Printing) allows much more file formats to be written and to place a custom logo (or text) onto print out.

The detection of computers where certain software packages are not installed is now implemented as a standard functionality. Double-click on a package in the software node and observe the column „Installations‟ in order to check where the software is not installed. The filter list will assist you doing this.

Simultaneous editing of Manual Properties and Journal Entries is now possible for multiple assets and even in query results.

Page 17: Installation Guide En

Page 17 LOGINventory5 Installation Guide © 2011 LOGIN

Analyses 5.1.4

Analyses by hierarchical filters. Filter conditions from Analyze nodes will be passed on to sub-nodes. This feature is very helpful for organizations with dispersed sites and/or domains.

Access Control: Analyze nodes can be assigned to different users or user groups as „Root node‟ for all queries. This enables i.e. a branch site to gain exclusive access to only its own inventory data (right mouse-click on the LOGINventory5 node -> Properties -> Access Control).

Queries on Journal entries are possible now, too.

Analyze nodes can be displayed with pre-defined node types like Assets, Hardware, Software, etc.

The new Query designer allows a flexible and unrestricted configuration of query conditions.

Unified query types ensure the intuitive use of analyses.

The filter bar allows filtering of value groups within result lists.

LOGINquiry & LOGINfo 5.1.5

Redesigned GUI

Accelerated query performance

Integrated bug reporting allows the detection and tracing of scan errors.

Enhanced inventory:

o SNMP: Printer-MIB for network printers

o SNMP: Entity-MIB for several switches and routers

o SNMP: Now reads Cisco Discovery Protocol (CDP) to detect connected switches or routers

o Windows: Enumeration of local groups like administrators etc.

Specify !SET ALLGROUPS=1 in LOGINfo.ini to read more than

local Administrators only

o Windows: Enumeration of Remote Desktop Users

o Windows: Detect the SP and edition of Microsoft SQL Server

5.2 Version 5.2

tbd

Page 18: Installation Guide En

Page 18 LOGINventory5 Installation Guide © 2011 LOGIN

6 Known Limitations

6.1 Multi Language Support

Language support for German has been released with version 5.1; other languages such as French and Spanish may follow later on.

6.2 PowerShell Scripting

This feature is only available in a basic version. You may download from homepage

http://www.loginventory.com/download

6.3 Database Support

The following minimum databases versions are fully supported in English and German editions only. Other database versions may work but have not been tested:

Microsoft Access (JET 4.0)

Microsoft SQL Server 2005

Microsoft SQL Server 2008 / R2

MySQL 5.1.32 with ODBC 5.1.6

Oracle 11g Release 1 (11.1)

PostgreSQL 8.3.11 with ODBC 8.04.0200 (Unicode / UTF-8)

6.4 Start & Go

You may start MMC using the option “/q <pcuid>”, to set focus directly onto asset <pcuid>.

Example:

MMC “c:\Program Files\LOGIN\LOGINventory5\LOGINventory5.msc” /q:MyPcName

Page 19: Installation Guide En

Page 19 LOGINventory5 Installation Guide © 2011 LOGIN

7 Using Microsoft SQL Server 2005/2008 Express

7.1 Prerequisites

Microsoft SQL Express installation files

Local Administrator privileges.

7.2 Installation

There is no need to install SQL Express on the same PC as LOGINventory. You probably will install the database on a server for easy access from different PCs.

Start SQL Express „SETUP.EXE‟. It will run without a configuration requirement. If prompted, reboot the PC or server.

7.3 Configuration

You will have to execute some additional configuration steps:

If you installed SQL Express on a different server than the one LOGINventory is installed

If you want to connect to it over the network from other PCs, too.

Enable the TCP/IP protocol using Surface Area Configuration Utility. 7.3.1

Note:

In SQL Server 2008 Express, there isn‟t SQL Server Surface Area Configuration so you have to configure from SQL Server Configuration Manager instead.

Page 20: Installation Guide En

Page 20 LOGINventory5 Installation Guide © 2011 LOGIN

Enable TCP/IP protocol in the SQL Server Configuration Utility: 7.3.2

Page 21: Installation Guide En

Page 21 LOGINventory5 Installation Guide © 2011 LOGIN

Make sure the SQL Server Browser is started 7.3.3

Page 22: Installation Guide En

Page 22 LOGINventory5 Installation Guide © 2011 LOGIN

Page 23: Installation Guide En

Page 23 LOGINventory5 Installation Guide © 2011 LOGIN

8 Moving the database

In this chapter you can read how to switch to MS-SQL Express; switching to other supported databases is quite similar.

8.1 Export of the current LOGINventory Database

Select „Configuration‟ from the LOGINventory program group. Choose „Export Database‟ and create an export file:

8.2 Configure LOGINventory

Select „Configuration‟ from the LOGINventory program group. Click „Select Database‟.

Choose the Database Type „Microsoft SQL Server 2005/2008‟

Fill in the name of your server followed by a backslash and your instance name (which is by default SQLEXPRESS on MS SQL Server Express).

Enter a meaning full name in the Database field.

You have to select „Use NT Security‟ in order to communicate with SQL Express.

Page 24: Installation Guide En

Page 24 LOGINventory5 Installation Guide © 2011 LOGIN

All necessary structures and tables will be created automatically by LOGINventory5.

In all of the following dialogs you should click „OK‟

8.3 Import

Select „Configuration‟ from the LOGINventory program group. Choose „Import Database‟ and select the previously created export file:

You‟ve got it – LOGINventory5 will now use the SQL Express database.

Page 25: Installation Guide En

Page 25 LOGINventory5 Installation Guide © 2011 LOGIN

9 SNMP

9.1 Using SNMP v3

Many organizations want to avoid the usage of un-encrypted and clear text SNMP v1 or v2c.

Since version 5.0, LOGINventory is also able to use encrypted SNMP v3.

However, you will need to install additional software, because of the Microsoft Windows SNMP API only supports v1 and v2c.

9.2 Installation of additional components

Log on as local administrator on your LOGINventory PC.

Download and install the following with default configuration in this order:

1. Visual C++ 2008 Redistributables from Microsoft download center: http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF

2. OpenSSL from: http://www.slproweb.com/products/Win32OpenSSL.html

3. Net-SNMP from: http://www.net-snmp.org/download.html

4. ActivePearl (optional – if scripting is desired) http://www.activestate.com/activeperl/downloads

When you run the Net-SNMP setup, you must select „Encryption support (OpenSSL)‟ in addition to the standard selection!

Note:

There are different downloads available depending on your platform (x86, AMD64).

Page 26: Installation Guide En

Page 26 LOGINventory5 Installation Guide © 2011 LOGIN

9.3 Device Configuration

As an example we configure a SNMP v3 device (e.g. a switch) to

Security level: “auth/nopriv”

Security name: “v3user”

Passphrase: “v3password”

IP address: 192.168.2.1

9.4 Test explicit credentials via Net-SNMP

Open Command-Prompt and enter:

snmpwalk -v3 -u v3user -l authnopriv -A v3password 192.168.2.1

Check the output for any errors.

Caution:

Net-SNMP commands are case-sensitive!

9.5 Define default credentials on LOGINventory PC

Open the following file with a text editor:

“C:\usr\etc\snmp\snmp.conf”

Usually there are some existing lines even after a fresh install:

mibdirs C:/usr/share/snmp/mibs

persistentDir C:/usr/snmp/persist

tempFilePattern C:/usr/temp/snmpdXXXXXX

Now enter the following lines and save the file:

# LOGINventory: Default credentials sample

defVersion 3

defSecurityLevel authNoPriv

defSecurityName v3user

defAuthType MD5

defAuthPassphrase v3password

More help is available at:

Start Menu / All Programs / Net-SNMP / Help / Configuration / snmp.conf

9.6 Test default credentials

Open Command-Prompt and enter:

snmpwalk 192.168.2.1

Check the output for any errors.

Page 27: Installation Guide En

Page 27 LOGINventory5 Installation Guide © 2011 LOGIN

9.7 Use SNMP v3 with LOGINventory

Open Command-Prompt and navigate to the LOGINventory program directory, e.g.

CD /D C:\Program Files\LOGIN\LOGINventory5

Start LOGINfoR and specify using of default Net-SNMP credentials only

LOGINforR !192.168.2.1 C:\temp /SNMP /NETSNMP /NETSNMPCONF

Start LOGINfoR and specify explicit credentials (without line brake):

LOGINfoR !192.168.2.1 C:\temp /SNMP /NETSNMP /SNMPUSER v3user

/SNMPAUTH "MD5 v3password"

In this example the resulting .LI5 file will be placed in C:\temp. You can open this file with a text editor and look near the end of the file for a line containing SCANRESULT.

If this is 1 or 2, everything is OK and you can specify scan range properties in LOGINquiry accordingly:

If you select the option “NetSnmpConf” the default credentials from snmp.conf will be used.

When you start a scan via LOGINquiry, the resulting .LI5 file is placed in the standard DATA directory and LOGINsert is started afterwards.

Page 28: Installation Guide En

Page 28 LOGINventory5 Installation Guide © 2011 LOGIN

10 Continuative Documentation

Detailed information about configuring the firewall (Windows XP, Windows Vista, Windows 7) and other FAQs you‟ll find in our

LOGINventory5 Trouble Shooting Guide (see www.loginter.net/files/TSG_en.pdf).

The description about all LOGINventory5 components and features you‟ll get from

LOGINventory5 Manual (see www.loginter.net/files/LOGINventory5_en.pdf).

The latest information about the actual release you‟ll find in our

Developer Blog (see www.loginventory.com/developerblog).

If you get some problems you may find a solution also at our

LOGINventory Forum (see www.loginternet.de/forum).