Tag: image

virtual machine,virtual server

What is the virtual machine/virtual server, and why has this issue became such a needed and common solution for organizations?

The virtual machine provides a tool that can run different applications, operating systems on the same machine as if it was a physical computer. The idea is that you can install either a full VMware server (virtual server), that is designated to run different operating systems simultaneously. This means you can install several servers on one hardware machine, and they all will work fine as if they were all different physical servers.

This shows that on one hardware physical computer, we can run different servers and services, and save the cost of buying other hardware machines. This solution enables many different advantages which are not just cost-effective but more flexible and for different purposes that benefit organizations.

Virtual services for QA purposes: Usually QA (Quality assurance) department, needs to simulate a certain environment to enable the testing as close to the real environment where the application/device will be running. When you know a client has a specific network environment, or a specific server that he needs our application to run upon, we will need to do testing of our development on that environment.

The simplicity of it all is that without buying a specific hardware, installing the environment of the client on that hardware and then do out testing. We can just install the environment on a virtual server, do our testing, play around with it (since it is a server (we installed) for the testing purposes and it is not a real server that serves others) and when we are done, we can shutdown this environment we built, and clear the space for our next QA project.

Virtual servers for support: When we need to give a client support, and we stumble upon a situation where we can’t reach a solution since the client is using an environment that we do not have on our system and we want to simulate exactly the environment the client has, so we could see the same problems he encounters. We can build such an environment easy, simply by creating the virtual system the client uses, install all of the applications he is using, and then our system, to test and see what he stumble upon, and find a solution locally on our system.

Again when we are done, we can just remove that server, and clear space for a new server to be installed. This is the flexibility the virtual environment enables us to use.

Virtual servers for multiple organization services: The virtual server can run multiple servers at the same time on the same machine. There are servers organization uses, that do not need many resources to run, like a monitoring server, or a DNS server, or a DHCP server, etc…

Those servers, without the virtual environment, will have to be installed separately on different hardware machine, so for each of the server I mentioned Monitoring server, DNS and DHCP servers, we will be keeping 3 different hardware computers, and on each one, we will install a different server.

You can understand that we are keeping 3 hardware servers, for applications that probably will not even use all of the hardware PC/Server resources it will be installed on, and we will be wasting valuable resources, and of course, it occupies more space on our server room (3 servers take more space than one).

 

Virtual servers enable us to reduce cost, be more efficient, configure the exact resources and image requires for proper function and be more efficient by maximizing the use of one hardware server, with multiple solutions on one machine.

Virtual server as a reliable backup system: When we install instances/images (each instance represents a different server on a virtual machine), we can define a schedule that will save the instance snapshot or a full exported file of the whole instance.

This enables to restore into a previous snapshot, in case we caused damage to the server, or restore the image fully, in case it is malfunctioning and we can’t use it anymore, so we restore from the last exported image (which is a stored file of the whole operating system with everything on it), a process that can take around 30 minutes maybe less, depends on the size of the server and how much was installed. This saves the whole re-installation process from scratch, and re-deploy of all the necessary applications, and their configuration to make them run, as the original server

did.

Anyone who uses NORTON GHOST to keep a whole computer image backup knows how simple it makes the restore operating and of course saves time and the headache of needing to re-install re-configure everything from scratch.

These are the most important benefits of using a virtual server, and I would have to say that you will need at least one virtual server on an organization just to enable a flexible environment for IT to use, in case a quick server needs to be deployed for a very urgent project.

Tags: , , , , , , , , , , , , , , , , , ,

The most scary event we all want to avoid are computer crashes, malfunction, damage or any type of a serious disaster with our computers. Either the computer at home who stores all of our private information, maybe our most secretive data, maybe just photos of the whole family, over a 2 year period or any type of important information we would like to keep and never lose on our home computer or it is our server computers on our organization who holds the whole of the company’s operations, important info, accounting data, secret passwords, web applications, e-mail servers etc… which if for some reason we won’t have them operational, will cause us to lose our business, damage our income, and create losses to the organization, will be a great disaster. This is a scary thought.
The only solution is called “BACKUP“. It can be a backup server for servers who need to be online 24/7 and in case one falls the other is taking it place while the one who crashed is being services and gets back online and to a working state or it might be just a backup of a whole server, to avoid the process of installing it from scratch, which takes time and might cause us down time of important systems for a long period of time (usually such backup will be created at the end of the first installation of the server, after seeing it is working perfectly and before it starts storing data), such backup is called an “Image” of the server and another solution will be just data backup, which might contain data information, database data, configuration files, or any other data information that needs to be kept, and stored safely, so in case of a crash that
data can be restored.

After giving such thorough description of the problem, let’s go over the solution options, that we can take:

    1. Online Servers: There are two basic options to make your server be in high availability (keeping it online at all times).a. Creating two servers (physical ones), with exactly the same hardware and the same software, and create a sync process between them, when one of the is defined as master and the other as slave, where the master is the server who is being used, and the slave is the backup server. The master keeps updating the slave with any change of data, and so we have two running servers who are at all times exactly the same. There is also a mechanism that knows to switch between them, in case the master is not accessible due to network issues, server has crashed etc…b. The other option is to place the server on a VMWARE server. Those VMWARE servers, if they contain a VMOTION mechanism, have high availability on them, so if the server is not accessible or the VMWARE server has a problem, all of the servers on that VMWARE are moving to a new VMWARE server in seconds.
    2. Creating an Image of a computer: The Image creation is actually taking a “Photo” of your hard-disk, with all of its operating system and data, and creating an IMAGE of it, the image is an actual freeze of the whole hard-disk, and in case of a crash, we can replace a hard-disk, restore the image, and we get the exact operating system and data that where on that hard-disk, from the exact moment we took that freeze photo of it state. Mostly it is being used, after the installation has been finished, when all of the drivers (in windows) have been installed properly, so in case of a crash, the restore of the IMAGE takes a couple of minutes, instead of a whole installation process that takes hours.
      • NORTON Ghost: The most common IMAGE solution for a Windows operating system is the NORTON GHOST, which saves the IMAGE of drive “c:\” (complete copy of it) onto any type of storage you might choose (external hard-disk, NAS etc…) and in case of a restore request, that GHOST image can be restored and get us back to a working status in no time. There are other IMAGE taking solution, but they will be detailed in another article.

       

      • ACRONIS True Image: This tools enables IMAGE creating backups, with a user friendly windows application interface, it creates a full image of your hard-disk operating system, and enables easy restore capabilities.

  1. Backup of data: Well, there are many solutions for data backups, some are suitable for a windows operating system, some are for a Linux operating system and of course there are backup solutions for AS/400 or UNIX etc… but I am concentrating on Linux and Windows operating systems.

Windows Backup Solutions:

  • SyncBack – This is a backup/synchronization solution – which has a freeware/Shareware options – that enable you to save/sync your Windows files onto any drive, either an external hard-disk or a shared folder on a NAS.
  • Carbonite – This solution is an online backup service. Carbonite installs a small program onto your computer, you configure it on what you want to backup online, and it always searches those folders, and updates automatically any change in data and added files.
  • Windows backup system – Windows operating systems include an internal backup mechanism within the operating system, so if you satisfied with it, it can be sufficient as well. You can find it at the “Control Panel” of your Windows.
  • MozyHome – This is another online backup service, that enable you to store all of your files onto an online storage space. You get a 2GB
    storage space for free, extra space is for extra charge.

Linux Backup Solutions:

  • Bacula – This is one of my favorite organization’s network backup solution for a Linux environment, and the added benefit is that it can backup your Windows computer as well. On the clients you install the client side application, both for Linux & Windows clients (or a Windows Server too). Bacula works great, and you get an e-mail messages to your mailbox with the status of the backups that where done on the daily schedule. Usually the night process is being used for servers, and the daily process for clients on your network. You can use it with external USB hard-disks
    or NAS
    .
  • CronJobs – Most Linux backup procedures are based on the Cronjob mechanism built in the Linux OS. Usually it will run the processes of a shrinking tool, like the TAR (tar.gz) shrinking program. The cronjob creates the schedule,
    and on the cronjob you are placing the command that you want to run at a certain schedule. The catch is that if you need to backup other servers on the network, or servers outside of the organization, you will need to switch ssh keys, between the servers, to enable automatic ssh access to enable automatic backups.
Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Back to top