Archive

Archive for the ‘vps’ Category

HyperVm installation

November 26th, 2008 No comments

HyperVM is a web based application that will allow you to create and manage different Virtual Machines each with each vps having its own Operating System. HyperVM also allows you to run multiple HyperVM servers linked together providing a tree of host servers.

HyperVM advanced features allow you to manage your vps hosting from a single console. HyperVm has been optimized for allowing you to have HyperVM clustered servers from anywhere in the world. These are some of HyperVM features:

Downloading HyperVM

1. hypervm-install-master.sh
2. hypervm-install-slave.sh

* Getting Ready for Install

1. disable selinux (edit /etc/sysconfig/selinux <– change to [SELINUX=disabled])
2. setenforce 0
3. chkconfig libvirtd off
4. reboot

* Installing HyperVM

1. cd DIROFHyperVM/
2. sh ./hypervm-install-master.sh –virtualization-type=xen

If this errors during install just rerun the command and if HyperVM is already install just type yes

* Once server is booted

1. ssh into the server
2. ssh back into server cd /usr/local/lxlabs/hypervm/httpdocs/
3. Type in command prompt: lphp.exe ../bin/common/setdriver.php –server=localhost –class=vps –driver=xen
4. This can take a few minute’s to become enabled sometimes we have had issues and use service xend restart
5. In web browser to http://IP:8887 or http://IP:8888 of the host computers IPLogin is admin password is also admin change once inside
6. Once you have logged in as admin add the extra IP address on the servers to HyperVM IP POOL list
7. Go the VM tab
8. Click ADD XEN
9. Set the name vm name
10. Password
11. Number of IPs allowed to use
12. Hostname of the server
13. Gateway IP of the HOST network
14. IF you have multiple VMServers you can now select from which gateway the IP class is on
15. If you only have one leave localhost
16. Select OS
17. Click ADD
18. Select Disk quota
19. Number of backups allowed of the vps
20. Skip the next 3 they are for Openvz
21. Set VPS real memory allowed from Hosting server example: 128 256 512 all are in mb
22. CPU usage allowed from host computer in percent example of on core host: 10 20 25
23. With Single Core host you are allowed 100% if you have Dual or Quad core you are allowed 200%-400%
24. Traffic monthly in mb <— TRAFFICinGB x 1024
25. Number of IP address allowed to use
26. Check or uncheck if you allow backup schedule or backups allowed
27. Click add
28. Hypervm VPS will be installed.

Categories: vps Tags:

Virtualization Types

November 19th, 2008 No comments

There are several different forms of virtualization that need to be understood as a basis for making the right technology choice.

  • Server Hardware Virtualization. Also known as a hypervisor, Server Hardware Virtualization runs a very lightweight core operating system. The hypervisor can host independent virtual machines (VMs). This form of virtualization requires hardware that has embedded virtualization awareness capabilities. Since the hypervisor is very lightweight, there is little overhead in the system, which allows for more scalability in the virtual machines.
  • Server Software Virtualization. An operating system, such as Windows Server® 2003 or Windows Server 2008, runs an application that is able to host virtual machines. Each virtual machine runs a completely separate operating system and application set.
  • Presentation Virtualization. Centralized systems host multiple user sessions, and all processing is done on those host systems. The user sessions are isolated from each other. Only the presentation information, such as keyboard and mouse inputs, and video updates are sent between the client and the host system. The client can be a full Windows-based workstation or a Windows-based terminal device.
  • Application Virtualization. An application is isolated from the underlying operating system by means of wrapper software that encapsulates it. This allows multiple applications that may have conflicting dynamic link libraries (DLLs) or other incompatibilities to run on the same machine without affecting each other.
  • Desktop Virtualization. This is similar to Server Software Virtualization, but it runs on client systems such as Windows Vista®. The client operating system runs a virtualization application that hosts virtual machines. This is often used when a specific person needs to run one or a limited number of legacy applications on a legacy operating system.
Categories: Articles Tags:

Creating a Virtuozzo Container

November 19th, 2008 No comments

