Scp Sync Between Servers
Jun 11, 2009
I have wrote a shell script that uses public keys to sync data between some servers, the problem is that moving about 20 GB from one server to another, is consuming too much CPU, about 80%. Is this normal? Should I use nice -n +number scp -p bla bla bla.. as syntax to try to get a lower cpu usage?
I'm using RHEL 5.3 on both boxes.
View 5 Replies
ADVERTISEMENT
Jul 13, 2008
Anyone having difficulties getting this to work? Can't seem to get mail to sync even after the config says everything should be working.
View 1 Replies
View Related
Aug 24, 2007
I have a web app that uses MSSQL Server 2005 as it's DB.
I am moving this web app to a new server (new IP addresses)
Once the DNS progation is complete, I need to then syncronize the data between the old DB/server and the new DB/server.
how to sync two MSSQL 2005 dbs?
Or is there another migration technique? (my hoster won't do any IP forwarding in their hardware)
View 2 Replies
View Related
Jul 21, 2007
is it possible to block sync attack?
View 2 Replies
View Related
Jul 14, 2009
We want to build a file server in our office - either Windows or Linux (doesn't make a difference to us).
We have a lot of satellite offices, and want to have certain computers have access to specific files/folders on the fileserver.
The catch is this... we would like some of our satellite computers to "sync" with the files/folders on the fileserver.
For example, a developer who is constantly working with a particular client, will always want his/her files to sync up with what is on the server.
The developer will want to work with a local copy of the files, and once finished, will upload them to the file server.
A few days go by, and there is a possibility the fileserver has additional information for that client. The developer would then want to download the changed files from the fileserver.
The benefit of working with local files, is that it is quicker to make changes. We can always leave the desktop on overnight to sync between the fileserver and the desktop.
Any suggestions what to look into here?
All of our desktops are on Windows, so we would need a windows application that has this functionality.
Rsync seems to be the closest thing I've found so far.
View 14 Replies
View Related
Aug 11, 2008
We are in the process of replacing our site & hardware (all co-located servers) and moving to a five server config with 2 Apache servers, 2 MySQL servers and a stage server (where pages are prepared). The Apache servers utilise mod_proxy_balancer and a PHP/MySQL script to connect to either of the MySQL servers which replicate with each other.
The bit I am a bit stuck on is keeping both the Apache servers in sync with eachother in terms of files (pages & images) - has anyone got any suggestions that could help with this?
Ideally, the images would be placed on the stage server and automatically copied to the 2 Apache servers. I did have one idea which was to put the images on one of the MySQL servers and use that as a file store but then if that goes down, we are in the poo so to speak.
View 7 Replies
View Related
Jul 9, 2008
I want to run Rsync to sync a folder from an FTP server - which I have limited access too with my server.
1. Do I have to have rsync installed on the server with the FTP too, as I won't be able to do that as it is not my server.
2. Is Rsync easy enough to get up and running and set it to run every 24hours?
View 12 Replies
View Related
Jan 28, 2007
I recieve the error when ClientExec is trying to send email in my rejectlog...
2007-01-28 20:53:17 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[255.255.255.255] input="EHLO host.domain.net
HELO host.domain.net
"
I added host.domain.net and 255.255.255.255 to the whitelist files and added this ACL to exim.conf after begin acl:
acl_check_connect:
accept hosts=255.255.255.255
control=no_enforce_sync
accept hosts=host.domain.net
control=no_enforce_sync
accept
If it matters, I am running CentOS4 64-bit, DirectAdmin, Kernel 2.6.18
View 2 Replies
View Related
Jun 8, 2008
I have two Plesk servers running on CentOS. I want if one server goes down 2nd will start serve requests to clients. But data should be sync from first server to 2nd server or we can say 2nd will 100% replica of first. So if one server goes down 2nd will start serve users data thats they required like databases, emails and web request.
View 1 Replies
View Related
Nov 17, 2014
When I try to unlock a subscription I get the following error message. The fact is that I have not customized any time any parameter of this subscription, but has blocked me.ERROR: Call to a member function isDefault() on a non-object (Domain.php:966)
View 6 Replies
View Related
Jun 11, 2014
I'am using Plesk 12 Web Pro Edition, I would like to know how can I sync my customers with WHMCS? I have config Plesk Server (at whmcs, module version Plesk 10/11) according to WHMCS. But I still with error and without can sync, users, domains, etc... from plesk web pro to whmcs.
View 3 Replies
View Related
Sep 28, 2008
I'm looking for a method to basically clone my plesk site to another hosting provider also running plesk, the idea is so if my site A is down, I can just re-point the dns entry to Site B, and minimize downtime.
It makes sense to me to pay 2x hosting costs so I can have a site mirrored in case the main site goes offline, then I can just switch the dns to the new host. The trick is how can I automatically keep Site B mirrored as part of site A. Using Plesk Backup doesn't seem practical as it's not automatic. Does Cpanel have a site mirroring feature?
Would something like rsync work? Doesn't this require shell access? I'm looking for best practices to be able to mirror Site A to Site B in an automatic method..
View 7 Replies
View Related
Jan 29, 2015
I have a 'Service Plan' which has 270 subscriptions associated with it. When I navigate to 'Service Plans' page, underneath my plan it reads "Unable to sync subscriptions with the service plan" along with a yellow exclamation mark.
If I go into the plan there is another message near the "Update & Sync" button stating that syncing will take time and therefore be run in the background. When I click the "Update & Sync" button nothing appears to happen. If I then click on the plan again, as if to edit the settings I get the following "Warning: Subscriptions are currently syncing with the service plan. Please wait until the sync process is finished." and it prevents me from accessing the plan settings.
If I wait a while, I can eventually get into the plan settings again, which should mean that the Update & Sync has completed. However the "Unable to sync subscriptions with the service plan" warning is still present under my custom plan on the 'Service Plans' page and if I navigate to a subscription to check if it has been updated it hasn't.
If I change the subscription plan to another plan and then change it back to my original plan again, then the changes are reflected. But this is obviously a workaround.
Why doesn't the "Update & Sync" button do as it should?
Why is my plan "Unable to sync subscriptions with the service plan"?
View 2 Replies
View Related
Dec 9, 2014
I have a subscription and I'm able to switch the subscription to a given service-plan, but I'm unable to sync the subscription with the plan, using the CLI. These are my commands:
/usr/local/psa/bin/subscription --switch-subscription <domain.com> -service-plan Hosting
result => The subscription <domain.com> is now associated with the service plan Hosting..When watching the webinterface in Plesk, I see the domain is "connected" to the service plan, so far so good. However, I notice that the subscription is not synced.
Back to the CLI, I've tried some combinations, but I can't get the subscription synced. The webbased interface keeps telling me that the subscription is unsynced. Here is what I've tried:
/usr/local/psa/bin/subscription --sync-subscription <domain.com>
And I also unlocked it (just in case it was locked) like so: /usr/local/psa/bin/subscription --unlock-subscription <domain.com>
The funny part is that the CLI tells me: "Subscription <domain.com> was synchronized with the associated service plans." but unfortenately it's not if I look through the GUI. Only if I click the sync-option webbased the subscription get synced. we have to transfer over 1000 domains and need to sync these domains with a given service-plan.
View 1 Replies
View Related
May 5, 2015
I have recently started using the slave DNS manager in the Plesk extension library. I've found that even for DNS zones that are switched off in Plesk, failed sync/transfers still try to take place between the slave and master. Why is this so?
Shouldn't turning the DNS functionality off in Plesk remove the zone from the slave DNS server?
When a domains DNS functionality is turned off, it removed the zone info from the master, but no command is issued to remove it from the slave??
Domain that is trying to sync/transfer: example.com
Plesk/Master server: 111.11.11.111
Slave DNS: 222.222.22.222
Code:
May 6 08:51:39 ns2 named[1178]: zone example.com/IN: refresh: unexpected rcode (REFUSED) from master 111.11.11.111#53 (source 0.0.0.0#0)
May 6 08:51:39 ns2 named[1178]: zone example.com/IN: Transfer started.
May 6 08:51:40 ns2 named[1178]: transfer of 'example.com/IN' from 111.11.11.111#53: connected using 222.222.22.222#53166
[Code] ...
View 3 Replies
View Related
Dec 1, 2014
I'm using the migrate tool to clone our production server to a backup server.
I'm using the following command
Code:
cd /opt/psa/bin/
./migrate --migrate-server -host x.x.x.x -password mypwd
I've noticed that the per-domain PHP settings (like open_basedir and include_path) are not transmit to the backup server. Is that the expected behavior ? I would have prefer the migrate tool to include all settings....
View 1 Replies
View Related
Mar 23, 2014
I was trying to get Active Sync running on my Windows Server 2008 R2 to be able to sync calenders, adress-books etc. with my mobile without success. With a Linux Server ot seems to be "easy" changeable like posted here: [URL]...
Need getting Active Sync running on my Windows machine? According to the steps in the mentioned post, I failed very early
1. check
2. I changed the following files: =>
"C:inetpubvhostswebmailhordeconfigconf.php"
"C:ParallelsPleskWebmailhordehordeconfigconf.php"
"C:ParallelsPleskWebmailhordehordeconfigconf.php.plesk"
with the values: =>
$conf['auth']['admins'] = array(my mail account);
$conf['activesync']['enabled'] = true;
$conf['activesync']['version'] = '14.1';
3. Rewrite:
here the "problems" start, as of course I don't have the nginx option the question is, where to place the rewrite-rules best?
4. check
5. don't know what to do here, if it even is a problem with the max connections to the imap server?
6. I can restart the mailenable service ?
7. as I have admin rights in horde now, I could do step 7!
That's it? I can't use the active sync features ...
View 1 Replies
View Related
Jan 20, 2007
I have a lot of questions here so if you can't answer them all I understand. even pointing me somewhere where I could get the answers would be appreciated; hardware sites focusing on server hardware, forums focusing on such, etc.
we plan to have three different types of servers:
- db server (self explanatory. mysql. for forums, mysql driven sites.)
- file server (lots of files around ~2-10MB, consistant 70mbps right now, but we want more room for upgrades. needs a LOT of storage room.)
- web server (lots of php files, but also static things like plain html, images, etc. also includes all misc services for the setup-- dns, etc.)
could I be given a rundown for which hardware each of the three should have? I don't need specifics, even just knowing that more ram is important here while cpu doesn't matter as much, or that the fastest disks available are a must, etc would all be valuable info for me. despite that, I certainly wouldn't mind specific hypothetical hardware configs.
for the database server I'm assuming the more ram the better. not entirely sure about the cpu? also not positive on disks...
for the fileserver, how much ram would be practical or useful? disk io will be an issue I'm because plenty of people will be pulling files at once so the disk needs to read from multiple places. scsi (and even raptors) are not an option as we need 750GB+ of space on a reasonable budget. more ram will take some load of of the disks, but how much is neccessary / reasonable?
for the web server I'm assuming cpu first, then ram, but it'll likely need less ram than the db server?
I'm more lost on the disks than anything. scsi on the fileserver is not an option under any circumstances due to $/GB. for the db & web server I'm willing to pay for scsi if the performance increase really does warrant the extra money, but I'd like to be convinced before shelling it out. if you have benchmarks geared at server hardware when it comes to disks I'd really appreciate it.
also, what's the best way to network these together when colocated? each one with a dual gigabit ethernet port and then the communications go to and from the router?
View 7 Replies
View Related
May 24, 2008
We send mail to another servers but we cant recieve mails another servers. We can't recieve with webmail and outlook.
I look logs but there is no error and our ip is not in blacklist.
there is the error in our server
[url]
linux cpanel centos 4.6
View 2 Replies
View Related
Mar 28, 2008
I was wondering if it is possible to cluster 2 web servers and 2 mysql servers with only one server working as load balancer.
I am planning to use LVS (ldirectord and heartbeat).
Let's say I have 3 IPs allocated to the load balancing server.
111.222.111.222 (Main IP)
111.222.111.223 (Web Load Balancing IP)
111.222.111.224 (MySQL Load Balancing IP)
If a connection is made to .223 it would pass the request to one of the web nodes.
If a connection is made to .224 it would pass the request to one of the MySQL nodes.
Is it possible to do this?
If not, can I run, for example, nginx on 223 IP address to provide forward proxy? (Then it would not be able to HA but the main point is to load balance so)
Also, what would be the best way to keep the data same on both web servers? This is a web cluster for a very high traffic forum with a lot of uploads every hour so it has to do real time synchronization. I heard that DRDB is only one way and not two way so I'm not going to be able to use this.
View 11 Replies
View Related
Oct 11, 2009
I am just colocating servers and managing them myself, and renting services off of them. In the future I would like to start offering dedicated servers as well. I am wondering if many companies do this, or if its more of a general practice to just setup as a reseller? The worst part that comes to mind is thinking of how to do billing for the bandwidth per month. With my setup I would only be offering flat bandwidth packages (like 2TB a month) but even so, I cant think of anyway to automate it so WHMCS knows if they went over, if so, how much, etc.
View 6 Replies
View Related
Aug 15, 2008
What would give me the best performance, to have many low end servers (core2duo) or a few high end servers (quad cores, dual quad cores).
Running everything from mysql queries to video streaming.
View 11 Replies
View Related
Aug 13, 2008
Is it possible or advisable?
View 8 Replies
View Related
Jun 22, 2009
AVR or Automatic Voltage regulation. How serious of a consideration is that to old Dell 2650 and Compaq 1850R servers?
Can I get by with a short daisy chain of simple APC battery backups mostly surge protection on one dedicated house breaker?
View 0 Replies
View Related
May 13, 2009
Wanted to start that thread today and just noticed that not only I wonders
[url]
So the question is: where can we rent servers with SAS drives in Europe?
2 or even 4 SAS HDDs (15k RPM) are really cute and we want them
Please, provide me with links with nice offers like:
[url]
[url]
(New prices are not good - [url]
netrouting.eu (only desktop CPUs atm)
...
View 14 Replies
View Related