Difference between revisions of "Installing Vital Signs on Windows"

From Vital Soft Wiki
Jump to: navigation, search
>Jeremyb
>Jeremyb
Line 28: Line 28:
 
Rename the CU1 folder to your Credit Union acronym
 
Rename the CU1 folder to your Credit Union acronym
  
==Configuring Vital Signs==
 
  
'''Vital Signs Listener'''
+
==Configuring Vital Signs Listener==
  
:Browse to vitalsigns\YOURCU\data\config
+
Browse to vitalsigns\YOURCU\data\config
  
:Copy vsigns_srv-samp.ini to vsigns_srv.ini
+
Copy vsigns_srv-samp.ini to vsigns_srv.ini
  
:Copy start_vsigns_srv-samp.vbs to start_vsigns_srv.vbs
+
Copy start_vsigns_srv-samp.vbs to start_vsigns_srv.vbs
  
:Edit vsigns_srv.ini and modify the VS_PATH to your vitalsigns\YOURCU path
+
Edit vsigns_srv.ini and modify the VS_PATH to your vitalsigns\YOURCU path
  
:''Example vsigns_srv.ini''
+
''Example vsigns_srv.ini''
  
 
   VS_PATH      "E:\vitalsigns\VSCU"
 
   VS_PATH      "E:\vitalsigns\VSCU"
Line 53: Line 52:
  
  
:Edit start_vsigns_srv.vbs and change the paths appropriately
+
Edit start_vsigns_srv.vbs and change the paths appropriately
  
:''Example start_vsigns_srv.vbs''
+
''Example start_vsigns_srv.vbs''
  
 
   Dim oShell
 
   Dim oShell
Line 63: Line 62:
  
  
:Double click start_vsigns_srv.vbs to start the listener in the foreground for verification
+
Double click start_vsigns_srv.vbs to start the listener in the foreground for verification
  
:There should be just a underscore with a black background if this was successful
+
There should be just a underscore with a black background if this was successful
 +
Close out of the Command prompt window if it was successful
  
 
[[File:Vitalsigns-listener-foreground.png]]
 
[[File:Vitalsigns-listener-foreground.png]]
  
  
'''Setup Task to start Listener on Startup'''
+
==Setup Listener to start at boot==
  
:Login as the vitalsigns user
+
Login as the vitalsigns user
  
:Open taskschd.msc from the run line
+
Open taskschd.msc
  
 +
Right click Task Scheduler Library and click New Folder
 +
 +
Name the Folder Vital Signs
  
 
[[File:Vitalsigns-listener-scheduled-task1.png]]
 
[[File:Vitalsigns-listener-scheduled-task1.png]]
 +
 +
 +
Right click the Vital Signs folder and select Create Basic Task
  
 
[[File:Vitalsigns-listener-scheduled-task2.png]]
 
[[File:Vitalsigns-listener-scheduled-task2.png]]
 +
 +
 +
Enter '''Vital Signs Listener''' for the name and click Next
  
 
[[File:Vitalsigns-listener-scheduled-task3.png]]
 
[[File:Vitalsigns-listener-scheduled-task3.png]]
 +
 +
 +
Select '''When the computer starts''' and click Next
  
 
[[File:Vitalsigns-listener-scheduled-task4.png]]
 
[[File:Vitalsigns-listener-scheduled-task4.png]]
 +
 +
 +
Select '''Start a program''' and click Next
  
 
[[File:Vitalsigns-listener-scheduled-task5.png]]
 
[[File:Vitalsigns-listener-scheduled-task5.png]]
 +
 +
 +
Browse to '''start_visigns_srv.vbs''' and click Next
  
 
[[File:Vitalsigns-listener-scheduled-task6.png]]
 
[[File:Vitalsigns-listener-scheduled-task6.png]]
 +
 +
 +
Check the '''Open the Properties dialog...''' and click Finish
  
 
[[File:Vitalsigns-listener-scheduled-task7.png]]
 
[[File:Vitalsigns-listener-scheduled-task7.png]]
 +
 +
 +
