Difference between revisions of "User talk:Zeno"

From VistApedia
Jump to: navigation, search
(How should my /etc/xinetd.conf file look like?)
(How should my /etc/xinetd.conf file look like?)
Line 143: Line 143:
 
         server          = /home/vista/FOIAVistA/vista
 
         server          = /home/vista/FOIAVistA/vista
 
         #server        = /home/zeno/bhaskar-script  
 
         #server        = /home/zeno/bhaskar-script  
         server_args    = --run /home/vista
+
         server_args    = --run GTMLNX^XWBTCPM
 
  }
 
  }
 
  includedir /etc/xinetd.d
 
  includedir /etc/xinetd.d
  
 
If you are interested in more see the [http://www.macsecurity.org/resources/xinetd/tutorial.shtml xinetd-Turorial] that Marc Aylesworth recommends reading.
 
If you are interested in more see the [http://www.macsecurity.org/resources/xinetd/tutorial.shtml xinetd-Turorial] that Marc Aylesworth recommends reading.

Revision as of 14:35, 3 August 2005

I think WorldVista is great stuff. I'm living in Zurich, Switzerland and would like to adapt this for the Swiss market. At the moment I'm still fighting with the installation. I posted following question to the Mailinglist:

When do I have to run GTM>D ^ZTMGRSET

If you started with OpenVistA SemiVivA, you do not need to set any environment variables to get started, and you do not need to run ^ZTMGRSET - I have already run ^ZTMGRSET when packaging OpenVistA SemiVivA and OpenVistA VivA. I suggest deleting what you have, and starting over. - just install OpenVistA SemiViva as root and then as a normal user execute /usr/local/OpenVistA/vista

^ZTMGRSET's understanding of the behavior of GT.M's $ZROUtines is somewhat simplistic, and you will need to understand more about GT.M's $ZROUtines if you want to run ZTMGRSET in a VivA or SemiVivA environment. It's actually very simple to set up and run it - just 2 shell commands before you invoke mumps -run ^ZTMGRSET - but you should really understand what is going on before you try a command that makes major changes to the VistA setup.

to run the software do /usr/local/OpenVistA/vista --run /home/vista/

Where do I set the Variables, and how do I start Vista with some Variables?

You set the varibales in .bash_profile if you do the manual install
source /usr/local/gtm/gtmprofile
export vista_source=/usr/local/OpenVistA
export vista_home=/home/vista
export gtm_log=$vista_home/log
export gtmgbldir=$vista_home/g/mumps.gld
export gtmroutines="$vista_home/o($vista_home/r)
$vista_source/o($vista_source/r) $gtm_dist"

Watch out for line breaks - there are 6 lines above, one starting with "source" and 5 starting with "export".

If you use the script /usr/local/OpenVistA/vista, you do not need to set any variables.

Did I forget any step? At which step should I start, so I do not get below error?

vista@Minerva ~ $ FOIAVistA/vista --run

GTM>D Q^DI

VA FileMan 22.0

Your Identity(DUZ) is 0(zero). Please identify yourself.

Access Code:

Your Identity(DUZ) is still 0(zero). You need to identify yourself!

New Person?:
You must have a valid DUZ!

Before you do above, try:

GTM>S DUZ=.01

Any hints what would be nice to try as next step?

Your work has only just begun. The configuration is the hard part. May I refer you to the following site to help get you started.

VistA-Office will soon be coming out and the web site that provides vendor support for it, when it really gets up and running should have a lot of configuration information. Configuration information for VistA on Cache/Windows and GTM/Linux is almost identical.

http://www.geocities.com/kdtop3/
http://www.va.gov/vdl

When will the GUI for Linux be coming out?

I am not sure I understand your question because I have to be sure you understand the relationship of the GUI to OpenVistA. The clinicians GUI is CPRS, which runs on Windows and connects to the server whether it the server is running on Cache/Windows, GTM/Linux or on a mainframe.

Medsphere has apparently built a cross platform replacement for CPRS.

Codeweavers has worked on getting CPRS to run on Wine in the past.

VistA-Office currently runs only on Cache/Windows but will be ported to GTM/Linux. It will likely happen within a few weeks of its release.

So hopefully one of those things answers your question.

How do I set the access code? How do I set the user?

You should establish a user for yourself. That user will have an access code and verify code (same as a login and password combo).

So do D ^XUP --> option EVE->user->add user

Then, on the user editing pages, set the access code to your choice of words.

Then, next time you d ^XUP, you can use your new access code.

Setting up the Access Code does not work, I get TERMINAL TYPE NAME

I am be all wet here, but I do not understand how you are getting away with setting your DUZ as .01. These, I believe, are IENs or Internal Entry Numbers and are whole numbers. Look as step 62 to 68 here
Now for establishing yourself as a user, look at steps 49-77.

Connecting CPRS-Client on my Window-Box to my OpenVista-Server on my Linux-Laptop

WindowsGUI to LinuxOpenVista

  1. Get the newest CPRS-GUI client from the FTP-Site (Hint: you need Internet Explorer to access the FTP Site, Firefox is not yet supported ;(
  2. Read this and do steps 2-8 in adding the GUI menu, then skip to Give Yourself the Correct Keys and Tabs and then Skip to Other Methods to Try if Necessary and use tht ShortCut Method, which seems to be the way to go now-a-days.
  3. Right click on CPRSChart.exe and select Create a shortcut.
  4. Right click on the shortcut created and click rename. After the name, place s= and the IP address of the Brokerserver and p= and the port that you are using on the broker server: CPRSChart.exe s=192.168.0.102 p=9200

LinuxOpenVista to WindowsGUI

  1. At the VISTA prompt, enter D ^ZTMB to start TaskMan.
  2. Then start BROKER listening on port 9210 by entering the following GTM> D STRT^XWBTCP(9200). You may choose another port – OpenVista uses 9200.
  3. Also check this link and this message from Bhaskar plus his script

Can I get all these questions in a PDF?

Well not exactly "these" questions but similar problems observed by someon else, thanks Mike Lieman. Check this PDF. Make sure to check this link as well if you start from Zero.

How should my /etc/xinetd.conf file look like?

Thanks to Aylesworth Marc A Ctr AFRL/IFSE for this! If you want to connect a WindwosCPRS-GUI to a Linux OpenVista Server then you must have xinetd running on your Linux box. My Linux-Laptop has a Gentoo on it and my /etc/xinetd.conf file looks like this:

# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/xinetd/files/xinetd.conf,v 1.6 2004/07/15 00:53:48 agriffis Exp $
# Sample configuration file for xinetd
defaults
{
       #only_from      = 192.168.0.27
       instances      = 60
       log_type       = SYSLOG authpriv info
       log_on_success = HOST PID
       log_on_failure = HOST
       cps            = 25 30
}
service gtmserver
{
       disable         = no
       type            = UNLISTED
       port            = 9200
       socket_type     = stream
       protocol        = tcp
       wait            = no
       user            = vista
       server          = /home/vista/FOIAVistA/vista
       #server         = /home/zeno/bhaskar-script 
       server_args     = --run GTMLNX^XWBTCPM
}
includedir /etc/xinetd.d

If you are interested in more see the xinetd-Turorial that Marc Aylesworth recommends reading.