Best practices running like a virtual Linux machine

We are a boutique Wintel and decided to start looking to support Linux guests.  I have no real knowledge of linux and how it works as a guest operating system.  Are there recommended for installation, configuration and performance around Linux?

I found a few documents (http://www.vmware.com/files/pdf/linux_install_config.pdf and http://www.vmware.com/pdf/vi_performance_tuning.pdf), but wanted to get some opinions of real life.  I also know that's a broad question, but what is the typical Linux deployed VM in regarding resources.  Would be a 2vCPU be 4 GB of RAM by default good installation? I know most of the answers will be 'it depends', but I'm a real novice with linux all suggestions and criticisms are welcome.

Our environment:

vCenter4.0.0U1

ESX4.0.0U1

2 8 nodes on IBM x 3650 M2 Intel x 5570 (16 processors, logical and 128 GB of RAM by)

Emulex HBA connection to a Hitachi USPV

More information can be provided, if necessary

Thanks again!

I also propose to use distribution supported (just to get support is that something goes wrong) and always install the VMware Tools.

Do not use VMI on 32 bit, cause in the future is removed.

You will also find a lot of tuning, like this:

http://www.fewt.com/2008/06/performance-tuning-VMware-Server-on.html

But I saw no difference, so I suggest to keep things simple and just install the VMware Tools, use supported distro, do good design VM (minimum number of vCPU, good Mem,...)

Also note that Linux usually use vRAM in an aggressive manner (compared to Windows 2003).

André

Tags: VMware

Similar Questions

  • corrupted virtual linux machine flight

    not sure if it's a matter of linux or vmware... but I'll post here first.

    at home I have free ESXi 5.1 running and a synology NAS with linux virtual machine. recently, power got accidentally turned off on the synology and the linux VM have some problems of corruption.

    they can start but not completely trying to unmount a volume to run fsck results in this particular target busy, so cannot run fsck on this target.

    is there a tool vmware as fsck that run on the virtual machine, while the virtual machine is powered down to solve the problems of corruption since I can't umount the volume I need trouble?

    Never mind. has been able to get networks part-time running on the virtual machine in maintenance mode and copied "testdisk" to the virtual machine. they are corrupt, but I was able to get a disk image of the two copied on my synology. config files and documents that I need are there and intact. had a recent backup but no worries now.

    then the devil to obtaining these VM to run I will install the new virtual machine.

  • Virtual Linux machine shrinkage

    Morning guys, Happy New year!

    I have one machine virtual linux with vmware tools installed but I can't reduce the disk.  I tried to make the list of disk/usr/bin/vmware-toolbox-cmd and the cottage without mount points.  Then I also try to make a shrink disc / and I get unsupported mount point.

    Any ideas?

    In Linux VM I usually cut my virtual hard drives manually.  First of all, I'm about to shrink by zeroing on the free space on the guest operating systems files system and then the host use vmware-vdiskmanager to preform the shrink.  We consider that the VM has no snapshots.

    In the Linux guest operating system in a Terminal:

    cat /dev/zero > wipefile.tmp; sync; rm -f wipefile.tmp
    

    I used to do the command above as root or as applicable to precede with sudo.

    In addition, if the disk has several partitions, I for each partition.

    On the host in a Terminal, I then use vmware-vdiskmanager with the following syntax:

    vmware-vdiskmanager -k myDisk.vmdk
    

    Note that the free space on the disk was first handed to zero one can then use the VMware Fusion GUI Clean Up vs basic disk using vmware-vdiskmanager however I prefer to use the command line.

  • BKP virtual Linux machine

    Hello

    I need help,

    I can't hold a bkp machine virtual linux, using files, FullVM and VCB?

    Virtual machine with windows I can perform successfully.

    Is there a document I can verify my problem?

    Thank you

    If you consider any useful comment please assign points

    ---

    VMware vExpert 2009

    http://blog.vadmin.ru

  • Best practices for backup of virtual machine.

    Hello guys,.

    I have a question about the virtual machine snapshot backup option.

    In our environment, we use symantec netbackup and it is managed by an administrator of aid. It has implemented the process in a way where the snapshot of the virtual machine is scheduled and then the snapshot is saved in netbackup daily. Once the snapshot backup process is completed, the snapshot is deleted.

    My concerns:

    1 - remove the snapshot - wouldn't it increase the size of the virtual machine every day?

    2 - is enough to restore the virtual machine snapshot disaster?

    3. what happens if a virtual machine has a lot of snapshots?

    Please help.

    A snapshot (delta) file contains only data blocks that have been changed and a reference to their original location in the virtual disk Basic. Maybe http://kb.vmware.com/kb/1015180 helps to clarify this.

    André

  • Conversion of the virtual Linux machine

    Hello

    Just a quick question for this one. When you configure the conversion process for a VM linux to help ' centre of VMware converter standalone 5', I noticed that there is no option to sync after conversion. I'm guessing that there is something fundamentally different that could explain this and apologize if I should have watched it. My question is why is this? Can we do it manually after the conversion, or y at - it no need conversion? If so, why?

    Thank you

    Unfortunately, it is correct.

  • Virtual Linux machine alignment

    As we know, EMC Clariion SAN recommended alignment offset is 128 blocks (64K). We were lining up VMs Windows for a long time, but I just now who goes back and fixing of our older RHEL models must be perfectly aligned. I added a new disk and used gparted to copy the boot in sdb sbd1 = sda1 partition, by assigning DO NOT round in the nearest cylinder and leave 1 MB of previous free space (= 2048 offset, a multiple of 128/64). I then copied the other partitions, reinstalled grub, etc.. All boots & seems good. Common things. However, I notice that fdisk warns now "Partition 1 does not stop the cylinder limit." Is - it just the planned warning because it is not rounded on what he thinks are the cylinders and can therefore be ignored? Or am I missing a step necessary/logic in my approach? Thank you!

    Fdisk of default reasons by the cylinder in its output.

    If you align to 128, you are probably put an end to your partition in the middle of a cylinder. And the following will begin in the same cylinder, which gives the warning message (false).

    If you run fdisk with switch-u (eg. fidsk-lu / dev/sda) you will get instead of the output based on sectors, and you will see that the first partition ends at xxx sector while the other starts to sector xxx + 1.

    It is the most important.

    I asked about the scores coming in another thread without some answers, but I'm sure it's the right approach to align also those.

    My lines of kickstart, just to be perfect, as alignment guidelines are kind of these, inserted inside the % pre section:

    (/ start of the 100 M, then a PV of disk space remaining; empty lines are actually return commands fdisk...)

    1. Clear the mbr

    If DD \u003d/dev/zero of = / dev/sda bs = 512 count = 1 2 > > $LOGFILE

    Fdisk/dev/sda < <-TXT > > $LOGFILE 2 > & 1

    n

    p

    1

    + 100 M

    x

    b

    1

    128

    r

    n

    p

    2

    t

    1

    8th

    w

    TXT-

    SECSIZE = $(fdisk-lu/dev/sda | grep sda2 | awk '{print $2}' 2 >> $LOGFILE)

    Export NEWSECSIZE = $(expr \ ($SECSIZE/128 + 1 \)------* 128 2 > > $LOGFILE)

    Fdisk/dev/sda < <-TXT > > $LOGFILE 2 > & 1

    x

    b

    2

    $NEWSECSIZE

    r

    w

    TXT-

    Then, inside the section on partitioning, I

    part/boot - fstype ext3 - onpart = sda1

    part pv.01 - onpart = sda2

    volgroup VolGroup01 pv.01

    ECC to define logical volumes.

    Bye,.

    Gianluca

  • Multiple NICs on a virtual single linux machine

    It seems like it should be simple, but when I assign two adapters for a virtual machine linux simple, the virtual linux machine stops as soon as it finishes the set-up and the fact over and over again endlessly.   He made a clean shutdown, I look at the console, I see it start to stop all the services at the time wherever he gets all a started.

    It started as soon as I added a second network adapter, and the problem disappeared as soon as I removed the network card.

    What I'm trying to do, is to have a second network adapter on a separate network that I use to communicate with one another physical machine on my network using a static internal ip address.

    I have set up a separate virtual switch, which possesses the second network card are entrusted to him.   There is only a single guest that uses this adapter.    Does anyone have any ideas why this would cause CentOS5 keep close and restart constantly?

    Sorry, in my previous message, actually one-liner I wasn't very clear.

    I mean, what happens when you configure the virtual computer with a second NETWORK adapter, and then restart the virtual machine in Single-user Mode od recovery mode?

    Is the virtual machine responds the same way or not?

    The idea is to start the VM with less service so that it continues to run and you will be able to do research on the second NETWORK card

    Paul Grevink

    Twitter: @PaulGrevink http://twitter.com/PaulGrevink

    If you find this information useful, please give points to "correct" or "useful".

  • Best practices for virtualized file servers?

    Hello

    I wonder if anyone has a best practice ideas for a virtualized file server.

    I need to virtualize file server Windows 2003 with data from the 400GO file. Virtual machines are stored on an ISCSI SAN (MSA2012i). There is plenty of space on the VMFS

    I'm trying to decide if it will be better to put the data from file server (IE file shares) on the VMFS as a virtual drive or the data to another volume of SAN and present it to the file via ISCSI initiator server.

    I know that I can do both - I'm looking for some advice.

    Any suggestions greatly appreciated.

    Hello and welcome to the forums.

    How will you do your backups?

  • Pop - ups without closing after downloading files using webutil_file_transfer.client_to_as_with_progress on linux machines

    We have an Oracle application that runs on windows and linux machines based on the forms. Application server is database to Oracle 11 g and 10g.

    There is a feature of the application where the user can download his files to the application server, as well as in the database.

    When transfer us files by accessing the application in windows (Internet application), and then download the feature works very well.

    When we transfer files by accessing the application on linux machines, then also download files get stored on the database and application server and features works.

    However, as soon as the download starts a pop-up is launched by displaying the message like "upload to the application server is in progress."

    These pop - ups are not get closed even when the file is downloaded to the application server.

    Can you please let me know how to deal with this behavior

    Application server is database to Oracle 11 g and 10g.

    And you release Forms?  We can only "Assume" you use form 10g since you are using Oracle Application Server (OAS) 10g.  But of course you "Assume" you use OAS 10g since you specifically mentioned.

    Since you have a deployed Web app forms, it would be also useful to know-your-client Java and browser versions.

    We have an Oracle application that runs on windows and linux machines based on the forms.

    When we transfer files by accessing the application on linux machines, then also download files get stored on the database and application server and features works.

    However, as soon as the download starts a pop-up is launched by displaying the message like "upload to the application server is in progress."

    WebUtil is a single library of Windows.  While some of the methods in the library will work on non-windows clients - they are not guaranteed to work on non-windows clients.

    These pop - ups are not get closed even when the file is downloaded to the application server.

    Since you are actually able to get this method to work, I suggest you check the version of the Client operating system and if it's Windows, use the Client_To_As_With_Progress() method and if it's not Windows, then simply use the Client_To_AS() method.  The other option would be to implement a Javabean to file transfer (A FTP Java Bean - Oracle Forms PJCs/Java Beans) in your form that works with any version of operating system Client.

    Craig...

  • VMware Consolidated Backup, LInux Machines go read-only

    We have a strange problem, the scenario is as follows:

    3 knots x 3650, hba qlogic, Vmware 3.5 Update 4

    1 SATA ds3400 dual ctrl

    1 x 3650 dedicated to the VCB nodes

    A lot from time to time, virtual Linux machines, VCB has completed the backup, rest with the read-only file system, the only chance to solve the problem is to restart the virtual machines: we already checked the vmware tools and are all up to date.

    Any suggestions?

    Thank you very much

    As a general rule, it is not realistic to adjust the waiting times for the LSI or buslogic drivers scsi as they would need to be recompiled. To my knowledge there is no kernel option, you can pass to them on this issue. Some versions of redhat specifically deal with it is bad and flipping in read-only mode. I think RHEL 4 U4 and precedent are touched by this, U5 has been set, and the problem was inexplicably re-introduced in U6 (I hope those updated numbers are right, I have to look back through my SRs to understand). If I were you, I would look at the upgrade to vSphere 4 that has a couple of cool things.

    1. new options scsi (LSI SAS, paravitual SCSI driver pvscsi virtual controller)

    2 VMFS 3.33 (which will require you to reformat your LUN with the new VMFS however) has up-to-date SAN attempts, which means that wait times do not necessarily make the LSI/Buslogic controller in the first place and will be dealt with at the level of the VMFS layer. It is possible that you could put a LUN with the VMFS 3.33 using host vSphere 4.0.0 and not spend the rest of your hosts, but I'm not positive on this one here.

  • File system: best practices

    Hello, all!

    What file systems (OS) should be used to store data files (best practices)?

    Thank you for advice!

    user13299586 wrote:
    Hello, all!

    What file systems (OS) should be used to store data files (best practices)?

    Hello

    Linux: ext3
    Solaris 10: zfs

    For the best performance on ext3, you want to set the following (if possible):

    sysctl-w vm.dirty_background_bytes = $((10*1024*1024))
    sysctl-w vm.dirty_ratio = 40
    sysctl-w vm.dirty_expire_centisecs = 1000

    In addition, put those in /etc/sysctl.conf to make them permanent.

    On ZFS.

    Set zfs:zfs_no_write_throttle = 0x1

    or

    Set zfs:zfs_write_limit_override = 0 x 2000000

    Charles Lamb

  • Machines and ESXi ESXi virtual memory best practical considerations

    We have a new Infrastructure built current and capacity planning that happens. It would help if someone can provide me with best practices on the hardware requirements while building ESXI hosts.

    See the technical white paper for a bit more on this topic below.

    https://www.VMware.com/PDF/Perf_Best_Practices_vSphere5.5.PDF

  • Can be completely protected from infecting your host PC if you are running in a virtual machine?

    I would like to know if you can run a virtual machine and keep the invincible host against malware. What are the best practices to configure such an environment? How to share data between the host and the virtual machines and still stay safe?

    Nope, it will be some protection for your host PC, but not a complete protection.  Many viruses can travel on a local network and infect "nearby" machines and your host would be a.  You must use the same computer security practices in a virtual machine as you would in a real machine.

  • is it a good idea to run the JAVA virtual machine inside the hypervisor?

    If I want to write a global user inside the hypervisor platform and you want to reuse some java lib, it's a good idea to install and run the JAVA virtual machine as part of global programs of the user inside the hypervisor? Thank you.

    Maybe you listen to the wrong people?

    The ESXi hypervisor is pretty well stripped of the linux console you are talking about, there is a thin busybox linux like environment, but you are strongly advised not to run anything in there.

    Performer of applications within this console may have all kinds of side effects such as severely affect the performance of your computer virtual guests.

    Why the hell would you want to run the JAVA virtual machine inside the hypervisor? What is the reason why you want to do this? If it's because you get a better return, then you're wrong, the console becomes just a little bit of resources available on your host computer.

    If this is to go directly to the features that the hypervisor provides then the VMA we're talking is the answer.

    So getting back to your question initial for EACH use case that I can think it's a very bad idea.

    --

    Wil

Maybe you are looking for