Page 1 of 1
Server issue
Posted: Tue May 31, 2005 5:22 am
by S_henry
In my system, i want to use 3 server. 1 as a main server to install the system, and another 2 server (eg. Server A and Server B) is to store backup file and database. In my system (on main server), i want to make 1 function to get the count of files stored on each server(can get through database). For example, through main server, i can get how many files was stored on Server A and Server B. Anybody got any idea about how to do this pls?
Posted: Tue May 31, 2005 7:43 am
by Burrito
since they're not on the same server, you're going to have to use ftp or ssh or the like to get a count of the files on the "remote" servers' file systems...
Posted: Tue Jun 07, 2005 4:22 am
by S_henry
Can anybody tell me a bit more details about this? Or maybe can give any link related that can help me? Sorry, actually i'm very weak in this part.
Posted: Tue Jun 07, 2005 5:25 am
by timvw
How hard is is to do a websearch on "php ftp" or "php ssh"?
Anoter option is to install NFS or SMB. This way you can mount the drives as if they were part of your local filesystem. More info available via your favorite websearch engine.