Click '''Run whether user is logged on or not''', check '''Run with highest privileges and if you are running 2008 R2 select '''Windows 7, Windows Server 2008 R2''' and click OK
  
 
[[File:Vitalsigns-listener-scheduled-task8.png]]
 
[[File:Vitalsigns-listener-scheduled-task8.png]]
 +
 +
 +
Enter the vitalsigns password and click OK
  
 
[[File:Vitalsigns-listener-scheduled-task9.png]]
 
[[File:Vitalsigns-listener-scheduled-task9.png]]
 +
 +
 +
You should now see the Vital Signs Listener task with a status of Ready
  
 
[[File:Vitalsigns-listener-scheduled-task10.png]]
 
[[File:Vitalsigns-listener-scheduled-task10.png]]
 +
 +
 +
Right click the Task and click '''Run''' to start the listener in the background
 +
 +
[[File:Vitalsigns-listener-scheduled-task11.png]]
 +
 +
 +
Verify the listener is running by opening Task Manager, select Processes, check '''Show processes from all users''' and look for python.exe
 +
 +
[[File:Vitalsigns-listener-scheduled-task12.png]]

Revision as of 23:18, 19 December 2013

Windows Server Prep Checklist

  • Created vitalsigns local or domain administrator user
  • Installed IIS for standard FTP
  • Installed .net framework 4.0


Downloading Vital Signs

Login to the Windows server as vitalsigns

Download Vital Signs 1.5 Stable

Unzip vitalsigns-1.5-stable.zip


Installing Vital Signs

Login to the Windows server as vitalsigns

Create a directory named vitalsigns on the large drive where Vital Signs will be installed

Browse into C:\Users\vitalsigns\Downloads\vitalsigns-1.5-stable\V1.5.27_Nov_13\Windows and copy the CU1 and bin directories into the vitalsigns directory

Rename the CU1 folder to your Credit Union acronym


Configuring Vital Signs Listener

Browse to vitalsigns\YOURCU\data\config

Copy vsigns_srv-samp.ini to vsigns_srv.ini

Copy start_vsigns_srv-samp.vbs to start_vsigns_srv.vbs

Edit vsigns_srv.ini and modify the VS_PATH to your vitalsigns\YOURCU path

Example vsigns_srv.ini

 VS_PATH      "E:\vitalsigns\VSCU"
 VS_PORT      30601
 VS_LOG       "vsigns_srv.log"
 QV_PATH      "c:\program files\qlikview"
 QV_NAME      "qv.exe"
 CLEANUP      "archive"
 LOG_ARCHIVE_DAYS          20
 ASD_ARCHIVE_DAYS          30
 QV_UNICODE   "UTF-8"


Edit start_vsigns_srv.vbs and change the paths appropriately

Example start_vsigns_srv.vbs

 Dim oShell
 Set oShell = CreateObject ("WScript.shell")
 oShell.run "cmd /K C:\Python27\python E:\vitalsigns\bin\vsigns_srv.py E:\vitalsigns\VSCU\data\config\vsigns_srv.ini > E:\vitalsigns\VSCU\data\config\vsigns_srv.log"
 Set oShell = Nothing


Double click start_vsigns_srv.vbs to start the listener in the foreground for verification

There should be just a underscore with a black background if this was successful Close out of the Command prompt window if it was successful

Vitalsigns-listener-foreground.png


Setup Listener to start at boot

Login as the vitalsigns user

Open taskschd.msc

Right click Task Scheduler Library and click New Folder

Name the Folder Vital Signs

Vitalsigns-listener-scheduled-task1.png


Right click the Vital Signs folder and select Create Basic Task

Vitalsigns-listener-scheduled-task2.png


Enter Vital Signs Listener for the name and click Next

Vitalsigns-listener-scheduled-task3.png


Select When the computer starts and click Next

Vitalsigns-listener-scheduled-task4.png


Select Start a program and click Next

Vitalsigns-listener-scheduled-task5.png


Browse to start_visigns_srv.vbs and click Next

Vitalsigns-listener-scheduled-task6.png


Check the Open the Properties dialog... and click Finish

Vitalsigns-listener-scheduled-task7.png


Click Run whether user is logged on or not, check Run with highest privileges and if you are running 2008 R2 select Windows 7, Windows Server 2008 R2 and click OK

Vitalsigns-listener-scheduled-task8.png


Enter the vitalsigns password and click OK

Vitalsigns-listener-scheduled-task9.png


You should now see the Vital Signs Listener task with a status of Ready

Vitalsigns-listener-scheduled-task10.png


Right click the Task and click Run to start the listener in the background

Vitalsigns-listener-scheduled-task11.png


Verify the listener is running by opening Task Manager, select Processes, check Show processes from all users and look for python.exe

Vitalsigns-listener-scheduled-task12.png