Using fault tolerant instead of a virtual machine in standby
Hi all
I just read a little on the feet. My company offers a SaaS solution to customers. We are pretty well everything virtual. For this simple example, I will say that we have a dedicated server set up for our application we offer to customers. If something were to go wrong with the application or server (software, not hardware), we have a machine of relief that we can move to in an emergency. This requires a manual switch, change the IPs, DNS change, change firewall policies, etc. etc.
I was wondering if we could use FT to handle this. I understand that FT does not detect a failure, because it of nothing wrong with the material, but is it possible to 'push a button' and start using the copy of the virtual machine?
I also met HA tracking app. However, it seems that this option restarts just the virtual machine, which is certainly not what we are looking for. I may be wrong on the restart, however.
Any other suggestions or information?
Thank you!
Yes, if you only use one vCPU it will work the way that you season - keep in mind the secondary VM is mirrored all that primary VM does if the cause is due to a change to data in the primary VM it will be mirrored in the seodnary VM
Tags: VMware
Similar Questions
-
Get use of the resources of all virtual machines in a cluster
Hello
I have developed a measure of capacity management report that collects all the use of the resources of the virtual machines in a datacenter. The function that collects it looks like this:
def hostMemoryConsumed =]
def memoryConsumed = 0.0f
def memoryGranted = 0.0f
VMs. each() {}
VM->
try {}
memoryConsumed += vm.host.memory.consumed.current.average / 1024.0f<----- how="" to="" do="" this="" to="" get="" from="">----->
memoryGranted += vm.host.memory.capacity.current.average / 1024.0f
}
{} catch (NullPointerException e)
}
VMS is a function of type parameter VMS VMW
The works above for virtual machines in the data center, but I need it to be after cluster. I can find a cluster of virtual machines, but I'm having trouble with referring to specific values for example consumed memory and capacity.
If I change the type parameter: VMW Cluster how the metric reference would look like (see the try {})?
I don't think that a query will help me.
Thanks in advance
Erik Alm
If you want to do for a cluster, you can just get the list of virtual machines in a cluster of first and passing in your script. If you have a function for a VMWCluster you can add a parameter for "vmwCluster" that is underneath and it should give you a table (topologyObjects) that has all the virtual machines in the cluster.
QS = server.get ("QueryService") / / query Service
tquery = qs.createStatement("!) (' VMWVirtualMachine where esxServer.parent.name = "+" ' "+ vmwCluster +" "" ") .setQueryTopologyObjects (true);
topologyObjects = qs.executeStatement (tquery) .getTopologyObjects)
-
Can I use the same windows on my virtual machine?
I had windows pre-installed in my dell laptop (Latitude E6420). I did not have the cd key but I extracted using a program called Magical jelly bean key finder. Now, I have the following information on my windows installation
Windows 7 Professional Service Pack 1Product no.: XXXXXXXXInstalled from media "OEM."Product ID: XXXXX-OEM-XXXXXXXXCD Key: XXXXXXXXXXXXXXXXXXXXXXXXComputer name: XXXXXRegistered owner: XXXXXRegistered organization: MicrosoftNow, I want to install linux on my machine and use the current windows in a virtual machine inside the linux host. Is is possible if I completely uninstall this windows of my computer and reinstall the virtual machine with the same key?I'm not very familiar with this also can someone guide me what are the steps I have to take if this is possible.Hi Andre,
Thank you for your answer, but this does not completely answer my question. I also read that OEM installation does not install the same windows on another machine (virtual machine is like different machine even if I do this on the same machine) and installation of the mine is OEM type.More important still, how install windows in the virtual environment? If I format the computer and install linux, in addition to this install virualbox and install inside windows that use the cd - key and it will work. ? I doubt it because the windows is already activated in this machine.The extract of the contract (EULA) for Windows 7 and applies to the retail and OEM of Windows 7 versions. So, Yes, you can reinstall it in a Virtual Machine.
Yes, you will need to format the machine under Linux, then reinstall Windows 7 in a computer program virtual suitable as Oracle Virtual Box 4.2, VMWare Player 5.0 or VMWare Workstation. You can then use the product key located on the COA sticker to reactivate the license.
-
I installed my Hyper-V role and now wants to activate one of the virtual machines, but the key is not recognized. Should what key I use?
Hello
Your question is beyond the scope of this community.
I suggest that repost you in the Forum of Hyper-V on Technet.
https://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?Forum=winserverhyperv
Or:
TechNet Server forums.
http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer
See you soon.
-
Hi, I use 1.5 space Horizon
can someone help me by telling me where I can change the connection string for the database on the virtual machine itself.
I was away, and our stuff has been migrated databases to another server. Now my horizon does not connect because it can not find the database. I can either on the hwconfigurator.xxx.com.
Thank you
What do you see when you go to https://hwconfigurator.xxx.com?
You can try to change this property in /usr/local/horizon/conf/runtime-config.properties on your service - will (s) and the server restart of tc by using the command "/etc/init.d/horizon-frontend restart".
datastore. JDBC. URL = jdbc:PostgreSQL: / /
/saas? = stringtype unspecified -
Use of memory in the guest virtual machines
Hello
I don't have any background on VMware technology, but we are using a facility of dynamic cloud based on vCloud Director to the company where I work.
The group that operates the server publishes the offer with a 'pay per use model"of service.
This is true for the CPU resources, as we pay only what we use in the month. But in my opinion, it does not for the use of the RAM.
We have Linux VMs that allocate a 4 GB of RAM 'physical' and our monthly bills show that the RAM usage is at 100% for all the month. But when you look at the tools of memory for the virtual machine, you can see that most of the time 50% or even less is used by the guest operating system process.
This means from a user perspective the RAM price per month should be half of what we are responsible now. Ask operators on the 'question', we always get the answer that the use of the RAM is not dynamic and we need to pay for the use of 100% from the point of view of the server host.
Could someone share some light on this subject? Is there really no way to make use of the dynamic RAM as the CPU usage?
Thank you
Michael
Evening,
As a service provider, I'll let you in on the secret:
It depends on
vCloud takes care of three models of default allocation. Your provide may use other
-Pay for what you use. -pay as you use
-Allowance - you get resources, but can burst more
-Booking - you get allocated resources and is
Chargeback depends on model (in out of the box chargeback... your provider might have something custom)
Pay as you use - charged on the basis of the resources used
Allowance - remuneration based on allocation and additional for burst
Allocate pay based on booking-
There in the last two models really no way to load except full allowance (i.e. 100% cpu and RAM)
Statement, I think you have something along the lines of the compensation you are using you mixed with a price system vendor.
From my experience the resource more used in ESXi clusters in the RAM. That's really what I buy in clusters of resource... I always need more RAM. I need no more CPU. In addition, distribution of the CPU to vcloud is made via Ghz is not CPU. RAM is allocated by GB. So those set up and I think you suppliers is betting that they will always have to RAM so they charge based on usage not allocation. While CPU, they have tons while they charge by usage.
Really, it's just my thoughts... What can charge you on:
-Ghz processor
-GB of RAM
-GB of storage
How can recharge you:
-Used
-Allocated
So bottom line... they can charge by opportunity they choose not too...
It will be useful,
J
-
Make a VM use a NIC and all other virtual machines use another?
Hello, I'm trying to understand how do a virtual computer using a NETWORK card, while all my other reviews VMs share another. Having a hard time to identify ways to implement. Someone knows how to do this?
I've attached a screenshot of how my network is currently configured, if that helps.
Thank you
C
You can create another group of ports say "VM network 2" and set the grouping of NETWORK adapters active vmnic1 and vmnic0 standby (in front of your current setting). Then add this virtual machine to the network of computer virtual 2. This allows switching between the two network cards. If you want to have the assistance of a NETWORK card all the time, just put a active and other "unused" in a single port and opposite group in the other group, or at the level of the switch. Port group strategy note may substitute the switch level policy.
-
Use the diskette of esxi for virtual machines
Hello
I would like to set up a lab and I have hp g6 server but just with a single 600 GB sas disk
is it possible to install esxi on it and also use it as a storage device for virtual machines on?
I know that I can install esxi on a cool drive but if what I've said, it's possible I prefer to use that
Thank you very muchIt's true.
-
CLI can be used to assign AD accounts to virtual machines
Hi, I am interested in the possibility to use the CLI to assign accounts Active Directory for VMs. currently there are 10 virtual machines created from a template and there are 22:00. 1 AD account is assigned to each of the virtual machines. They are used for training purposes. Virtual machines are then removed and repeat the procedure. Is it possible that I can attribute the AD account name to a particular virtual machine using the command line?
Thank you
You can use the new-vipermission to assign permissions to a virtual machine.
new-vipermission -entity (get-vm SQL04) -principal "Mishchenko\dave.mishchenko" -Role "Admin"
Dave
VMware communities user moderator
Now available - vSphere Quick Start Guide
You have a system or a PCI with VMDirectPath? Submit your specifications to Officieux VMDirectPath HCL.
-
Using a USB dongle on a virtual machine in a HA cluster
I need to install software on a virtual machine in ESX 4.0 cluster, which requires a USB dongle to be fixed in order to run in non-evaluation mode. I just came across a product called AnywhereUSB which seems to be supported by VMware. Can anyone tell if they used this product, it's all good and I'm still going to be able to have this quick vMotioning of VMS, as is currently?
> I'll still be able to have this quick vMotioning of VMS, as it is currently?
Yes. You will be able to VMotion VM with USB over IP solution.
---
MCSA, MCTS Hyper-V, VCP 3/4, VMware vExpert
-
Problem using cdromdisconnect.pl to check for the use of CD-ROM on the virtual machines
I have a problem with this script, cdromdisconnect.pl and I was hoping someone could help me with it...
When I run ' cdromdisconnect.pl - my.esx.host - host list op - my.vc.host - server passthroughauth ", I get a"Host not found my.esx.host." But when I run "datacenterlisting.pl - datacenter MyDC" there 'my.esx.host' very well. Am I missing something here? Why is the cdrom script not able to find hosts when other scripts have no problem?
Any help would be appreciated.
-monkeedu
As far as I KNOW, there isn't a way to do a review on a MoRef, right on the property values. You cannot, for example, match against a property value of the table. You have to adapt your script logic. Once you have your view of system host ($host), then you must use the vm ($host-> vm) property to get a list of Virtual Machines.
You will probably need to change:
my $host_moRef = $host->{mo_ref}{value}; ####################################################################################### # Get all VMs that are currently running on that ESX Server ####################################################################################### my $vm_views = Vim::find_entity_views(view_type => 'VirtualMachine', filter => {'runtime.host' => $host_moRef}); my $numDevices = 0; foreach my $vm_view (@$vm_views) {
TO:
####################################################################################### # Get all VMs that are currently running on that ESX Server ####################################################################################### my $numDevices = 0; my $vm_view; foreach (@{$host->vm}) { $vm_view = Vim::get_view( mo_ref => $_ );
There are some optimizations I can suggest to speed it up, but its probably better to work first.
-
Because of the need to run some XP programs, I ordered Win7 Pro and installed a Virtual Machine with XP Mode.
Managed to get it going somehow, but does not connect to my home network (can't see any other computers, which seems to be common with the host of Win 7, but here, I managed to install quick links to other computers - they will not work in XP Mode), even if the Internet connection is working perfectly.
In addition, I can't find a way to share files with the host country, drive C appears to be different from that of the hosts with no common points (where it is currently stored beats me).
I can access a USB key, but only at a price to make it unavailable to the host and the attempt to release his capture when running XP Mode failed.
Hello
The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.
http://social.technet.Microsoft.com/forums/en-us/w7itpronetworking/threads
-
script to summarize the use of the total disc of virtual machines
How can I summarize sizes total vmdk (not thin) of a list of virtual machines in vc?
Hello, once again-
I see your second post. Yes, you could go that route, too. You are close to, simply add in a Measure-Object call. A little cleaned up, it would be like:
$machines = Get-Content c:\servers.txtGet-VM -Name $machines | Get-HardDisk | ` select @{N="VMName";E={$_.Parent.Name}},@{N="Capacity(GB)";E={[math]::truncate($_.CapacityKB / 1MB)}},Filename | ` Measure-Object -Property "Capacity(GB)" -Sum
How does do for you?
-
Using CLI, I would clone a virtual machine between different data centers
Hello!!
We have two data centers.
We want to clone a virtual of DataCenter1 to DataCenter2 machine.
We cannot with vSphere.
Does anyone know how we can do this? any idea?
Thank you very much
Jose.
Cloning is a feature of vCenter Server, not a host ESX (i). You need to connect to vCenter, that's why you get the error because this operation is not supported in a host ESX (i)
=========================================================================
William Lam
VMware vExpert 2009,2010
VMware VCP3, 4
VMware VCAP4-DCA
VMware scripts and resources at: http://www.virtuallyghetto.com/
Introduction to the vMA (tips/tricks)
Getting started with vSphere SDK for Perl
VMware Code Central - Scripts/code samples for developers and administrators
If you find this information useful, please give points to "correct" or "useful".
-
You can install vCenter as a virtual machine with fault tolerance
The benefits of having vCenter as a virtual machine are features such as HA and snapshots, is there a problem with having a fault tolerance enabled on a virtual machine that is the vCenter server to manage fault tolerance?
He couldn't see in the documentation for fault tolerance limits
Well...
vCenter lists 2 CPUs as required and FT only works with one...
-Matt
VCP, vExpert, Unix Geek
Maybe you are looking for
-
I have created folders and put a number of bookmarks. the next time I went to Favorites, none of my work was saved, I was back as it was before, nothing does not get lost, but has nothing. Why my files not be saved?
-
Caching server and IPv6 support
Anyone know if it is possible to configure the server for caching to work if you are using a dual stack IPv4 and IPv6 network. When running dua-stack all client devices will prefer IPv6 when it is possible so set cache server service from Apple is to
-
I want to get a dokumet so that others cannot read them. How do I?
-
Hi, I hope someone can help me! I have a Dell XPS (410, I believe) running under Windows Vista and commissioning, I get this message on a blue screen: A problem has been detected and Windows has shut down to prevent damage to your computer. If this i
-
Error code of blackBerry Smartphones: 0x8004fd2b
I recently installed the latest version of blackberry desktop mgr, and now I get an error: Error has occurred. Code error-0x8004fd2b. See the Documentation Of course, there is no such thing in the doc. Anyone has any ideas. The thing actually worke