Lets Design, Implement and do Administration of ESX3

Virtualization with VMWare Infrastructure 3.0

Archive for the ‘VM Creation’ Category

Basic System Administration -Part 04

Posted by Preetam on March 25, 2007

If you remove users from the VirtualCenter domain, they lose permissions to all objects in the VMware Infrastructure and will not be able to log on again. Users who are currently logged on and are removed from the domain retain their Vmware Infrastructure permissions only until the next validation period (the default is every 24 hours)

Vmware doesn’t not explicitly restrict users from with same login and password from accessing and taking action within the VC.

If you rename user domain account, it becomes invalid in VC and same applies to group but before that(for groups only) you need to restart virtucal center.

Following activities can be scheduled as Tasks

  • Change the power state of a VM
  • Create a VM template
  • Move a VM with Vmotion
  • Create a VM
  • Make snapshot of VM
  • Customize VM
  • Add a Host

When you remove an object (such as a folder, datacenter, cluster, or resource pool), VirtualCenter removes all child inventory objects (such as datacenters, clusters, hosts, and virtual machines contained within the object). All the associated tasks and alarms are also removed. Assigned processor and migration licenses are returned to available status. Virtual machines that were on a managed host remain on the host, but are no longer managed by VirtualCenter.

This was the last part of the series from basic administration task,this pdf is in more details and end in 364 pages. There should be more information which be might be useful for VCP. I might add more to this series soon.

Advertisements

Posted in Advance Concepts, Virtual Center, VM Creation, VM Management, VMWare | Leave a Comment »

Basic System Administration

Posted by Preetam on March 24, 2007

Bullet points from Basic system Administration Guide -Part01

  • The text is sent as a notice message to all active session users and to new users when they log in. The MIB definition files can be found at C:\Program Files\VMware\Vmware VirtualCenter\MIBS when the default installation directory is used.
  • You can perform migration between datacenters, the root folder is set as a default for every virtualcenter server, you can change the name but not add or remove it.
  • ESX SERVER SUPPORTS 5 DIRECT, CONCURRENT VI CLIENT CONNECTIONS
  • When you add multiple ESX servers to Virtual Center, VC will identify any naming conflicts that exist between virtual machines and alerts system administrator, who can rename virtual machines as necessary. The name can be 80 character long and may contact underscore,hypen.
  • Disconnecting managed hosts differs from removing it, when you disconnect it; virtual center monitoring activities are temporarily suspended. When you remove it, VC stops are monitoring and managing functions of that managed host. Hosts and all VMs on the host are removed from the inventory but historical data is not removed from VC database.
  • When adding or removing hosts, make sure NFS mounts are active, if NFS are unresponsive, the operation fails.
  • Systems with dual-core processor (two CPU cores in each processor) must use ESX server 2.5.2. VC licenses are issused by pairs of processor packages not by processor cores. Host can be removed from the cluster only if all of the virtual machines on it are powered off and host is placed into maintenance mode.
  • The Virtual CPUs page does not appear if the host is single-processor or the guest operating system does not support SMP (for example, NetWare and Windows NT 4.0)
  • When you map a LUN to a VMFS volume, virtual center creates a file that point to the LUN.Encapsulating disk information to the file allows VC to lock the LUN so that only one Virtual Machine can write to it.

 


Posted in VM Creation, VM Management, VMWare | Leave a Comment »

VMware -VM Management

Posted by Preetam on February 19, 2007

You can move VM’s between ESX servers. Moving VM’s when they are power off it is called Cold Migration. So what would be Hot Migration, nothing but VMotion. We will deal with it in more details in later posts. Cold migration of VM gives you option to move the files to different datastores, but in most cases Datastores are shared and ESX shouldn’t have problem in accessing those files. In case situation where it is not possible to access these files, files are also moved along.

So when you perform Cold Migration ?

  • When you would like to move VM’ to local datastore of ESX server
  • And when VM’s are to be moved to two different CPU families
  • Or when are upgrading your ESX hosts

Adding Devices:

VM need to be Power Off for adding most of the devices, Except for Hard disk, which is called Hot Plug. In case you need to add additional NIC, you can do only when the VM is power off. In order add device, Power off VM. In the summary tab, click Edit settings, VM properties are displayed. Click on add hardware Wizard and select the device you would like to add.

