Re: [foxboro] Additional DM with X-Windows

 
Here's the way to share DM's between  AW's or WP's . 

It is better to call them across the Second Ethernet Network to reduce the
traffic on Nodebus. 

1.  At least one additional Display Manager should be configured floating or

    dedicated to the Remote workstation. (dmcfg) 

2.  A TCP/IP network connection should be established between the two
workstations . 

For transparent logons between stations, you need to specify the second
ethernet 
alias names in the  /.rhosts files on the Workstations . 

For example, you have a WP with the letterbug P1WP01 which has a second
ethernet name of WPP101.  You want to access a graphic from WPP101 on a WP
inanother area connected on ethernet.  It's letterbug is C1WP01 and the
second ethernet name is WPC101. 

1.  Edit the /.rhosts file on P1WP01 to include WPP101. 
2.  On both P1WP01 and C1WP01, create two directories: 

     /opt/foxind/RemoteDM/scripts 

     /opt/foxind/RemoteDM/logs 

3. On P1WP01, build a script file called sendDM in the scripts directory
which looks 
   like this: 

#!/bin/sh 
exec >/opt/foxind/RemoteDM/logs/`basename $0`.$1.log 2>&1 
set -x 
echo ARGS=$* 
DISPLAY=$1 
export DISPLAY 
/usr/fox/wp/bin/dm_wp50 &

3.  On C1WP01, create a script file called remoteDM in the scripts directory
which looks like     this: 

#!/bin/sh 

exec >/opt/foxind/RemoteDM/logs/`basename $0`.$1.log 2>&1 
set -x 
/usr/openwin/bin/xhost + 
for i in le1 le2 le3 le4 hme1 
do 
     if [ -s /etc/hostname.$i ] 
     then 
           HERE=`cat /etc/hostname.$i`:0.0 
     fi 
done 
/bin/rsh $1 /opt/foxind/RemoteDM/scripts/sendDM $HERE 

4.  Make the scripts executable on both WPs by typing: 

            chmod +x /opt/foxind/RemoteDM/scripts/* 

5.  From C1WP01, to invoke a display manager from P1WP01, type: 

            /opt/foxind/RemoteDM/scripts/remoteDM WPP101 

 A log file will get created in the /opt/foxind/RemoteDM/logs directory. 

6.  Optionally, you can add it to the Openwindows Program Menu 

             /usr/openwin/lib/openwin-menu-programs 

"P1WP01 Display Manager ..."         
exec opt/foxind/RemoteDM/scripts/remoteDM WPP101 

     Or you could run it from a Display Manager pick.  You could create a
pick 

      /usr/fox/sys/DM@P1WP01 which looks like this: 

            dmcmd script 

     dmcmd run /opt/foxind/RemoteDM/scripts/remoteDM WPP101 

To invoke FoxView instead of Display Manager, substitute
/opt/fox/wp/FoxView/foxview for /usr/fox/wp/bin/dm_wp50 in the sendDM
program. 

Hope this Helps .
GOPS ( GOPAN G. NAIR)
Aramco Mobil Refinery 

  


-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx[1] [mailto:foxboro-bounce@xxxxxxxxxxxxx]
On Behalf Of IQUEIROLOO@xxxxxxxxxxxxx[2]
Sent: Wednesday, April 28, 2004 12:54 AM
To: foxboro@xxxxxxxxxxxxx[3]
Subject: [foxboro] Additional DM with X-Windows 

Hi list, 

Does anybody know how can I do to connect two AW using X-Windows through =
TCP-IP for opening an additional DM?. 

Thanks in advance, 

Ignacio Queirolo Olivera
Repsol YPF
Tel: +54 221 429-8400 ext. 26481
Fax: +54 221 429-8400 ext. 26272
iqueiroloo@xxxxxxxxxxxxx[4] 

  

AVISO LEGAL:
Esta informaci=F3n es privada y confidencial y est=E1 dirigida =
=FAnicamente a su destinatario. Si usted no es el destinatario original =
de este mensaje y por este medio pudo acceder a dicha informaci=F3n por =
favor elimine el mensaje. La distribuci=F3n o copia de este mensaje =
est=E1 estrictamente prohibida. Esta comunicaci=F3n es s=F3lo para =
prop=F3sitos de informaci=F3n y no debe ser considerada como propuesta, =
aceptaci=F3n ni como una declaraci=F3n de voluntad oficial de REPSOL YPF =
S.A. y/o subsidiarias y/o afiliadas. La transmisi=F3n de e-mails no =
garantiza que el correo electr=F3nico sea seguro o libre de error. Por =
consiguiente, no manifestamos que esta informaci=F3n sea completa o =
precisa. Toda informaci=F3n est=E1 sujeta a alterarse sin previo aviso.=20 

This information is private and confidential and intended for the =
recipient only. If you are not the intended recipient of this message =
you are hereby notified that any review, dissemination, distribution or =
copying of this message is strictly prohibited. This communication is =
for information purposes only and shall not be regarded neither as a =
proposal, acceptance nor as a statement of will or official statement =
from REPSOL YPF S.A. and/or subsidiaries and/or affiliates. Email =
transmission cannot be guaranteed to be secure or error-free. Therefore, =
we do not represent that this information is complete or accurate and it =
should not be relied upon as such. All information is subject to change =
without notice.
 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html[5]
 
foxboro mailing list:             http://www.freelists.org/list/foxboro[6]
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join[7]
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave[8] 

--- Links ---
   1 mailto:foxboro-bounce@xxxxxxxxxxxxx
   2 mailto:IQUEIROLOO@xxxxxxxxxxxxx
   3 mailto:foxboro@xxxxxxxxxxxxx
   4 mailto:iqueiroloo@xxxxxxxxxxxxx
   5 http://www.thecassandraproject.org/disclaimer.html
   6 http://www.freelists.org/list/foxboro
   7 mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
   8 mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: