Question scaling resources dedicated cloud servers coupled with a number of difficulties: adding memory or disk is not possible without downtime, and upgrade the disk subsystem often involves the complete transfer of all data (the volume of which can be very large) from the old server to the new. Easily move disks from one server to another is often also proves to be impossible: the reason for this may be incompatible interfaces, the use of different RAID-controllers, servers geographical distance from each other, etc. Copying the data over a network may take a lot of time, during which the service is idle. How can you transfer data to a new server, minimizing downtime of services?
We have long thought on this issue and today we present a solution to a wide audience, which seems to be the most successful.
The procedure for transferring data using the reporting method in this article consists of the following steps:
1. New server boots from external media, prepared block devices: are mapped drives are RAID-arrays;
2. Block devices are exported via a new server iSCSI - iSCSI targets are created;
3. On the old server runs iSCSI Initiator and connects to the Target on the new server. On the old server, and there are devices available to block a new server;
4. On the old server block device is added to the new server for LVM group;
5. Data is copied to the new block device server using data mirroring in LVM;
6. The old server is shut down;
7. On the new server still loaded from external media, mounted him transferred FS settings make the necessary changes;
8. New server reboots from disk, and then run all services.
If the new server encountered a problem, it shuts down. Turns on the old server, all services are still working on the old server.
Our proposed method is suitable for all operating systems that use LVM to logical partitions, and can be installed iSCSI initiator and target with.
On the server on which we carried out a pilot test of the proposed method, the OS was installed Debian Wheezy. In other operating systems can be used by other programs and commands, but the procedure will be similar.
All operations were carried out on a server Partitioning, the standard for our servers for automatic installation of the operating system. If your server uses a different disk layout, the parameters of some commands need to be changed.
Our method of data transfer is designed for experienced users who know what LVM, iSCSI. We are warned that errors in teams can lead to total or partial loss of data. Before starting data transfer, to save backups of important data on an external drive or storage.
Home PC And Cloud Solutions
Computer Solutions Blog Basically Belongs to Information and Tips About Computers Hardware and Software, Latest Information About Computers Technologies.
Thursday, 8 October 2015
Monday, 28 September 2015
How to modify a file in the VirtualHost CentOS Web Panel.
After installing Hosting Control Panel Web Panel CentOS, the first task is dancing with a tambourine turned a half-day course that greatly undermined its credibility in my eyes, as compared with the same VestaCP, because it is all the same socket is designed to make life easier for the administrator and not parse the config files and broken heads over what the author wanted to say.
The idea that he tried to tie the two domain Sata and added the first domain via the user account successfully, but when you try to add a second domain via a second account - only the first site in both domains.
Dig deeper, I tried to hang on both domains detached account, but why suddenly broken once and for all, instead of sites, the Web server began to give credit default text page Apache "HTTP Test Page powered by CentOS-WebPanel.com", despite the fact that the virtual hosts were spelled correctly. If stupid to pour content into / usr / local / apache / htdocs / is added to all domains will be given the default domain, but the trouble is that there are all of the system adjusted the like phpadmina, which is not good.
Tried all that is possible, is an educated bet and picking has not revealed that this is due to port conflict Apache, which in socket CWP already configured in three places, and that until they are brought to a common denominator, nothing will work:
Dashboard -> CWP Settings -> Edit Settings from the port is written in the form NameVirtualHost% Shared IP%:% Apache Port% in the config /usr/local/apache/conf/sharedip.conf
Shared the IP and the Apache Port esessno you specify a menu
Dashboard -> Apache Settings -> Apache Configuration ruling apache config /usr/local/apache/conf/httpd.conf where the directive Listen 80 is placed Port
Dashboard -> Apache Settings -> Edit Apache vHosts who climbs into the config /usr/local/apache/conf.d/vhosts.conf
Here all three points must be set the same port, and then your hands, you have to edit:
Change Shared IP 127.0.0.1 unnecessarily on this miserable barrel organ CWP, otherwise cocks on the external IP is the only virtual host, who is looking in the default directory / usr / local / apache / htdocs / and where the test page displays the default 'Web server Apache. And best of all commenting out the entire file, because in this case the CWP does not try to rewrite it in the apache config edits.
Register your Apache configuration directive NameVirtualHost *: 80 which would, if all other ports are the same, all the domains begin to work correctly. Without this directive, with the concurrence of all ports and SharedIP vystavlennom127.0.0.1, all domains will only show the first virtual host.
But then starts even more hemorrhagic, because of any changes in the configs, CWP overwrite /usr/local/apache/conf/sharedip.conf relevant directives, lifting all default domain, so the procedure for enabling caching Varnish, is as follows : first change in paragraphs 2 and 3 ports 80 on a thread 82 or 8181, and then put this in Dashboard -> Apache Settings -> Varnish Cache Server all parameters, then the console comment on all entries in the file / usr / local / apache / conf / sharedip.conf and restart & Varnish A Cache Apache Server: # service httpd restart # restart service varnish
With caching of Nginx also have to shaman, because when you turn caching Nginx, engine CWP writes garbage completely from the bulldozer, as well as the ports of the curve changes, because the settings and virtual hosts apache config directive NameVirtualHost *: 80 ports will have to change hands at 8181.
Thereafter /usr/local/apache/conf.d/rpaf.conf file and change the line RPAF_ProxyIPs 127.0.0.1 127.0.0.1 to your appearance the IP RPAF_ProxyIPs 37.187.114.200 and checks loaded library LoadModule rpaf_module modules / mod_rpaf .so as in my case file referred to /usr/local/apache/modules/mod_rpaf.so been absent from the folder / usr / lib64 and had perelinkovyvat to / usr / lib / httpd / modules / mod_rpaf
After that go to the virtual host config Nginx /etc/nginx/conf.d/site.ru and change settings listen 127.0.0.1:80; root DocumentRoot; on the current path to the folder with the documents of the site and all the IP listen 80; root / home / site / public_html;
The idea that he tried to tie the two domain Sata and added the first domain via the user account successfully, but when you try to add a second domain via a second account - only the first site in both domains.
Dig deeper, I tried to hang on both domains detached account, but why suddenly broken once and for all, instead of sites, the Web server began to give credit default text page Apache "HTTP Test Page powered by CentOS-WebPanel.com", despite the fact that the virtual hosts were spelled correctly. If stupid to pour content into / usr / local / apache / htdocs / is added to all domains will be given the default domain, but the trouble is that there are all of the system adjusted the like phpadmina, which is not good.
Tried all that is possible, is an educated bet and picking has not revealed that this is due to port conflict Apache, which in socket CWP already configured in three places, and that until they are brought to a common denominator, nothing will work:
Dashboard -> CWP Settings -> Edit Settings from the port is written in the form NameVirtualHost% Shared IP%:% Apache Port% in the config /usr/local/apache/conf/sharedip.conf
Shared the IP and the Apache Port esessno you specify a menu
Dashboard -> Apache Settings -> Apache Configuration ruling apache config /usr/local/apache/conf/httpd.conf where the directive Listen 80 is placed Port
Dashboard -> Apache Settings -> Edit Apache vHosts who climbs into the config /usr/local/apache/conf.d/vhosts.conf
Here all three points must be set the same port, and then your hands, you have to edit:
Change Shared IP 127.0.0.1 unnecessarily on this miserable barrel organ CWP, otherwise cocks on the external IP is the only virtual host, who is looking in the default directory / usr / local / apache / htdocs / and where the test page displays the default 'Web server Apache. And best of all commenting out the entire file, because in this case the CWP does not try to rewrite it in the apache config edits.
Register your Apache configuration directive NameVirtualHost *: 80 which would, if all other ports are the same, all the domains begin to work correctly. Without this directive, with the concurrence of all ports and SharedIP vystavlennom127.0.0.1, all domains will only show the first virtual host.
But then starts even more hemorrhagic, because of any changes in the configs, CWP overwrite /usr/local/apache/conf/sharedip.conf relevant directives, lifting all default domain, so the procedure for enabling caching Varnish, is as follows : first change in paragraphs 2 and 3 ports 80 on a thread 82 or 8181, and then put this in Dashboard -> Apache Settings -> Varnish Cache Server all parameters, then the console comment on all entries in the file / usr / local / apache / conf / sharedip.conf and restart & Varnish A Cache Apache Server: # service httpd restart # restart service varnish
With caching of Nginx also have to shaman, because when you turn caching Nginx, engine CWP writes garbage completely from the bulldozer, as well as the ports of the curve changes, because the settings and virtual hosts apache config directive NameVirtualHost *: 80 ports will have to change hands at 8181.
Thereafter /usr/local/apache/conf.d/rpaf.conf file and change the line RPAF_ProxyIPs 127.0.0.1 127.0.0.1 to your appearance the IP RPAF_ProxyIPs 37.187.114.200 and checks loaded library LoadModule rpaf_module modules / mod_rpaf .so as in my case file referred to /usr/local/apache/modules/mod_rpaf.so been absent from the folder / usr / lib64 and had perelinkovyvat to / usr / lib / httpd / modules / mod_rpaf
After that go to the virtual host config Nginx /etc/nginx/conf.d/site.ru and change settings listen 127.0.0.1:80; root DocumentRoot; on the current path to the folder with the documents of the site and all the IP listen 80; root / home / site / public_html;
Thursday, 22 January 2015
How to Move cursor with keyboard
How to Move cursor with keyboard.
Sometimes we by the mouse in low quality or old mouse would be out of order then we faces many difficulties to operate our computer, we not do proper work on our computer in this case because mouse is the soul of our computer and we can’t operate it without a mouse that’s why there is work very slow and it’s time to need to use windows features.
If any computer’s mouse gone out of order we can work with computer’s keyboard for that some instructions given bellow.
1. Go to start menu.
2. Click on control panel.
3. Click on ease of access center.
4. Click on “Make the keyboard easier to use”.
5. Check on “Turn on mouse keys”.
6. Click on Apply button.
Now you can close all windows which are opened and press button “Numerical Lock” on keyboard, now its ready to use mouse by numerical keys of Keyboard.
Friday, 16 January 2015
How to Start Streaming in Windows 7
How to Start Streaming in Windows 7.
If you want to stream from your pc to other network that its necessary that you should have much knowledge about networking then you will success in streaming from your computer to other computer but now you are informed some tips about streaming in windows 7.
Media player of windows 7 can streaming from your computer to other computer by networking.
Here give below some hints for you to streaming.
1. Go to start menu.
2. Click on All programs.
3. Click on Windows Media Player.
4. There is Streaming option top right of media player.
5. Turn on media streaming and fallow other easy instructions by media player.
Note: This service of media player works with network work only.
How to Lock Partition or Drive for Permanent security.
How to Lock Partition or Drive for Permanent security.
Sometimes we need to lock some files, folders or drive but we don’t have that software which work its strong security. If there is installed Windows 7 operating system in computer then we don’t need to any other security software because there is own security in Windows 7, so we can use its own security be named “BitLocker”, by BitLocker we can lock and drive of our hard drive with full security.
For Permanent security of drive some steps given below for your guidance.
1. Open My Computer.
2. Select drive which you want to keep secure.
3. Right click on that drive.
4. Click on “Turn On BitLocker”.
5. Click Check in “Use a password to unlock the drive”.
6. Give two times, password for security and click next.
7. Fill other formalties.
The “BitLocker” takes some time and it work after restart of windows, you get your selected drive locked. For unlock that drive, open locked drive and give password.
Subscribe to:
Comments (Atom)




