How to extend C: partition in Windows 2003 server.


Scenario:

In a windows 2003 server VM which have 20GB disk size and the same you have partitioned and created a volume to 20GB in the Windows 2003 server. You identified that the Volume C:\ drive is full and not enough free space for the running application.
You increased the disk size in VM (60GB) and when you check in the disk management of that windows server there is an unallocated space of about 60GB which you try to extend for that C drive. Using diskpart command to extend the volume for C: drive you get an error message “The volume you have selected may not be extended. Please select another volume and try again.”

Solution:

1. Dell has provided a tool Extpart which is used for extending the system partition. Please click on the below link for downloading the tool.
http://www.dell.com/support/drivers/us/en/19/DriverDetails/DriverFileFormats?c=us&s=dhs&cs=19&l=en&DriverId=R64398

2. After downloading, extract the file in the c: drive and restart the server.

3. Press F8 and select the option “Safe mode with command prompt”

4. In the command prompt, go to c:\> cd dell\extpart\

5. Run the command extpart and press enter

 

6. You will be pointed to ” Volume to extend(drive letter or mount point): ”
7. Type the required drive letter c: and press enter.

 

 

 

8. You will be pointed to “Size to expand the volume (MB): “, Type the required space you have created and press Enter.
9. The Volume successfully expanded in the C drive.

My Guru


Muralidhara swamigal is my guru who inspired me from his upanyasam. By watching his speech I get more bhakthi to lord and also to him. If god bless me oneday I will be an adherent sishya (disciple) to him.

How to mount .vmdk file to a windows machine?


Scenario: You need to access a single file from flat .vmdk.  Is there a command-line tool to extract files from a VMDK file?

Solution: You can acheive this by using the tool vmware diskmount.

Download url : http://www.vmware.com/download/eula/diskmount_ws_v55.html

Procedure given in : http://www.petri.co.il/virtual_mount_vmware_virtual_disk_without_vmware.htm

 

 

Taskset – to assign cpu core required for the running process.


Scenario:

When your linux system affected with performance issue and you monitor that some of the applications are running in one cpu and other cpu seems to be idle, you can map the application to another cpu by taskset command.

 

Example:

1. Identify one pid (processID)

#ps ax |grep mysql
893 ?        Ssl    0:03 /usr/sbin/mysqld
4779 pts/0    S+     0:00 grep –color=auto mysql

2. #taskset -c -p 1 893
pid 893’s current affinity list: 0
pid 893’s new affinity list: 1

This has changed from processor 0 to 1.

Note: Is this going to speed up your system or be worth doing with all tasks? Nope. It is, however, something you can try to experiment with when you’re having performance problems or having issues with a process/application causing problems with the rest of the system.

This process can also acheived in Windows server also by using the start command. for more info

c:\start /?

General syntax: c:\start /affinity 0x3 or oxc application1.exe

VMware vCenter Operations Manager – 5.0.0 Build 554150 has encountered one or more unrecoverable errors during the initialization of the application


 Error Symptom: After deploying the Vcenter Operation Manager when I try to browse the VOM, I am getting an error message

 “VMware vCenter Operations Manager – 5.0.0 Build 554150 has encountered one or more unrecoverable errors during the initialization of the application. This deployment cannot be recovered and must be discarded. The following messages indicate the possible causes of error. If resolutions are suggested, apply them and redeploy the ovf from VMware vSphere Client that is connected to VMware vCenter and not to a VMware ESX/ESXi host directly. Contact VMware Support otherwise. Full text of the errors is available in /usr/lib/vmware-vcops/install/bootfailure.log in UI VM. No IP address found for Analytics VM in OVF properties”.

 Root cause of the problem: Installation procedure not followed properly.

Solution:

  1. Before deploying the ovf of Vcenter operation manager we should create and fulfil the IP Pools in the datacentre option. To achieve that

             a. In the inventory, select the datacenter that contains the vApp.

             b.  In the IP Pools tab, right-click the IP pool that you want to edit and select Properties.

              Fulfil the details available in the IP Pool properties.

       2.    Then install the Vmware operational manager OVF which leads to successful installation.