When creating a new Virtuozzo Container, the following configuration parameters are mandatory and must be selected every time:

  • Sample configuration name. Virtuozzo Containers software comes with a set of sample configurations that are installed on the Hardware Node at the time the Virtuozzo Containers software is installed. XML API provides the env_samplem/get_sample_conf call to retrieve the list of the available configurations. In the example provided in this section, the C# equivalent of that call is the env_samplemBinding.get_sample_conf() method.
  • Operating System Template. The list of the available templates can be retrieved using the vzapkgm.get_list XML API call. The C# equivalent is vzapkgmBinding.get_list call. For simplicity, we are not including this call in the example because Virtuozzo Containers for Windows currently comes with just one OS template, and Virtuozzo for Linux has one template for each supported Linux distribution. For example, the standard Red Hat Linux OS template name is redhat-as3-minimal.

The rest of the parameters that we use in this example are optional but are typically used when a new Container is created. The following sample shows how to create a Virtuozzo Container.

Sample Function Parameters:

Name

Description

name

The name that you would like to use for the Container.

os_template

The name of the OS template to use for the Container.

platform

Operating system type: linux or windows. This parameter will be used in our function to select a sample configuration for the Container. If the sample configuration is compatible with the specified platform, we will use it. In a real application, you would probably select the sample configuration in advance and would pass its name to the method that actually creates a Container. In this example, we automate this task while providing a demonstration of how to retrieve the list of the available sample configurations.

architecture

CPU architecture, e.g. x86, ia64. This parameter, together with the platform parameter (above) will also be used to determine the sample configuration compatibility with the specified CPU architecture.

hostname

The hostname that you would like to use for the Container.

ip

The IP address to assign to the Container.

netmask

Netmask.

network

Network interface ID: venet0 for Linux; venet1 for Windows. These are the standard host-routed Virtuozzo network interfaces. For other network configuration scenarios, please refer to Parallels Agent XML Programmer’s Reference.

offline_management

Specifies whether to turn the Container Offline Management feature on or off.

Sample Function:

/// <summary>

/// Sample function CreateCT.

/// Creates a new Virtuozzo Container.

/// </summary>

/// <param name=”name”>Container name.</param>

/// <param name=”os_template”>OS template name.</param>

/// <param name=”platform”>Operating system type: linux or windows.</param>

/// <param name=”architecture”>CPU architecture (x86, ia64)</param>

/// <param name=”hostname”>Container hostname.</param>

/// <param name=”ip”>Container IP address.</param>

/// <param name=”netmask”>Netmask.</param>

/// <param name=”network”>Network interface ID.</param>

/// <param name=”offline_management”>

/// A flag specifyin whether to turn the “offline management”

/// feature on or off.

/// </param>

/// <returns>Server ID of the new Container.</returns>

public string CreateCT(string name, string os_template, string platform, string architecture, string hostname, string ip, string netmask, string network, bool offline_management)

{

try {

// Instantiate the proxy class.

vzaenvmBinding env = (vzaenvmBinding)binder.InitBinding(typeof(vzaenvmBinding));

// The main input object.

create create_input = new create();

// Container configuration information.

venv_configType1 veconfig = new venv_configType1();

/* Retrieve the list of sample configurations.

* Select the first one that is compatible with the

* specified platform (Linux, Windows) and CPU architecture.

*/

env_samplemBinding env_sample = (env_samplemBinding)binder.InitBinding(typeof(env_samplemBinding));

get_sample_conf get_sample = new get_sample_conf();

sample_confType[] samples = env_sample.get_sample_conf(get_sample);

if (samples != null) {

foreach (sample_confType sample in samples) {

if (sample.env_config.os != null) {

if (sample.env_config.os.platform == platform && sample.env_config.architecture == architecture) {

// Set sample configuration ID.

veconfig.base_sample_id = sample.id;

break;

}

}

}

}

// Set OS template.

templateType osTemplate = new templateType();

osTemplate.name = os_template;

veconfig.os_template = osTemplate;

// Set Container name

veconfig.name = name;

// Set Container hostname

veconfig.hostname = hostname;

// Set Container IP address and netmask.

ip_addressType[] ip_address = new ip_addressType[1];

ip_address[0] = new ip_addressType();

ip_address[0].ip = ip;

ip_address[0].netmask = netmask;

// Set network.

net_vethType[] net = new net_vethType[1];

net[0] = new net_vethType();

net[0].host_routed = new object();

net[0].id = network;

net[0].ip_address = ip_address;

veconfig.net_device = net;

// Set the offline management feature.

veconfig.offline_managementSpecified = true;

veconfig.offline_management = offline_management;

// Finalize the new Container configuration.

create_input.config = veconfig;

// Create the Container.

return env.create(create_input).env.eid;

}

catch (Exception e) {

return “Exception: ” + e.Message;

}

}