Adding SCSI Device

Select Device, remember to tick Device Status 

Select Device to be mapped on VM

Summary to finish

More Information:

http://pubs.vmware.com/vi301/wwhelp/wwhimpl/js/html/wwhelp.htm and Search for add device

Posted in VM Creation, VM Management, VMWare | Leave a Comment »

VM Provisioning

Posted by Preetam on February 16, 2007

Template is used for provisioning of VM’s in VMware. Provisioning is inbuilt feature in VMInfra 3.0. Technically Template is a VM which cannot be powered ON. Templates/VMDK can be stored in Monolithic form or sparse file format.

What is monolithic or spare file format ?

lets take a example:  If you create a monolithic file format of 16 GB, totally 16 GB is claimed  at one go, But if you create sparse file format 16GB will be consumed as and when it is utilized. Templates can be stored in NFS/SVC Console/VMFS

Templates can be created in two ways

  • Clone to template – Original VM is retained.
  • Convert to template – converts VM to template

DEPLOY VM FROM TEMPLATE

 Connect to Virtual center via VI client

Change the view to VM and Templates

Right click the template and select deploy this VM from this template.

Wizard will ask you VM’s Name and Host on which you want to put this VM

Next select resource pool

Last you get option to customize OS.

You can select YES /NO depending upon your choices.

1) Select Template

2) Select Datacenter and ESX Host

UPDATING TEMPLATES:

In case you need to include latest Hotfix/Patches into templates, you easily do it. In order to achieve this task. Select template and select convert to virtual machine. Once VM is powered ON, apply patches and etc. Convert the same VM back to template.

Posted in VM Creation, VM Provisioning, VMWare | Leave a Comment »

VMWare -VM Creation

Posted by Preetam on February 16, 2007

The virtual Machine’s display name is used to name the files of the Virtual Machine itself. Therefore avoid using special characters, including spaces, in the VM’s display name.

When you create virtual machine you have by default 6 PCI slot, one reserved for Video Adapater and therefore effectively you have 5 to work on.Virtual chipset is Intel 440X-Based motherboard with an NS338 SIO chip. This ensure wider range of OS compatibility.

RESOURCE ALLOCATION TO VM:

Maximum of 16 GB RAM and 4 CPU can be allocated to VM. But it is recommended against allocated more than 1 CPU to VM unless and until application on VM is going to make use of it. More CPU is allocated, more hard CPU scheduling has to work, which might cause overburden on Physical CPU.

VM Creation:

In order to create VM you need to have following details handy

  • Location where to Store VM’s files. i.e. VMDK file
  • Location where the ISO Image of the Guest OS is kept.
  • VM’s Name, it Location in Datacenter
  • Number of Processor,Memory Allocation,Disk Size
  • NIC to connect to
  • Virtual Device Node and Disk Mode

What is Disk Mode?

In simple word they way you wish VM to react to changes made to it. If you want to those change permanent select Persistent Mode or select Non-Persistent mode. In non-persistent mode, all changes made to VM is lost when you powercycle VM. Both Persistent and Non-Persistent mode comes under Independant category. There is other category called as Snapshots. Snapshots is selected by default and it allows to take snapshot of disk, you can restore the snapshot, in case you had undesirable result of changes you made.

Virtual Device node asks how you wish to connect VMDK to VM.

More detail Information is available at http://pubs.vmware.com/vi301/wwhelp/wwhimpl/js/html/wwhelp.htm

Step-By-Step Procedure for creation of VM ScreenShots

1) Virtual Machine Name and Select Datacenter where VM should reside

2) Select ESX server which will Host VM

3) Memory selection

4) Where your VM files, configuration files resides

5) Select OS version to Install

6) Select NICs and remember to select connect a power ON

7) Select disk Capacity

8) Select destination where you wish to store VMDK

9) Select Virtual Disk Node

More information in detail is availabe at http://pubs.vmware.com/vi301/wwhelp/wwhimpl/js/html/wwhelp.htm

Posted in VM Creation, VMWare | Leave a Comment »