| Author |
Message |
Andrew Austen
Guest
|
Posted:
Fri Dec 31, 2004 8:11 am Post subject:
Map network drive on remote PC for use in cluster group |
|
|
Hi All,
I'm trying to figure out if there is a way to map a remote network share for
use within a cluster resource group. (win2000 MSCS)
The added hassle is that the remote share is on a different domain so I need
to be able to authenticate as well.
ie. in DOS it would be 'net use k: \\externalIP\sharename
/user:remotedomain\username password'
I can create a batch file and run it as a generic app, but you need to keep
the dos session open....
Any suggestions?
The only other option I see is to write a service that maps the drive and
then set that up as a resource.
Cheers
Andrew |
|
| Back to top |
|
 |
Shon Shah [MSFT]
Guest
|
Posted:
Sat Jan 01, 2005 1:48 am Post subject:
Re: Map network drive on remote PC for use in cluster group |
|
|
Andrew,
I did not understand what you are trying to accomplish by 'mapping a remote
network share for use within a cluster resource group'. What kind of use?
Are you trying to use remote network share instead of physical disk
resource? If yes, I don't think that is supported. If I misunderstood, can
you please elaborate? Thanks.
--
Regards,
Shon Shah
Software Design Engineer/Test
Microsoft Cluster Server
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples, if any, are subject to the terms specified
at http://www.microsoft.com/info/cpyright.htm
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
"Andrew Austen" <aausten@bigpond.net.au> wrote in message
news:%23gXaP4t7EHA.2540@TK2MSFTNGP09.phx.gbl...
| Quote: | Hi All,
I'm trying to figure out if there is a way to map a remote network share
for use within a cluster resource group. (win2000 MSCS)
The added hassle is that the remote share is on a different domain so I
need to be able to authenticate as well.
ie. in DOS it would be 'net use k: \\externalIP\sharename
/user:remotedomain\username password'
I can create a batch file and run it as a generic app, but you need to
keep the dos session open....
Any suggestions?
The only other option I see is to write a service that maps the drive and
then set that up as a resource.
Cheers
Andrew
|
|
|
| Back to top |
|
 |
John Toner [MVP]
Guest
|
Posted:
Tue Jan 04, 2005 12:45 am Post subject:
Re: Map network drive on remote PC for use in cluster group |
|
|
If you want to keep the batch file open, you could launch the file like
this:
%systemroot%\cmd.exe /K "path_to_batch_file"
The "/K" will ensure that your command prompt persists thus causing MSCS to
assume that it is online.
Regards,
John
"Andrew Austen" <aausten@bigpond.net.au> wrote in message
news:%23gXaP4t7EHA.2540@TK2MSFTNGP09.phx.gbl...
| Quote: | Hi All,
I'm trying to figure out if there is a way to map a remote network share
for
use within a cluster resource group. (win2000 MSCS)
The added hassle is that the remote share is on a different domain so I
need
to be able to authenticate as well.
ie. in DOS it would be 'net use k: \\externalIP\sharename
/user:remotedomain\username password'
I can create a batch file and run it as a generic app, but you need to
keep
the dos session open....
Any suggestions?
The only other option I see is to write a service that maps the drive and
then set that up as a resource.
Cheers
Andrew
|
|
|
| Back to top |
|
 |
Scott Schnoll [MSFT]
Guest
|
Posted:
Tue Jan 04, 2005 12:55 am Post subject:
Re: Map network drive on remote PC for use in cluster group |
|
|
Are you trying to make the share available to an application running in the
cluster, or are you trying to use the share as a clustered disk resource?
You cannot use a mapped drive as a clustered disk resource.
--
Scott Schnoll
This posting is provided "AS IS" with no warranties, and confers no
rights. Please do not send email directly to this alias. This alias is for
newsgroup
purposes only.
"John Toner [MVP]" <jtoner@DIE.SPAM.DIE.mvps.org> wrote in message
news:ON%23unRc8EHA.3908@TK2MSFTNGP12.phx.gbl...
| Quote: | If you want to keep the batch file open, you could launch the file like
this:
%systemroot%\cmd.exe /K "path_to_batch_file"
The "/K" will ensure that your command prompt persists thus causing MSCS
to
assume that it is online.
Regards,
John
"Andrew Austen" <aausten@bigpond.net.au> wrote in message
news:%23gXaP4t7EHA.2540@TK2MSFTNGP09.phx.gbl...
Hi All,
I'm trying to figure out if there is a way to map a remote network share
for
use within a cluster resource group. (win2000 MSCS)
The added hassle is that the remote share is on a different domain so I
need
to be able to authenticate as well.
ie. in DOS it would be 'net use k: \\externalIP\sharename
/user:remotedomain\username password'
I can create a batch file and run it as a generic app, but you need to
keep
the dos session open....
Any suggestions?
The only other option I see is to write a service that maps the drive and
then set that up as a resource.
Cheers
Andrew
|
|
|
| Back to top |
|
 |