The function invocation example:

createCT(”sample_ve”, “redhat-as3-minimal”, “linux”,”x86″, “sample_ve_hostname”, “10.16.3.179″, “255.255.255.0″, “venet0″, true );

Categories: Articles Tags:

What is burstable RAM in VPS Hosting?

November 18th, 2008 No comments

Burstable RAM can be provided to users of Virtual Private Servers. Each Virtual Private Server has a guaranteed amount of RAM that it’s able to use at all times. At times it is possible that the usage may exceed the allotted amount of guaranteed RAM available, this is when Burstable RAM comes into play. Burstable RAM is provided to the user during times of high usage or traffic. This RAM is not in use by any VPS on a server and can be allocated to any VPS that may need it as long as it is available. So as long as those resources are available, you as a user will be able to go over that limit of guaranteed RAM.

In other words Burstable RAM is the RAM your VPS has the ability to use but it isn’t guaranteed to. Basically it’s for spikes in usage not consistent usage like Guaranteed RAM. For Example your if VPS has 384 MB Guaranteed RAM, and 1024MB Burstable RAM. This means that after you have used up your guaranteed ram, there is still 640MB Burstable RAM available for burst usage. For this reason we always keep some extra memory available on each server at all times as Burstable RAM.

Burstable RAM is never guaranteed to be available and should not be constantly depended upon for Virtual Private Server operation. If your VPS constantly requires greater resources than your package guarantees, we can quickly arrange an upgrade for you to a vps hsoting plan with greater guaranteed resources.

Categories: Articles Tags:

Hardware Requirements for using VPS

November 14th, 2008 No comments

The Hardware Node requirements for the standard 32-bit edition of OpenVZ are :
1) Firstly, the computer should satisfy the Red Hat Enterprise Linux or Fedora Core hardware requirements.
2) IBM PC-A compatible computer is recommended.
3) CPUs: CPU used for VPS would be Intel Celeron, Pentium II, Pentium III, Pentium 4, Xeon, or AMD Athlon CPU. The more Virtual Private Servers you plan to run simultaneously, the more CPUs you need.

4) Memory: Minimum 128 MB of RAM. The more memory, the more Virtual Private Servers you can run. The exact figure depends on the number and nature of applications you are executing in your Virtual Private Servers. However, on the average, at least 1 GB of RAM is always preferable for every 20-30 Virtual Private Servers.

5) Hard Disk Drive: Minimum 4 GB of free disk space is recommended. Each Virtual Private Server occupies 400-600 MB of hard disk space for system files in addition to the user data inside the Virtual Private Server. It should be considered while planning disk division and the number of Virtual Private Servers to run.

6) NIC: Network card will be either Intel EtherExpress100 (i82557-, i82558- or i82559-based) or 3Com(3c905 or 3c905B or 3c595) or RTL8139-based are always preferable.A typical two-way Dell PowerEdge 1650 1u-mountable server with 1 GB of RAM and 36 GB of hard drives is suitable for hosting 30 Virtual Private Servers.

Categories: Articles Tags:

Why Virtualization: A List of Reasons

November 14th, 2008 No comments

