RVY200646 Portable inventory of Non-Windows devices

Portable inventory of Non-Windows devices

This document describes how to set up RayVentory Portable 2.0 on a USB drive in case the target device is not reachable out of the network.

Requirements

  • RayVentory_Portable_2.0.zip Sources
  • USB drive with at least 1GB storage capacity
  • Access to the target system
  • Sudo privileges to execute the inventory

Downloadlocation

FTP Server: file.raynet.de
User: rayventory-kd
Password: QLMwJ2!
File: Toolbox / LocalScan / RayVentory_Portable_2.0.zip

 

 

Preparation

Extract the ZIP archive and copy the contents directly to the “root” level of the USB drive.

In this example the path looks like this:

{USB drive letter}:\RayVentory_Portable_2.0\Non-Windows\

The following files and folders must be present:

folder:

  • Inventory

files:

  • ndtrack.ini
  • ndtrack.sh
  • RunNdTrackLinuxUnix_Local.sh
  • RunNdTrackLinuxUnix_Upload.sh

Create a local inventory 

1. Once the USB drive is connected to the computer, open a Terminal window and navigate to the folder

../RayVentory_Portable_2.0/Non-Windows

2. Set the permission to be executable

sudo chmod +x RunNdTrackLinuxUnix_Local.sh

3. Execute

sudo RunNdTrackLinuxUnix_Local.sh

Wait until the process is finished. The inventory process could take several minutes depending on the system.

4. Copy the newly created .NDI file from following directory

{USB drive letter}:\RayVentory_Portable_2.0\Windows\inventory

to the "Results" folder of RayVentory ScanEngine

%ProgramData%\Raynet\RayVentoryScanEngine\Results


5. RayVentory ScanEngine will upload the .NDI file to the to the RayVentory Server.

 

 

Creating and uploading the inventory

If uploading of the inventory to a server is desired, proceed as follows:

1. Navigate on a Windows system to the folder

{USB drive letter}:\RayVentory_Portable_2.0\Credential Store Writer\

2. Execute

{USB drive letter}:\RayVentory_Portable_2.0\Credential Store Writer\credstoregui.exe

add your credentials for the target system and click „Save“.

The "uploadercreds.dat" file with your credentials will be generated in the folder.

3. Change to the non-Windows system and navigate to the folder

{USB drive letter}:\RayVentory_Portable_2.0\Non-Windows\

4. The folder contains the file

RunNdTrackWindows_Upload.sh

5. Open the file in an editor and change the 'UPLOADURL' to the desired FQDN of the target server.

mceclip1.png

6. Open a Terminal window with and navigate to the folder

../RayVentory_Portable_2.0/Non-Windows

7. Set the permission to be executable

sudo chmod +x RunNdTrackLinuxUnix_Upload.sh

8. Execute

sudo RunNdTrackLinuxUnix_Local.sh

Wait until the process is finished. The inventory process could take several minutes depending on the system. Once the creation of the inventory is finished the upload begins.

  1. Unmount and remove the USB drive, once the inventory and upload are finished.

Result

After the local inventory process is completed, the inventory file (NDI) appears in the subfolder

{USB drive letter}:\RayVentory_Portable_2.0\Non-Windows\inventory

If using scan with upload to server, all .NDI will be copied to the “Incoming” folder below the reporting location “{InstallDrive}\RayVentory\ManageSoftRL”.

Please be aware, that .NDI files should disappear at the server after a while, once they are processed by the inventory import task.

Comments

Powered by Zendesk