Andrew Austen
Guest
|
Posted:
Fri Jan 07, 2005 7:12 pm Post subject:
Re: Map network drive on remote PC for use in cluster group |
|
|
Hi John,
Thanks for that, yeah, that will work.
What would be nice if there was a cluster resource to connect drives with.
Andrew
"John Toner [MVP]" <jtoner@DIE.SPAM.DIE.mvps.org> wrote in message
news:ON%23unRc8EHA.3908@TK2MSFTNGP12.phx.gbl...
| Quote: | If you want to keep the batch file open, you could launch the file like
this:
%systemroot%\cmd.exe /K "path_to_batch_file"
The "/K" will ensure that your command prompt persists thus causing MSCS
to
assume that it is online.
Regards,
John
"Andrew Austen" <aausten@bigpond.net.au> wrote in message
news:%23gXaP4t7EHA.2540@TK2MSFTNGP09.phx.gbl...
Hi All,
I'm trying to figure out if there is a way to map a remote network share
for
use within a cluster resource group. (win2000 MSCS)
The added hassle is that the remote share is on a different domain so I
need
to be able to authenticate as well.
ie. in DOS it would be 'net use k: \\externalIP\sharename
/user:remotedomain\username password'
I can create a batch file and run it as a generic app, but you need to
keep
the dos session open....
Any suggestions?
The only other option I see is to write a service that maps the drive and
then set that up as a resource.
Cheers
Andrew
|
|
|
| Back to top |
|
 |
Andrew Austen
Guest
|
Posted:
Fri Jan 07, 2005 7:20 pm Post subject:
Re: Map network drive on remote PC for use in cluster group |
|
|
Hi Scott,
With one of the cluster resources ( a generic file copy service) I need to
copy data from a remote server to a local drive.
The remote server is outside our network on a different domain, hence the
need to authenticate and map the drive.
I have written a service that maps the drive and pings the remote server to
make sure it's still available.
Works ok, but if there was a better way I'd use it.
Cheers
Andrew
"Scott Schnoll [MSFT]" <scschnol@online.microsoft.com> wrote in message
news:e1VcCXc8EHA.4004@tk2msftngp13.phx.gbl...
| Quote: | Are you trying to make the share available to an application running in
the cluster, or are you trying to use the share as a clustered disk
resource? You cannot use a mapped drive as a clustered disk resource.
--
Scott Schnoll
This posting is provided "AS IS" with no warranties, and confers no
rights. Please do not send email directly to this alias. This alias is for
newsgroup
purposes only.
"John Toner [MVP]" <jtoner@DIE.SPAM.DIE.mvps.org> wrote in message
news:ON%23unRc8EHA.3908@TK2MSFTNGP12.phx.gbl...
If you want to keep the batch file open, you could launch the file like
this:
%systemroot%\cmd.exe /K "path_to_batch_file"
The "/K" will ensure that your command prompt persists thus causing MSCS
to
assume that it is online.
Regards,
John
"Andrew Austen" <aausten@bigpond.net.au> wrote in message
news:%23gXaP4t7EHA.2540@TK2MSFTNGP09.phx.gbl...
Hi All,
I'm trying to figure out if there is a way to map a remote network share
for
use within a cluster resource group. (win2000 MSCS)
The added hassle is that the remote share is on a different domain so I
need
to be able to authenticate as well.
ie. in DOS it would be 'net use k: \\externalIP\sharename
/user:remotedomain\username password'
I can create a batch file and run it as a generic app, but you need to
keep
the dos session open....
Any suggestions?
The only other option I see is to write a service that maps the drive
and
then set that up as a resource.
Cheers
Andrew
|
|
|
| Back to top |
|
 |
|
|
|
|