Imaging:virtualPACSInstallation
From CVRG Wiki
Software Technologies and Downloads
Prerequisites for virtualPACS on a Windows machine (in order of installation):
| Technology | Version | Documentation | Download |
|---|---|---|---|
| Java SE | 1.5.0_16 | Java SE 5 Documentation | http://java.sun.com/javase/downloads/index.jsp |
| caGrid | 1.2 | caGrid Wiki | caGrid-installer-1.2.zip |
| TortoiseSVN for Windows | 1.5.3 | TortoiseSVN Documentation | TortoiseSVN Installer |
- *NOTE: You need to have rights to install tools on your Windows machine to install the Prerequisites
- Install Java
- Set the JAVA_HOME in the system environment to match the install location (e.g. C:\Progra~1\Java\jdk1.5.0_16)
- Install caGrid 1.2
- Unzip the installer
- Double-click on the caGrid-installer-1.2.jar file
- Uncheck install caGrid Services
- Set the install location for each piece (i.e. Ant, Globus and caGrid) to C:\
- Follow the instructions on the last installer window
- Create a system environment variable for ANT_HOME
- Set it to C:\apache-ant-1.6.5
- Create a system environment variable for GLOBUS_LOCATION
- Set it to C:\ws-core-4.0.3
- Install Subversion tool
- *NOTE: TortoiseSVN integrates itself with Windows Explorer
- You will have to reboot the computer to get TortoiseSVN to work properly
Installation of virtualPACS on a Windows machine:
- Obtain the trunk folder for IVIM from the OSU subversion repository:
- Right-click on the Desktop and select SVN Checkout
- Enter https://project.bmi.ohio-state.edu/svn/ivi/trunk in the URL of the Repository field
- Enter c:\virtualPACS in the Checkout directory field
- Click OK
- Click "Yes" to make the C:\virtualPACS directory on your machine
- Click "Accept permanently" on the prompt about validating the server certificate
- At the prompt for the username and password, enter "anonymous" and your e-mail address
- Click OK
- Copy ivy-2.0.0-beta2.jar from C:\virtualPACS\antfiles\ivy\lib to the Apache Ant library folder (e.g. C:\apache-ant-1.6.5\lib)
- Go to Start -> Run
- Enter cmd and click OK
- At the command prompt, type "set CAGRID_LOCATION=C:\caGrid" and hit Enter
- Then type "cd C:\virtualPACS" and hit Enter
- From within the virtualPACS installation folder, type "%ANT_HOME%\bin\ant clean all" and hit Enter
- Once the ant build finishes, type "cd clients\virtualPACS\resources" and hit Enter
- To edit the virtualPACS.properties file, type "notepad virtualPACS.properties" and hit Enter
- Under the Edit Menu, select Find
- Type "Dicom.RemoteAEs" in the "Find what:" field and click "Find Next" twice
- Click Cancel
- Add the name of the PACS Workstation software (e.g. kpacs) to the end of the Dicom.RemoteAEs line
- Copy the Dicom.RemoteAEs.tony lines to the end of the file, just above the ModelMapPropertiesFile line
- Replace "tony" with the name of the PACS Workstation software (e.g. kpacs) for each of the four lines
- Replace "TONY" in the CalledAETitle line with the name of the PACS Workstation in uppercase (e.g. KPACS)
- Replace "140.254.80.125" in the HostNameOrIPAddress line with the IP address of the computer that the PACS Workstation software is installed on (e.g. 10.162.37.48)
- Replace "4057" in the Port line with the port that the PACS Workstation software utilizes on the computer it is run from (e.g. 4008)
- Repeat the previous six steps for each PACS Workstation that will be connecting to the virtualPACS
- Save and close the file
- To edit the virtualpacs-ui-configuration.xml file, type "notepad virtualpacs-ui-configuration.xml" and hit Enter
- Copy the ividemo.bmi.ohio-state.edu "<value>" line under the data-services <values> and paste it on the next line in the file
- Replace "ividemo.bmi.ohio-state.edu" with "imagingvm.cvrgrid.org" in the copied line
- Delete the other "<value>" lines so that only the new "imagingvm.cvrgrid.org" remains
- Save and close the file
- To go to the virtualPACS client folder, Type "cd .." and hit Enter
- To run the virtualPACS client, type "%ANT_HOME\bin\ant ui" and hit Enter
- *NOTE: This command is case-sensitive
- It also requires that the CAGRID_LOCATION variable (see Step 2) be active and set properly
- From within the virtualPACS User Interface, click on the “Virtual PACS” button in the toolbar.
- In the screen that appears, select “DICOMDataService” from the drop-down menu and click the “Locate” button.
- Highlight the line for the “imagingvm.cvrgrid.org” DICOMDataService and click the “Start” button at the bottom of the screen.