Following are some (possibly overlapping) representative reasons for and benefits of virtualization:

  • Virtual machines can be used to consolidate the workloads of several under-utilized servers to fewer machines, perhaps a single machine (server consolidation). Related benefits (perceived or real, but often cited by vendors) are savings on hardware, environmental costs, management, and administration of the server infrastructure.
  • The need to run legacy applications is served well by virtual machines. A legacy application might simply not run on newer hardware and/or operating systems. Even if it does, if may under-utilize the server, so as above, it makes sense to consolidate several applications. This may be difficult without virtualization as such applications are usually not written to co-exist within a single execution environment (consider applications with hard-coded System V IPC keys, as a trivial example).
  • Virtual machines can be used to provide secure, isolated sandboxes for running untrusted applications. You could even create such an execution environment dynamically - on the fly - as you download something from the Internet and run it. You can think of creative schemes, such as those involving address obfuscation. Virtualization is an important concept in building secure computing platforms.
  • Virtual machines can be used to create operating systems, or execution environments with resource limits, and given the right schedulers, resource guarantees. Partitioning usually goes hand-in-hand with quality of service in the creation of QoS-enabled operating systems.
  • Virtual machines can provide the illusion of hardware, or hardware configuration that you do not have (such as SCSI devices, multiple processors, …) Virtualization can also be used to simulate networks of independent computers.
  • Virtual machines can be used to run multiple operating systems simultaneously: different versions, or even entirely different systems, which can be on hot standby. Some such systems may be hard or impossible to run on newer real hardware.
  • Virtual machines allow for powerful debugging and performance monitoring. You can put such tools in the virtual machine monitor, for example. Operating systems can be debugged without losing productivity, or setting up more complicated debugging scenarios.
  • Virtual machines can isolate what they run, so they provide fault and error containment. You can inject faults proactively into software to study its subsequent behavior.
  • Virtual machines make software easier to migrate, thus aiding application and system mobility.
  • You can treat application suites as appliances by “packaging” and running each in a virtual machine.
  • Virtual machines are great tools for research and academic experiments. Since they provide isolation, they are safer to work with. They encapsulate the entire state of a running system: you can save the state, examine it, modify it, reload it, and so on. The state also provides an abstraction of the workload being run.
  • Virtualization can enable existing operating systems to run on shared memory multiprocessors.
  • Virtual machines can be used to create arbitrary test scenarios, and can lead to some very imaginative, effective quality assurance.
  • Virtualization can be used to retrofit new features in existing operating systems without “too much” work.
  • Virtualization can make tasks such as system migration, backup, and recovery easier and more manageable.
  • Virtualization can be an effective means of providing binary compatibility.
  • Virtualization on commodity hardware has been popular in co-located hosting. Many of the above benefits make such hosting secure, cost-effective, and appealing in general.
  • Virtualization is fun.
  • Plenty of other reasons …
Categories: Articles Tags:

ABOUT VPS HOSTING

November 12th, 2008 No comments

A virtual private server (VPS, also referred to as Virtual Dedicated Server or VDS) is a method of partitioning a physical server computer into multiple servers such that each has the appearance and capabilities of running on its own dedicated machine. Each virtual server can run its own full-fledged operating system, and each server can be independently rebooted

The practice of partitioning a single server so that it appears as multiple servers has long been common practice in mainframe computers, but has seen a resurgence lately with the development of virtualization software and technologies for other architectures.

OVERVIEW

The physical server boots normally. It then runs a program that boots each virtual server within a virtualization environment (similar to an emulator). The virtual servers have no direct access to hardware and are usually booted from a disk image.

There are two kinds of virtualizations: software based and hardware based. In a software based virtualization environment, the virtual machines share the same kernel and actually require the main node’s resources. This kind of virtualization normally has many benefits in a web hosting environment because of quota incrementing and decrementing in real time with no need to restart the node. The main examples are Xen,Virtuozzo, HyperVM, Vserver, and OpenVZ which is the core kernel of both Virtuozzo and HyperVM.

In a hardware based virtualization, the virtualization mechanism partitions the real hardware resources. In typical implementations, no burst and/or realtime quota modification is possible; the limits are hard and can only be modified by restarting a virtual machine instance[citation needed]. This kind of environment is potentially more secure in the sense that it is less subject to “Quality of Service crosstalk” between VM instances[citation needed]; on the other hand, its security is typically dependent on the correctness of a larger and more complicated Trusted Computing Base[citation needed]. It is more commonly used in enterprise/commercial deployments[citation needed]. Examples include Microsoft Virtual Server, VMware ESX Server, and Xen.

USES

Virtual private servers bridge the gap between shared web hosting services and dedicated hosting services, giving independence from other customers of the VPS service in software terms but at less cost than a physical dedicated server. As a VPS runs its own copy of its operating system, customers have superuser-level access to that operating system instance, and can install almost any software that runs on the OS. Certain software does not run well in a virtualized environment, including firewalls, anti-virus clients, and indeed virtualizers themselves; some VPS providers place further restrictions, but they are generally lax compared to those in shared hosting environments. Due to the number of virtualization clients typically running on a single machine, a VPS generally has limited processor time, RAM, and disk space.

Due to their isolated nature, VPSes have become common sandboxes for possibly-insecure public services or update testing. For example, a single physical server might have two virtual private servers running: one hosting the production-level (live) website, and a second which houses a copy of it. When updates to crucial parts of software need to be made, they can be tested in the second VPS, allowing for detailed testing to be conducted without requiring several physical servers.

Virtual private servers are also sometimes employed as honeypots, allowing a machine to deliberately run software with known security flaws without endangering the rest of the server. Multiple honeypots can be quickly set up via VPSes in this fashion.