Ref url: http://www.youtube.com/watch?feature=player_embedded&v=pwRdGDhI0lc

Comparison between Vmware VS Hyper-V VS Citrix Xen


Ref: http://www.vmware.com/products/vsphere-hypervisor/compare.html

 

Hypervisor Attributes VMware ESXi 5.0 Windows Server 2008 R2 SP1 with Hyper-V Citrix XenServer 5.6 FP1
Small Disk Footprint

144 MB disk footprint
(VMware vSphere Hypervisor)

>3GB with Server Core installation

~10GB with full Windows Server installation


>1GB
OS Independence

No reliance on general purpose operating system
(VMware vSphere Hypervisor)

Relies on Windows 2008 in Parent Partition

Relies on Linux in Dom0
management Partition
Hardened Drivers

Optimized with hardware vendors

Generic Windows drivers

Generic Linux Drivers
Advanced Memory Management

Ability to reclaim unused memory, de-duplicate memory pages, compress memory pages

Only uses ballooning. No ability to de-duplicate or compress pages.

Only uses ballooning.No ability to de-duplicate or compress pages. Does not adjust memory allocation based on VM usage.
Advanced Storage Management

Lacks an integrated cluster file system, no live storage migration

Lacks an integrated cluster file
system, no live storage migration, storage features support very few arrays
High I/O Scalability

Direct driver model

I/O bottleneck in parent OS

I/O bottleneck in Dom0 management OS
Host Resource Management

Network traffic shaping, per-VM resource shares, set quality of service priorities for storage and network I/O

Lacks similar capabilities

Lacks similar capabilities
Performance Enhancements

AMD RVI, Intel EPT large memory pages, universal 32-way vSMP, VMI paravirtualization, VMDirectPath I/O, PV guest SCSI driver

Large memory pages,
4-way vSMP on Windows
2008 and Windows 7 VMs only

No large memory pages, no paravirt guest SCSI device, Requires inflexible SR-IOV
Virtual Security Technology
Enables hypervisor level security introspection

Nothing comparable

Nothing comparable
Flexible Resource Allocation

Hot add VM vCPUs and memory, VMFS volume grow, hot extend virtual disks, hot add virtual disks

Nothing comparable

Nothing comparable
Custom image creation and management

VMware Image Builder allows administrators to create custom ESXi images for different types of deployment, such as ISO-based installation, PXE-based installation, and Auto Deploy.

Nothing comparable

Nothing comparable
Auto Deploy

vSphere Auto Deploy enables faster provisioning of multiple hosts. New hosts are automatically provisioned based on rules defined by user.

Requires in-depth setup in Systems Center Configuration Manager

Nothing comparable
Management Interface Firewall

ESXi Firewall is a service-oriented and stateless firewall that protects the ESXi 5.0 management interface. Configured using the vSphere Client or at the command line with esxcli interfaces.

Nothing comparable

Nothing comparable
Enhanced Virtual Hardware

32-way virtual SMP, 1TB virtual machine RAM, Non hardware accelerated 3D graphics, USB 3.0 device support, Unified Extended Firmware Interface (UEFI).

4-way virtual SMP only, 64 GB RAM per virtual machine

8-way virtual SMP only, 32 GB RAM per virtual machine

Event ID 3040 – Virtual Machine name could not initialize in Hyper –V Windows 2008 R2.


Error Symptom: ‘New Virtual Machine’ could not initialize. (Virtual machine ID 7174D28E-36BF-4F7B-AB1E-FDF80980CDC0)

Event Viewer Error ID: 3040.

Solution:

This problem occurs due to the VT (Virtualization Technology) not enabled in the BIOS under CPU architecture.

To do this

  1. Press appropriate function key at the POST screen to go to the BIOS setup.
  2. Navigate to the CPU Information section.
  3. Press <Enter> and navigate to Virtualization Technology.
  4. Select Enabled by toggling the left and right arrow keys or plus(+) or minus(-) to change.
  5. Save the selection and exit the BIOS setup.