Re: [U2] re directing a unidata directory to another server

2011-01-22 Thread Wols Lists
On 22/01/11 15:10, grmhbeers wrote:
 
 I have created a Unidata (1.7x) directory to which I am writing files in a
 unibasic program.  However I want the file to be saved directly in a folder
 on another server that is in the same virtual machine as our Unidata based
 system.  All reside on windows server.  I have tried everything I can think
 of from drive mapping to shortcuts, but Unidata still can't find the folder
 on the other server. What do I do so Unidata sees the mapping or shortcut or
 ??.  Can this be done in Unidata?  I do not want to ftp the files, I want
 them saved on the other server when the Unibasic program writes the file.

Is the other server a Unidata server too?

Can't speak for Unidata, but Universe won't allow this scenario by
default. All locks are on the CPU that UV is running on, so in order for
two Universe servers to talk to each other you need UV-net to ensure
that locking works.

There is an ALLOWNFS option that will let UV talk to another server, on
the assumption that it is the only UV server accessing the remote files.

I suspect UD has a similar setup.

Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] re directing a unidata directory to another server

2011-01-22 Thread Symeon Breen
Can you see this other file/folder from the cmd prompt ?

 

From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of grmhbeers
Sent: 22 January 2011 15:10
To: u2-users@listserver.u2ug.org
Subject: [U2] re directing a unidata directory to another server

 

 

I have created a Unidata (1.7x) directory to which I am writing files in a
unibasic program.  However I want the file to be saved directly in a folder
on another server that is in the same virtual machine as our Unidata based
system.  All reside on windows server.  I have tried everything I can think
of from drive mapping to shortcuts, but Unidata still can't find the folder
on the other server. What do I do so Unidata sees the mapping or shortcut or
??.  Can this be done in Unidata?  I do not want to ftp the files, I want
them saved on the other server when the Unibasic program writes the file.
--
View this message in context:
http://old.nabble.com/redirecting-a-unidata-directory-to-another-server-tp30
736884p30736884.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users 

  _  

No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1191 / Virus Database: 1435/3395 - Release Date: 01/21/11

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] re directing a unidata directory to another server

2011-01-22 Thread grmhbeers

The other server is not a unidata server.  It's our moodle server.  Both are
on sql server platforms.  Unidata is underneath the sql server platform for
the application where the Unibasic program is generating the output files.


Wols Lists wrote:
 
 On 22/01/11 15:10, grmhbeers wrote:
 
 I have created a Unidata (1.7x) directory to which I am writing files in
 a
 unibasic program.  However I want the file to be saved directly in a
 folder
 on another server that is in the same virtual machine as our Unidata
 based
 system.  All reside on windows server.  I have tried everything I can
 think
 of from drive mapping to shortcuts, but Unidata still can't find the
 folder
 on the other server. What do I do so Unidata sees the mapping or shortcut
 or
 ??.  Can this be done in Unidata?  I do not want to ftp the files, I want
 them saved on the other server when the Unibasic program writes the file.
 
 Is the other server a Unidata server too?
 
 Can't speak for Unidata, but Universe won't allow this scenario by
 default. All locks are on the CPU that UV is running on, so in order for
 two Universe servers to talk to each other you need UV-net to ensure
 that locking works.
 
 There is an ALLOWNFS option that will let UV talk to another server, on
 the assumption that it is the only UV server accessing the remote files.
 
 I suspect UD has a similar setup.
 
 Cheers,
 Wol
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 
 

-- 
View this message in context: 
http://old.nabble.com/redirecting-a-unidata-directory-to-another-server-tp30736884p30737692.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] re directing a unidata directory to another server

2011-01-22 Thread Bill Haskett
From what I understand you have Unidata on one machine and you want to 
write to a directory on another machine within your network (node).  I'm 
not sure what you mean by a folder on another server that is in the 
same virtual machine...a virtual machine spans two physical machines?


Assuming I've misunderstood, if you're running Windows 2003 it's easy.  
If you're running Windows 2008 it's relatively easy but different.  
Which O/S are you running?


Bill


grmhbeers said the following on 1/22/2011 9:45 AM:

The other server is not a unidata server.  It's our moodle server.  Both are
on sql server platforms.  Unidata is underneath the sql server platform for
the application where the Unibasic program is generating the output files.