Virtual private server hosting

A growing number of companies offer virtual private server hosting, or virtual dedicated server hosting as an extension for Web hosting services. Some web hosting companies call a Virtual Private Server a Virtual Dedicated Server/Dynamic Dedicated Server or the other way around.

Managed Hosting

Tools are provided to monitor and control the virtual machine.

Unmanaged Hosting

Typically only minimal services are provided, such as ssh console and reboot. Unmanaged VPS hosting is generally less expensive than managed VPS hosting.

Unmetered Hosting

Similar to unmanaged hosting but a fixed bitrate is offered so that it is not possible to exceed a monthly budget.

Virtualization software

For some of the software packages commonly used to provide virtualization, see comparison of virtual machines.

——————————————————–

Above info received from :-http://en.wikipedia.org/

Categories: Articles Tags:

Virtouzzo VPS Hosting Friendly Facts

November 11th, 2008 No comments

Mr. Nick on WHT posted nice thread related to Virtouzzo based VPS config and formulas useful for creating virtual environments (VE)

Formulas:

Guaranteed memory = barrier of vmguarpages / 1024 * 4
Burstable memory = privvmpages / 1024 x 4
Current Memory Usage= physpages held value /1024 * 4
Current Usage (RAM + SWAP)= oomguarpages held value /1024 * 4
Disk Inodes = Number of total disk inodes. Essentially this is a total number of files and directories which can be created.
Disk Space = Total size of disk space
Numproc = Number of Processes a vps can run
Numpitent = Number of firewall rules the vps may contain

You can read more comments on Mr. Nick thread avaliable at http://www.webhostingtalk.com/showthread.php?t=679897

Categories: vps Tags:

Xen Vs OpenVZ : Performance Evaluation

November 10th, 2008 No comments

Nice discussion going on slashdot.org about performance differences of xen and openVZ.

An anonymous reader writes Compared to an operating-system-level virtualization technology like OpenVZ, Xen — a hypervisor-level virtualization technology that allows multiple operating systems to be run with and without para-virtualization — trades off performance for much better isolation and security. OpenVZ’s performance advantage due to running virtual containers in a single operating system kernel can be significant. A performance evaluation study (PDF) done by researchers at the University of Michigan and HP labs provides insight into how big a performance penalty Zen pays and what causes the overheads (primarily L2 cache misses).

From the report: “We compare both technologies with a base system in terms of application performance, resource consumption, scalability, low-level system metrics like cache misses and virtualization-specific metrics like Domain-0 consumption in Xen. Our experiments indicate that the average response time can increase by over 400% in Xen and only a modest 100% in OpenVZ as the number of application instances grows from one to four… A similar trend is observed in CPU consumptions of virtual containers.”

Read more from : http://slashdot.org/article.pl?sid=07/05/15/019251

Categories: Articles Tags: , ,

OpenVZ vs Xen : VPS Hosting Platforms

November 10th, 2008 No comments

OpenVZ (the basis for the commercial Linux platform Virtuozzo) and Xen could be viewed as competing VPS platforms, however, the truth of the matter is that they are very different - read on to find out how the OpenVZ and Xen VPS platforms work, how they differ, and why the choice of OpenVZ or Xen is an easy one to make.

OpenVZ Virtualization

openvz vps hosting

openvz vps hosting

OpenVZ is an operating system-level virtualization platform based on a single Linux kernel which has been modified to support multiple Linux virtual environments (more commonly referred to as virtual private servers).

The modified OpenVZ kernel isolates the file system, memory, and processes for each virtual environment, providing OpenVZ VPS administrators with full root access and all of the commands normally associated with a dedicated server.

Xen Paravirtualization

xen vps hosting

xen vps hosting

Xen is a paravirtualization platform which is very similar to hardware emulation. Paravirtualization works by creating an interface between the virtual environment’s operating system and the hardware which queues and responds to operating system requests from operating systems modified to interact with the paravirtualization interface.

This key difference from operating system-level virtualization allows Xen VPS administrators to modify their kernel modules, utilize swap space to meet memory allocation demands, and watch their Xen virtual private server’s boot process as Linux mounts virtualized devices.

Key Differences:

  • Xen Platform

    • Uses more resources
    • Soft memory limit (swap space with performance penalty)
    • Full iptables access
  • Xen Options

Categories: vps Tags: , , ,