dfs

How do I remove a folder from Windows Distributed File System?

We recently moved to a webfarm and setup dfs, only to find a beta application was creating files like there was no tomorrow. 1.2 million files were replicated across the farm, and since then we have prevented the application from creating new files, but every time we try to remove the files, it replaces them on each server because of rep...

how to create a site map/list

I need to create a site map/list,but I need the link-name to show up as well. What I mean by that is given , say , www.google.com , I need the following list to be created. Google - www.google.com Images - http://images.google.com/imghp?hl=en&tab=wi ... My Account - http://images.google.com/imghp?hl=en&tab=wi Personal Infor...

soap4r custom headers

I've been working with soap4r and trying to use the SOAP::Header::SimpleHandler, I'm trying to get it to put a custom header on the outgoing message, but I can't work out how to get it to include attributes rather than as subelements: class ServiceContext < SOAP::Header::SimpleHandler NAMESPACE = "http://context.core.datamodel.fs....

Should DFS be used to sync wwwroot?

I'm wondering if it's a good idea to use DFS to sync content across a web farm? Does anyone have any experience of this? We've used Robocopy in the past but found it a little patchy and clunky. Essentially we want to avoid having to make ten changes to content each time one file changes (this happens a lot since our site is old and usues...

Luster, Gluster or MogileFS?? for video storage, encoding and streaming

So many options and so little time to test them all... I wonder if someone has experiences with distributed file systems for video streaming and storage/encoding. I have a lot of huge video files (50GB to 250GB) that I need to store somewhere, be able to encode them to mp4 and stream them from several Adobe FMS servers. The only way to ...

question regarding php uploading

It is possible to upload a video file from my own webpage on you tube without using google.If yes how to do it? ...

Pros and Cons of DFC and DFS?

I am new to Documentum, I have to upgrade one code from Documentum foundation class to Documentum Foundation Services. Can someone provide the pros and cons of each, and good source of information to get started with it. btw, I am writing code in Java to get information from documentum. ...

How do I determine the physical file server for a DFS path?

Given a DFS path, how can I programatically determine which physical file server it maps to? ...

Finding a UNC Path on another server?

Hi, I'm need of some way of finding the UNC Path of a share via a script or command line or even a custom created program. I'm trying to automate deletion of users and the setup is a bit complicated. Home folders are set up like this: We create a folder on a Disk on a fileserver. When this folder is created, a share is automatically cr...

find nearest neighbor in recursive dfs fashion

I am trying to find the nearest neighbor in recursive depth-first-fashion. There are many elements involve prior to getting to this point, to keep it simple I have only included the section that I am currently having trouble. My idea is to find nearest neighbor to a given point based on some threshold distance, I decided to separate th...

Connectivity of a Graph

int dfs(int graph[MAXNODES][MAXNODES],int visited[],int start) { int stack[MAXNODES]; int top=-1,i; visited[start]=1; stack[++top]=start; while(top!=-1) { start=stack[top]; for(i=0;i<MAXNODES;i++) { if(graph[start][i]&&visited[i]==0) { stack[++top]=i; printf("%d-",i); ...

Checking for odd cycles in an undirected graph

Hello, I'm back with another similar question. I am currently working on a Java program that will check if a graph is 2-colorable, i.e. if it contains no odd cycles (cycles of odd number length). The entire algorithm is supposed to run in O(V+E) time (V being all vertices and E being all edges in the graph). My current algorithm does a D...

File sync or replication

Hi all, What is the easiest way to sync or replicate files over a network? I am running a few servers in a rack for load balancing and wish to mirror content. For example, I have Server 1 where I do my FTP uploads to. Server 2 is another node. The manual way is for me to also do FTP uploads to Server 2 but I am sure it can be done auto...

Distributed file System Staging Folder

Why do files stay in the staging folder even after they have been replicated? ...

Finding All Ways in FlowChart diagram ?

Hi All... I made an FlowChart diagram editor on Java. It It drows flowscharts and connect them each other and creates me two array. One of it shows connection nodes and lines , other shows connnecting elements eachother. I have to find all ways from starting Begin Two And . For example if I have some diamond for decision I have two sepe...

Explain BFS and DFS in terms of backtracking

Wikipedia about DFS Depth-first search (DFS) is an algorithm for traversing or searching a tree, tree structure, or graph. One starts at the root (selecting some node as the root in the graph case) and explores as far as possible along each branch before backtracking. So is BFS? "an algorithm that choose a starting ...

Find all cycles in graph, redux

Hi, I know there are a quite some answers existing on this question. However, I found none of them really bringing it to the point. Some argue that a cycle is (almost) the same as a strongly connected components (s. http://stackoverflow.com/questions/546655/finding-all-cycles-in-graph/549402#549402) , so one could use algorithms designe...

How can I store data in a table as a trie? (SQL Server)

Hi, To make things easier, the table contains all the words in the English dictionary. What I would like to do is be able to store the data as a trie. This way I can traverse the different branches of the trie and return the most relevant result. First, how do I store the data in the table as a trie? Second, how do I traverse the tr...

Sharing DFS via WEBDAV

I know this is easily achievable via FTP, but the users where I work aren't very tech-savvy. Users need to be able to access their files from the DFS server (\office\dfs) via a webdav site. I tried simply mapping the DFS to a directory in webdav, but no such luck. I'm getting "500.19 internal server error". I have successfully mapped a l...

writing depth first search in c

I'm trying to write depth first search in C. In the search instead of maintaing a set of all the reachable nodes I instead have to mark the isVisited field in Vertex as a 1 for visited. Here's my data structs and my algo attempt. struct Vertex { char label; int isVisited; int numNeighbors; struct Vertex** neighbors; }; ...