Wols Lists wrote:

Is the other server a Unidata server too?

Can't speak for Unidata, but Universe won't allow this scenario by
default. All locks are on the CPU that UV is running on, so in order for
two Universe servers to talk to each other you need UV-net to ensure
that locking works.

There is an ALLOWNFS option that will let UV talk to another server, on
the assumption that it is the only UV server accessing the remote files.

I suspect UD has a similar setup.

Cheers,
Wol

 Original Message 
Subject:[U2] re directing a unidata directory to another server
Date:   Sat, 22 Jan 2011 07:10:28 -0800 (PST)
From:   grmhbeersghbe...@cox.net
Reply-To:   U2 Users Listu2-users@listserver.u2ug.org
To: u2-users@listserver.u2ug.org


I have created a Unidata (1.7x) directory to which I am writing files in a
unibasic program.  However I want the file to be saved directly in a folder
on another server that is in the same virtual machine as our Unidata based
system.  All reside on windows server.  I have tried everything I can think
of from drive mapping to shortcuts, but Unidata still can't find the folder
on the other server. What do I do so Unidata sees the mapping or shortcut or
??.  Can this be done in Unidata?  I do not want to ftp the files, I want
them saved on the other server when the Unibasic program writes the file.


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] re directing a unidata directory to another server

2011-01-22 Thread Wols Lists
On 22/01/11 17:45, grmhbeers wrote:
 
 The other server is not a unidata server.  It's our moodle server.  Both are
 on sql server platforms.  Unidata is underneath the sql server platform for
 the application where the Unibasic program is generating the output files.
 
In other words, assuming UD is the same as UV, all you need do is find
the NFSALLOW (or equivalent) flag, and set it to true (ie 1).

As I say, I guess UD, by default, will refuse to write to a network
drive but by setting that flag you are telling UD no, it's safe to
write to the network.

Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] re directing a unidata directory to another server

2011-01-22 Thread Bill Haskett
I don't think UD has the NFSALLOW flag.  In UD, you can simply write to 
any directory that's available to the network where the user had write 
privileges.  This raises a number of issues but, for instance, in 
Windows 2003 Server you can create a VOC entry to:


OSFILE
001 DIR
002 \\SOMESERVER\D$\SOMEDIRECTORY
003 D_VOC

This works but you may have to alter the permissions, if a UD user 
doesn't have the proper Windows permissions.  In Windows 2008, however, 
you have to explicitly share the directory on the server.  Then the 
VOC entry is like:


OSFILE
001 DIR
002 \\SomeServer\ShareName
003 D_VOC

At least this has been my experience so far.

Bill


Wols Lists said the following on 1/22/2011 2:02 PM:

On 22/01/11 17:45, grmhbeers wrote:

The other server is not a unidata server.  It's our moodle server.  Both are
on sql server platforms.  Unidata is underneath the sql server platform for
the application where the Unibasic program is generating the output files.


In other words, assuming UD is the same as UV, all you need do is find
the NFSALLOW (or equivalent) flag, and set it to true (ie 1).

As I say, I guess UD, by default, will refuse to write to a network
drive but by setting that flag you are telling UD no, it's safe to
write to the network.

Cheers,
Wol

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] re directing a unidata directory to another server

2011-01-22 Thread Curt Stewart


Symeon Breen syme...@gmail.com wrote:

Can you see this other file/folder from the cmd prompt ?

 

From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of grmhbeers
Sent: 22 January 2011 15:10
To: u2-users@listserver.u2ug.org
Subject: [U2] re directing a unidata directory to another server

 

 

I have created a Unidata (1.7x) directory to which I am writing files in a
unibasic program.  However I want the file to be saved directly in a folder
on another server that is in the same virtual machine as our Unidata based
system.  All reside on windows server.  I have tried everything I can think
of from drive mapping to shortcuts, but Unidata still can't find the folder
on the other server. What do I do so Unidata sees the mapping or shortcut or
??.  Can this be done in Unidata?  I do not want to ftp the files, I want
them saved on the other server when the Unibasic program writes the file.
--
View this message in context:
http://old.nabble.com/redirecting-a-unidata-directory-to-another-server-tp30
736884p30736884.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users 

  _  

No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1191 / Virus Database: 1435/3395 - Release Date: 01/21/11

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users