Re: Longhorn active node shared folder not seen on virtual server - UR

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Not true...you can create another share with the same name in W2K8 becasue of the 'scoping' functionality.

--
Chuck Timon, Jr.
Microsoft Corporation
Windows Server 2008 Readiness Team
This posting is provided 'AS IS" with no warranties, and confers no rights.

"Edwin vMierlo [MVP]" <EdwinvMierlo@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:uvOE4gwDIHA.1184@xxxxxxxxxxxxxxxxxxxxxxx

"win_cpp" <mandards@xxxxxxxxx> wrote in message
news:1192025234.033078.247740@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi Elden,

I understand the rational behind the changes.

However then it seems that the APIs are not responding as they should
be. NetShareGetInfo and NetShareAdd seem to be conflicting with each
other. I have a shared folder 'abc' on the virtual server 'vs' which I
can access using \\vs\abc. This share maps to a physical folder on the
shared drive in the cluster, the path being K:\Application\Data. Now
when I query the physcial machine i.e. the active node, machine name -
'MC1' for the share 'abc', NetShareGetInfo returns an error code
0x00000906 which is not documented anywhere. I have checked that share
'abc' does not exist on physical machine. This verification was done
by accessing machine MC1 using UNC .. \\MC1. However when I try to add
a share with name 'abc' on physical active node MC1 using API
NetShareAdd, I get error 0x80070846 i.e. NERR_DuplicateShare.

I am wondering now why should these two APIs behave in such a weird
way. If one cannot access shares on virtual server using physical
machine name in UNC and vice versa, then why does NetShareAdd return
NERR_DuplicateShare while creating a shared folder on physical active
node, with same name as that on virtual server and that also maps onto
same physical folder on the shared resource drive? Also I am confused
by the error code returned by NetShareGetInfo.

I guess this is the new behaviour in 2008... you have created share "abc" on
your virtual server "vs", which is on-line on node MC1.
Therefore node MC1 is already "hosting" a share "abc", but in the scope of
"vs"... so, you cannot create another share called "abc" on this node....




.



Relevant Pages

  • Re: UNC-Pfadangabe umwandeln
    ... Mit NetShareGetInfo() mit level = 2 ... brauchst dazu allerdings Admin-Rechte auf dem Server, der die Datei ...
    (microsoft.public.de.vb)
  • Re: Exchange 2003 to 2007 cluster migration questions
    ... have a passive node with local storage that houses the second copy of the ... a clustered mailbox server, move all the mailboxes to it, and then remove ... Exchange from the active node and rebuild it as the passive CCR node. ... 2003 mailbox servers set up in an Active/Passive cluster with all data ...
    (microsoft.public.exchange.setup)
  • HTTP Virtual Server Instance 100 Fails in Cluster 2K3
    ... I am running a Windows 2003 Server, Exchange 2003 Server Active/Passive ... One node was the Active node when one of our technicians was ... He was unable to install the BBES because proper permissions to ...
    (microsoft.public.exchange.admin)
  • RE: Problems with Active / Passive SQL cluster
    ... the active node initially,the server is set up as active/active setup. ... suddenly thee resources are now shared by the 2 nodes. ... "Zeke" wrote: ...
    (microsoft.public.sqlserver.clustering)
  • Re: SSIS and Failover
    ... Principal SQL Infrastructure Consultant ... Microsoft SQL Server MVP ... have created a dtsx that copies data from a linked server (linked to ... and puts it into a sql database on the active node. ...
    (microsoft.public.sqlserver.clustering)