Discussion:
Tool to unlock files on all dfs nodes?
(too old to reply)
Peter van der Laarse
2009-06-04 13:45:01 UTC
Permalink
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
DaveMills
2009-06-15 05:30:29 UTC
Permalink
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
Post by Peter van der Laarse
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.
Peter van der Laarse
2009-06-15 12:55:01 UTC
Permalink
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.
Post by DaveMills
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
Post by Peter van der Laarse
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.
NickT
2009-06-15 21:10:47 UTC
Permalink
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
Post by Peter van der Laarse
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.
Post by DaveMills
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
Post by Peter van der Laarse
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.
Loading...