Date: Sun, 13 Jan 2008 18:07:57 -0700
From: tar...@aspirebehavioral.com
To: Hard...@googlegroups.com
Subject: [Hardhats] Mental Health Assistant with Vista Demo Appliance?
On Sunday 13 January 2008 20:07, Tom Arnold wrote:
I'm trying out the Vista Demo Appliance as available on Sourceforge. I've
been using CPRS mainly, but I'm interested in other modules including the
Mental Health Assistant. Is that included in the demo appliance somewhere
and I can't find it? If not, is it available in a form that will work with
the demo appliance?
More generally, are there any other VistA applications / modules that work
with the demo appliance?
Thanks
--
Nancy Anthracite
Does anyone know?
Kevin
--
Nancy Anthracite
Tom:
I also have an interest in this package. It sounds wonderful for
Mental Health Professionals. I would like to demonstrate it to my
client, BrooklynCareWorks as part of my effort to get them interested
in VistA. I know a little MUMPS (been to class) and like you, have a
background in lots of other languages. I wonder if we could get it
installed on an Internet based server so all we would need to do to
demo and evaluate it would be to install the client and connect? If no
one else volunteers I have a Virtual Private Server (VPS) on the
internet ( continuityofcare.net ) that has GT.M running that I would
be willing to try and use for this purpose. I will probably need help
setting it up, but perhaps some of our hardhats readers would be
willing to give me a hand. Would an Internet demo server suit your
current purpose?
gpl
Then run it, make a shortcut to it. look at the properties of your CPRS
SHORTCUT (NOT the exe) and look at the end of the target line. put the same
thing at the end of the target line in the shortcut properties.
Then go to PuTTY and do this:
Log in and start up GT.M, then enter
GTM>S DUZ=10000000020 <======that is 8 zeros in the middle
GTM>D ^XUP <==========hit enter
Setting up programmer environment
This is a TEST account.
Terminal Type set to: C-VT320
Select OPTION NAME: <==========hit enter
GTM>D Q^DI
VA FileMan 22.0
Select OPTION: 1 ENTER OR EDIT FILE ENTRIES
INPUT TO WHAT FILE: OPTION// 200 NEW PERSON (74 entries)
EDIT WHICH FIELD: ALL// KEYS
1 KEYS (multiple)
2 KEYSTROKES FROM LM WP
CHOOSE 1-2: 1 KEYS (multiple)
EDIT WHICH KEYS SUB-FIELD: ALL//
THEN EDIT FIELD: secondary menu OPTIONS (multiple)
EDIT WHICH SECONDARY MENU OPTIONS SUB-FIELD: ALL//
THEN EDIT FIELD: <==========hit enter
Select NEW PERSON NAME: `10000000020 <============ that ` is under the tilde
Select KEY: LRANAT// YS
1 YSCL AUTHORIZED
2 YSD
3 YSP
4 YSQ
5 YSZ
CHOOSE 1-5: 2 YSP
REVIEW DATE:
Select KEY: You can put in the others, too, if you want.
Select SECONDARY MENU OPTIONS: PXRM CPRS CONFIGURATION
// YS BROKER1 YS BROKER1
Are you adding 'YS BROKER1' as
a new SECONDARY MENU OPTIONS (the 3RD for this NEW PERSON)? No// Y (Yes)
SYNONYM:
Then go back and double click on the shortcut and you are off.
--
Nancy Anthracite
gpl
--
Nancy Anthracite
since the target refers to a batch file, ie: ""C:\Program
Files\WorldVistA\CPRS\Resources\Launch and connect.bat"
you have to create a new batch file and then change its contents
to run the executable for the MHA instead of CPRSChart.exe
As I recall the batch file does not have CPRSChart.exe but only CPRSChart
the rest of the command line for CPRSChart should be used for the MHA
executable.
Best Regards,
David
--
Nancy Anthracite
Tom,
Copy or move your new bat file into the same directory as the MHA
executable. The new bat file is does not have a directory path, so it
assumes that the executable is in the same directory. This should
work.
Nancy,
Let add MHA to the next VistA Demo Appliance.
Peter Bodtke
Nancy,
Peter Bodtke
--
Nancy Anthracite
1. If MHA is run without the Demo Appliance running,
the splash screen comes up, and you get:
"Error encountered.
Function was: connect
Error was: 0"
...the same error message as CPRS gives with nowhere to connect.
("splash=off" has no effect on MHA.exe.)
(For some, doubtless irrelevant reason,
with splash off the error message from CPRS changes to:
"WSACONREFUSED".)
2. With VAVistADemo20060912 running and likewise
with VistAOfficeEHR_2.3.1,
MHA freezes at its splash without an error message.
Windows Taskman says "Not Responding" until I force an End Task.
Anyone doing better?
jlz
jlz,
somewhat easy to please.
BUT, can someone explain,
how is CPRS able to connect using port 9210
with the listener at 9240???
WSAConnection Refused occurs when you don't have a port configured for
listening either at the OS level or the Broker level.
Sam
1. check you RPC file and see if there are two listeners and if you started it
from within VistA from the menu, both would start. That you can do with
Cache or GT.M
2 If you only have one listener inside VistA, you might have a second with
XINETD
3. You might have two with XINETD
--
Nancy Anthracite
I am working on the Windows XP, qemu, dsl, GT.M, VistADemo stack,
and on the same stack with VistAOfficeEHR.
Do we know which listener the MHA client should attach?
VDL has documentation on an MHA3 dated December 2007 which is not yet on
the FOIA ftp site. I would assume that will use the new listener.
jlz
Try a netstat -a|grep LISTEN and see what you get for ports in the 9000 range
On Sunday 20 January 2008, JohnLeo Zimmer, MD wrote:
--
Nancy Anthracite
On Sunday 20 January 2008, JohnLeo Zimmer, MD wrote:
--
Nancy Anthracite
Nancy Anthracite wrote:
> Are you connecting to a different instance of VistA than you think you are?
>
>
Good question, Nancy. But I have generally been running the two qemu
virtual machines one at a time. My ThinkPad can handle both running,
though. I expect eventually to figure out two instances of the CPRS
client talking over separate ports, likewise putty. And MailMan
communicating between the two "machines".
jlz
Tom is using the VistA Demo Appliance, so he is running with GT.M.
Peter Bodtke
On Jan 20, 5:16pm, Nancy Anthracite <nanthrac...@verizon.net > wrote:
> Are you working with GTM or Cache. If it is GTM
>
> 1. check you RPC file and see if there are two listeners and if you started it
> from within VistA from the menu, both would start. That you can do with
> Cache or GT.M
>
> 2 If you only have one listener inside VistA, you might have a second with
> XINETD
>
> 3. You might have two with XINETD
>
> On Sunday 20 January 2008, JohnLeo Zimmer, MD wrote:
>
> > Progress, sort of:
> > VAVistADemo is running the New Style listener.
> > And on port 9240
> > When I change my MHA .bat file to use 9240,
> > we get "WSACONREFUSED" and a clean exit.
>
> > jlz,
> > somewhat easy to please.
>
> > BUT, can someone explain,
> > how is CPRS able to connect using port 9210
> > with the listener at 9240???
>
> --
> Nancy Anthracite
GTM>S DUZ=10000000020 <====== that is 8 zeros between the 1 and the 2
GTM>D ^XUP
Setting up programmer environment
This is a TEST account.
Terminal Type set to: C-VT320
Select OPTION NAME: eve
1 EVE Systems Manager Menu
2 EVENT CAPTURE (ECS) EXTRACT AU ECX ECS SOURCE AUDIT Event
Capture
(ECS) Extract Audit
3 EVENT CAPTURE DATA ENTRY ECENTER Event Capture Data Entry
4 EVENT CAPTURE EXTRACT ECXEC Event Capture Extract
5 EVENT CAPTURE MANAGEMENT MENU ECMGR Event Capture Management
Menu
Press <RETURN> to see more, '^' to exit this list, OR
CHOOSE 1-5: 1 EVE Systems Manager Menu
WARNING -- TASK MANAGER DOESN'T SEEM TO BE RUNNING!!!!
Select Systems Manager Menu Option: operations Management
Select Operations Management Option: RPC Broker Management Menu
Select RPC Broker Management Menu Option: ?
RPC Listener Edit
Start All RPC Broker Listeners
Stop All RPC Broker Listeners
Clear XWB Log Files
Debug Parameter Edit
View XWB Log
Enter ?? for more options, ??? for brief descriptions, ?OPTION for help text.
Select RPC Broker Management Menu Option: DEBUG Parameter Edit
----- Setting RPCBroker debug logging for System: BETA.VISTA-OFFICE.ORG -----
Enable Broker Logging: Yes// 3 very Verbose
Select RPC Broker Management Menu Option:
Then take the option Clear the Log files, then connect only the MHA, and then
go into view and send us the output.
On Monday 21 January 2008, Tom Arnold wrote:
> Yes, I'm using the demo appliance and that's all, so it's GT.M and DSL.
> I have not tried anything new to get this to work in several days because I
> don't know enough about the details discussed in the preceding messages to
> really make much of it. I certainly haven't been configuring listeners or
> brokers or whatnot.
>
> I could try changing the .bat file that I'm using to start YS_MHA, if that
> might help. I just copied it from the .bat file that starts CPRS.
> The CPRS file contains:
>
> CPRSChart s=127.0.0.1 p=9297 CCOW=DISABLE
--
Nancy Anthracite
> YS_MHA s= 127.0.0.1 p=9297 CCOW=DISABLE
>
> so apparently they are both trying to use the same port - is that right ?
>
> When I launch the Vista Demo Appliance ( GT.M, DSL etc.) and then launch
10475 Park Meadows Drive, Suite 600
Lone Tree, Co 80124
It would be helpful if someone working on real hardware were to attempt
to run MHA. That would help determine whether there is something in the
configuration of the qemu/dsl appliance that is getting in our way.
JohnLeoZ
A VistA Toaster is just a software appliance - a virtual machine that
runs on an emulated or virtualized PC provided by a host operating
system. In the case of the demo, the virtualization / emulation is done
by QEMU (http://www.qemu.org), which is an emulator with optional
virtualization (the so-called QEMU accelerator).
A QEMU VM acts as if it is running in a private LAN segment (10.0.2.x
addresses) behind a firewall / proxy server. Outbound accesses from the
VM are forwarded by the proxy. Inbound requests are implemented by port
forwarding through the firewall.
On a Windows host, the appliance is invoked with a command such as (one
line, watch for line breaks, and the line in Peter's packaging may be
different):
qemu -kernel-kqemu -L . -m 192 -redir tcp::9297::9297
-redir:tcp::2222::22 VAVistADemo200612.qcow
This invokes the emulator qemu.exe and specifies that:
1. If virtualization is installed and enabled, it should use it in
preference to straight emulation (-kernel-kqemu).
2. The BIOS files of the virtual PC are in the curent directory (-L .).
3. To allocate 192MB of RAM for the VM (-m 192). Note that this is
actually virtual memory on the host machine, not physical machine.
4. Port 9297 of the firewall (the host PC - localhost or 127.0.0.1) is
to be forwarded to port 9297 of the VM. This is the port at which I
configured the Toaster to listen for CPRS connection requests (-redir
tcp::9297::9297).
5. Port 2222 of the firewall is to be forwarded to port 22 of the
virtual machine. This enables ssh access for character mode access
(-redir:tcp::2222::22).
6. The disk image of the VM's disk is file VAVistADemo200612.qcow on the
host.
On the VM, the Internet superserver xinetd (xinetd.org) listens at port
9297, and when a connection request comes in, it sets up the environment
variables and fires up a listener process with entryref GTMLNX^XWBTCPM.
There is no configured limit on the number of CPRS connections that
can be served simultaneously, and it is limited only by the CPU and
memory limits of the guest (and host) machines.
If you connect to the VM with ssh (userid dsl password VistA), in order
to run a character mode (roll and scroll) VistA session, you should run
something like /var/VAVistADemo200612/gtm_V5.2-000/run (just look for
the exact directory and file name under /var - I don't remember it
offhand). The run script sets up the environment variables needed to
run VistA on GT.M and then puts you at the command line prompt ready to
access VistA.
Connect CPRS (running on a Windows host) to the server on the VM is
accomplished by a line on the host such as:
CPRSChart s=localhost p=9297 CCOW=DISABLE which runs the CPRSChart.exe
program and tells it to connect to port 9297 on the host PC, which the
QEMU firewall forwards to port 9297 on the VM.
In your case, since CPRS is connecting, but MH is not, my guess is that
the VistA server in the VM has not been configured to accept MH
connections at GTMLNX^XWBTCPM. If VistA on the VM has been properly
configured and MH needs a different entryref, please let me know and I
will post instructions on how to add this to the VM.
-- Bhaskar
On 01/21/2008 08:57 AM, Tom Arnold wrote:
> Yes, I'm using the demo appliance and that's all, so it's GT.M and DSL.
> I have not tried anything new to get this to work in several days
> because I don't know enough about the details discussed in the preceding
> messages to really make much of it. I certainly haven't been configuring
> listeners or brokers or whatnot.
>
> I could try changing the .bat file that I'm using to start YS_MHA, if
> that might help. I just copied it from the .bat file that starts CPRS.
> The CPRS file contains:
>
> CPRSChart s= 127.0.0.1 <http://127.0.0.1> p=9297 CCOW=DISABLE
>
> and the "Launch and connect YS_MHA.bat" file that I made contains:
>
> YS_MHA s=127.0.0.1 <http://127.0.0.1> p=9297 CCOW=DISABLE
>
> so apparently they are both trying to use the same port - is that right ?
>
> When I launch the Vista Demo Appliance (GT.M, DSL etc.) and then launch
> CPRS it connects and runs, and if I then try to launch YS_MHA via the
> batch file above, then YS_MHA shows its splash screen and then hangs. If
> I do NOT launch CPRS, but just launch YS_MHA after starting the demo
> appliance, then YS_MHA puts up its splash screen then after a few
> seconds displays an error alert saying:
>
> Error encountered.
> Function was: recv
> Error was WSAEINTR
>
> and after a few seconds both those windows disappear on their own.
>
> Suggestions? Different port to try? Another place to try a demo?
> Thanks,
______________
The information contained in this message is proprietary and/or confidential. If you are not the
intended recipient, please: (i) delete the message and all copies; (ii) do not disclose,
distribute or use the message in any manner; and (iii) notify the sender immediately. In addition,
please be aware that any message addressed to our domain is subject to archiving and review by
persons other than the intended recipient. Thank you.
_____________
> > BETA.VISTA-OFFICE.ORG----- Enable Broker Logging: Yes// 3 very Verbose
> >
> >
> >
> > Select RPC Broker Management Menu Option:
> >
> > Then take the option Clear the Log files, then connect only the MHA, and
> > then
> > go into view and send us the output.
> >
> > On Monday 21 January 2008, Tom Arnold wrote:
> > > Yes, I'm using the demo appliance and that's all, so it's GT.M and DSL.
> > > I have not tried anything new to get this to work in several days
> >
> > because I
> >
> > > don't know enough about the details discussed in the preceding messages
> >
> > to
> >
> > > really make much of it. I certainly haven't been configuring listeners
> >
> > or
> >
> > > brokers or whatnot.
> > >
> > > I could try changing the .bat file that I'm using to start YS_MHA, if
> >
> > that
> >
> > > might help. I just copied it from the .bat file that starts CPRS.
> > > The CPRS file contains:
> > >
> > > CPRSChart s=127.0.0.1 p=9297 CCOW=DISABLE
> > >
> > > and the "Launch and connect YS_MHA.bat" file that I made contains:
> > >
> > > YS_MHA s=127.0.0.1 p=9297 CCOW=DISABLE
> > >
> > > so apparently they are both trying to use the same port - is that right
> >
> > ?
> >
> > > When I launch the Vista Demo Appliance (GT.M, DSL etc.) and then launch
--
Nancy Anthracite
So, I don't know what the issue is so I will be interested to see what comes
of the debugging and the if that has nothing, we will probably need to use a
packet sniffer to investigate this further.
--
Nancy Anthracite
Note that you can do a mupip journal -extract of the journal file to see
what globals the server process is setting, in case that helps troubleshoot.
-- Bhaskar
On 01/21/2008 11:28 AM, Nancy Anthracite wrote:
> The MHA uses the same port as CPRS, and unless we goofed during that short
> time I was working with Tom, we got his port right and set up the necessary
> secondary menu and keys for the user that I think is being used by his demo
> (now I guess I could be wrong about that - the person who is IEN 9).
>
> So, I don't know what the issue is so I will be interested to see what comes
> of the debugging and the if that has nothing, we will probably need to use a
> packet sniffer to investigate this further.
CPRS is connecting, Tom, it is the MHA that isn't. And he is using a demo
that is old. Now it might be that the MHA checks for a server number, but I
doubt that since it is running on a much newer server on my system.
However, I just checked the log on a connection between two machines, one
running Linux/GTM and the other the Windows box with MHA.
MHA It is running with the old broker, so we are not going to be able to make
it work in this setting unless we open up all of the ports on the appliance
and start up the broker to listen the old way, not using xinetd.
I will ask if there is a way to make it use the new broker.
On Monday 21 January 2008, K.S. Bhaskar wrote:
--
Nancy Anthracite
> On the VM, the Internet superserver xinetd ( xinetd.org) listens at port
> > YS_MHA s= 127.0.0.1 <http://127.0.0.1> p=9297 CCOW=DISABLE
> >
> > so apparently they are both trying to use the same port - is that right ?
> >
> > When I launch the Vista Demo Appliance (GT.M, DSL etc.) and then launch
> > CPRS it connects and runs, and if I then try to launch YS_MHA via the
> > batch file above, then YS_MHA shows its splash screen and then hangs. If
> > I do NOT launch CPRS, but just launch YS_MHA after starting the demo
> > appliance, then YS_MHA puts up its splash screen then after a few
> > seconds displays an error alert saying:
> >
> > Error encountered.
> > Function was: recv
> > Error was WSAEINTR
> >
> > and after a few seconds both those windows disappear on their own.
> >
> > Suggestions? Different port to try? Another place to try a demo?
> > Thanks,
>
> ______________
>
> The information contained in this message is proprietary and/or
> confidential. If you are not the intended recipient, please: (i) delete the
> message and all copies; (ii) do not disclose, distribute or use the message
> in any manner; and (iii) notify the sender immediately. In addition, please
> be aware that any message addressed to our domain is subject to archiving
> and review by persons other than the intended recipient. Thank you.
> _____________
>
>
--
Nancy Anthracite
--
Nancy Anthracite
Tom, you are spot on that when working with free / open source software
you either have to develop skills or you have to hire them.
Regards
-- Bhaskar
______________
cprs-gui stream tcp nowait dsl
/var/VAVistADemo20060926/gtm_V5.2-000/cprs_direct
Where does inetd set the port?... I'm trying to trace the sequence as
CPRS makes its way in.
thanks,
jlz
--
Nancy Anthracite
-- Bhaskar
On 01/22/2008 06:12 AM, Nancy Anthracite wrote:
>
> Did you check /etc/services?
>
> On Tuesday 22 January 2008, JohnLeo Zimmer, MD wrote:
> > Bhaskar,
> > As far as I can tell the appliance I'm running uses inetd and not
> > xinetd. There's> an /etc/inetd.conf file that contains the line
> > (mind the wrap):
> >
> > cprs-gui stream tcp nowait dsl
> > /var/VAVistADemo20060926/gtm_V5.2-000/cprs_direct
> >
> > Where does inetd set the port?... I'm trying to trace the sequence as
> > CPRS makes its way in.
> >
> > thanks,
> > jlz
______________
I can relate to <<that>>. It's interesting to be growing and
deteriorating at the same time, no? I'm pouring water, as fast as I can,
into my own leaky bucket.
Lately I often find myself thinking of a patient of mine back in Macon
who kept reading his New England Journal every day... long after his
advancing Alzheimer's had forced him to retire from medical practice.
There came a point where he could read and enjoy the lead article and
read it again, fresh and new, the next day.
jlz
I've never used the Demo Appliance, but I have downloaded the Mental Health - YS package from the VA FTP site and installed it.
It works similar to CPRS, with the Access and Verify codes.
Bob
Date: Sun, 13 Jan 2008 18:07:57 -0700
From: tar...@aspirebehavioral.com
To: Hard...@googlegroups.com
Subject: [Hardhats] Mental Health Assistant with Vista Demo Appliance?
I'm trying out the Vista Demo Appliance as available on Sourceforge. I've been using CPRS mainly, but I'm interested in other modules including the Mental Health Assistant. Is that included in the demo appliance somewhere and I can't find it? If not, is it available in a form that will work with the demo appliance?
More generally, are there any other VistA applications / modules that work with the demo appliance?
Thanks
--
Tom Arnold
CIO - Aspire Behavioral Health, Inc.
--
--
http://groups.google.com/group/Hardhats
To unsubscribe, send email to Hardhats+u...@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "Hardhats" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hardhats+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hardhats/8f62ccb6-9f1d-4d48-9b87-8918f768685an%40googlegroups.com.
To unsubscribe, send email to Hardhats+unsubscribe@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "Hardhats" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hardhats+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hardhats/8f62ccb6-9f1d-4d48-9b87-8918f768685an%40googlegroups.com.
--
--
http://groups.google.com/group/Hardhats
To unsubscribe, send email to Hardhats+unsubscribe@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "Hardhats" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hardhats+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hardhats/CA%2Bi2CTLK0Np8-GQtdtNORUn_Ub8v%2BAGOQQZMSg0s_k3bnSTPKw%40mail.gmail.com.