Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > File Systems > Tool to unlock files on all dfs nodes?

Reply
Thread Tools Display Modes

Tool to unlock files on all dfs nodes?

 
 
Peter van der Laarse
Guest
Posts: n/a

 
      06-04-2009
We have the following situation:
A DFS share wich contains network .NET applications. Th eDFS share is spread
over 6 DFS nodes. The applications are always in use.
If I want to release an upgrade to 1 of the existing applications I have to
check all the nodes to check if the application is in use and to unlock
locked files like dll's etc.

Is there a tool to unlock files simultaniously on all the nodes by only
going to the DFS path?

Thanks in advanced
Peter van der Laarse
 
Reply With Quote
 
 
 
 
DaveMills
Guest
Posts: n/a

 
      06-15-2009
If the application has locked a file it presumable does it to prevent the file
changing while it is using it. The only safe way to unlock the file is to close
the application that is using it.

If you have multiple replicas of a file and one is locked the replication will
not happen for that copy until the file is unlocked. When it becomes unlocked it
will replicate, is that not what you want to happen?

On Thu, 4 Jun 2009 06:45:01 -0700, Peter van der Laarse
<> wrote:

>We have the following situation:
>A DFS share wich contains network .NET applications. Th eDFS share is spread
>over 6 DFS nodes. The applications are always in use.
>If I want to release an upgrade to 1 of the existing applications I have to
>check all the nodes to check if the application is in use and to unlock
>locked files like dll's etc.
>
>Is there a tool to unlock files simultaniously on all the nodes by only
>going to the DFS path?
>
>Thanks in advanced
>Peter van der Laarse

--
Dave Mills
There are 10 types of people, those that understand binary and those that don't.
 
Reply With Quote
 
Peter van der Laarse
Guest
Posts: n/a

 
      06-15-2009
The ideal situation is indeed that everyone closes the application wich you
need to upgrade on a DFS share. Our situation is that users did not always
close their application when leaving there workstation so they lock files.
For now we go to computer management/shared folders/Open Files to close this
file's on every server wich hold a replica of the DFS share.
It would be nice we can do this with a tool by going to the DFS share and
close this open files regardless on which server the reside.
I,m also looking for a tool to delegate control to do this.

By the way; The applications are read only for the users.

"DaveMills" wrote:

> If the application has locked a file it presumable does it to prevent the file
> changing while it is using it. The only safe way to unlock the file is to close
> the application that is using it.
>
> If you have multiple replicas of a file and one is locked the replication will
> not happen for that copy until the file is unlocked. When it becomes unlocked it
> will replicate, is that not what you want to happen?
>
> On Thu, 4 Jun 2009 06:45:01 -0700, Peter van der Laarse
> <> wrote:
>
> >We have the following situation:
> >A DFS share wich contains network .NET applications. Th eDFS share is spread
> >over 6 DFS nodes. The applications are always in use.
> >If I want to release an upgrade to 1 of the existing applications I have to
> >check all the nodes to check if the application is in use and to unlock
> >locked files like dll's etc.
> >
> >Is there a tool to unlock files simultaniously on all the nodes by only
> >going to the DFS path?
> >
> >Thanks in advanced
> >Peter van der Laarse

> --
> Dave Mills
> There are 10 types of people, those that understand binary and those that don't.
>

 
Reply With Quote
 
NickT
Guest
Posts: n/a

 
      06-15-2009
I don't think there is much you can do there, as noted before if at least
one copy is unlocked you can update it and wait for replication.

The only alternative is to educate the users to close the applications or go
to the server where one of these shares exist and terminate all connections
(not ideal as data loss could result)

I might look into adding this capability to one of our tools.

-- Nick
------------------------------------------------------------------
Web site -> http://www.infinites.com


"Peter van der Laarse" <> wrote
in message news:840EF261-3CDF-4E07-8FE2-...
> The ideal situation is indeed that everyone closes the application wich
> you
> need to upgrade on a DFS share. Our situation is that users did not
> always
> close their application when leaving there workstation so they lock files.
> For now we go to computer management/shared folders/Open Files to close
> this
> file's on every server wich hold a replica of the DFS share.
> It would be nice we can do this with a tool by going to the DFS share and
> close this open files regardless on which server the reside.
> I,m also looking for a tool to delegate control to do this.
>
> By the way; The applications are read only for the users.
>
> "DaveMills" wrote:
>
>> If the application has locked a file it presumable does it to prevent the
>> file
>> changing while it is using it. The only safe way to unlock the file is to
>> close
>> the application that is using it.
>>
>> If you have multiple replicas of a file and one is locked the replication
>> will
>> not happen for that copy until the file is unlocked. When it becomes
>> unlocked it
>> will replicate, is that not what you want to happen?
>>
>> On Thu, 4 Jun 2009 06:45:01 -0700, Peter van der Laarse
>> <> wrote:
>>
>> >We have the following situation:
>> >A DFS share wich contains network .NET applications. Th eDFS share is
>> >spread
>> >over 6 DFS nodes. The applications are always in use.
>> >If I want to release an upgrade to 1 of the existing applications I have
>> >to
>> >check all the nodes to check if the application is in use and to unlock
>> >locked files like dll's etc.
>> >
>> >Is there a tool to unlock files simultaniously on all the nodes by only
>> >going to the DFS path?
>> >
>> >Thanks in advanced
>> >Peter van der Laarse

>> --
>> Dave Mills
>> There are 10 types of people, those that understand binary and those that
>> don't.
>>

>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HOW TO UNLOCK ENCRIPTED FILES Francisco Rugamas Active Directory 3 02-20-2009 06:27 PM
Unlock files/folders Kate Windows 64 Bit 7 12-06-2008 07:30 PM
Re: Does MSCS rename physical nodes to virtual nodes or does it just register in DNS? Edwin vMierlo [MVP] Clustering 0 07-18-2007 06:48 AM
unlock files that have private setting Jay Boyd Windows Media Center 1 09-13-2006 04:33 AM
unlock old files on corrupt windows XP. paul Scripting 1 01-09-2004 08:37 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59