Chia Sẽ Kinh Nghiệm Về IT



Tìm Kiếm Với Google
-


Gởi Ðề Tài Mới  Gửi trả lời
 
Công Cụ Xếp Bài
Tuổi 26-07-2013, 04:09 PM   #1
hoctinhoc
Guest
 
Trả Lời: n/a
VMware Fault Tolerance là gì, cách triển khai và kinh nghiệm quản lý VMware FT
VMware Fault Tolerance là gì, cách triển khai và kinh nghiệm quản lý VMware FT

Mình mở topic này để mọi người cùng thảo luận – chia sẻ kinh nghiệm khi triển khai Vmware Fault Tolerance (FT)




+ Mục đích của VMware FT (Fault Tolerance) : Đảm bảo Virtual Machine Server không bị gián đoán khi 1 Physical Host faile. Tức downtime của Virtual Machine Server = 0.

+ Chú ý : Vmware FT hiện tại mới chỉ hỗ trợ 01 vCPU, một số tính năng sẽ ko xài được khi ta xài FT như snapshot, DRS, Vmware storage vMotion.

+ Điều kiện cần để triển khai FT :

- FT cần có Vmware HA
- Đảm bảo Host redundancy có đủ tài nguyên cho Virtual Machie (Secondary)
- VMWare Storage
- Vmware HA không thể dùng hỗn hợp bao gồm ESX + ESXi (tức chỉ dùng HA là ESX hoặc ESXi )
- Server Physical nên cùng loại, CPU cùng loại, cùng tốc độ CPU

+ Kinh nghiệm của mình :

- Trong BIOS của Host nên disable tính năng CPU power-saving mode , vd
: với CPU intel là Intel SpeedStep và ADM là PowerNow!
- Sử dụng NIC tốc độ tối thiểu 1G, nên là 10G (cho Loging network)
- Việc triển khai FT có thể áp dụng cho các Virtual Machine đòi hỏi tính sẵn sàng cao, uptime liên tục .



Check List

The following compliance checks are performed:

Validate that Fault Tolerancelogging NIC speed is at least 1000 Mbps.
Validate that at least one shared datastore exists
Validate that Fault Tolerance logging is enabled.
Validate that VMotion NIC speed is at least 1000 Mbps.
Validate that all the hosts in the cluster have the same build for Fault Tolerance
Validate that the host hardware supports Fault Tolerance.
Validate that VMotion is enabled.


Demo




VMware Fault Tolerance FAQ (1013428)

Purpose

This article provides information for users of VMware Fault Tolerance (FT). The article contains Frequently Asked Questions that can help to resolve Fault Tolerance related issues.
Resolution

What is VMware Fault Tolerance?
VMware Fault Tolerance is a feature that allows a new level of guest redundancy. Information regarding this feature can be found in the vSphere Availability Guide for your version of ESX.

How do I turn it on?
The feature is enabled on a per virtual machine basis. Instructions for enabling Fault Tolerance can be found in the Turning on Fault Tolerance for Virtual Machines section of the vSphere Availability Guide for your version of ESX.

What happens when I turn on Fault Tolerance?
In very general terms, a second virtual machine is created to work in tandem with the virtual machine you have enabled Fault Tolerance on. This virtual machine resides on a different host in the cluster, and runs in virtual lockstep with the primary virtual machine. When a failure is detected, the second virtual machine takes the place of the first one with the least possible interruption of service. More specific information about how this is achieved can be found in the Protecting Mission-Critical Workloads with VMware Fault Tolerance whitepaper.

Why can't I turn Fault Tolerance on?
VMware Fault Tolerance can be enabled on any virtual machine that resides in a cluster that meets the necessary requirements. If you have difficulty enabling Fault Tolerance for a specific virtual machine, see The Turn on Fault Tolerance option is disabled (1010631).

How do I turn Fault Tolerance off?
Instructions for disabling Fault Tolerance can be found in the article in Disabling or Turning Off VMware FT (1008026).

How do I tell if my environment is ready for Fault Tolerance?
The VMware SiteSurvey Tool is used to check your environment for compliance with VMware Fault Tolerance. It can be downloaded at http://www.vmware.com/download/shared_utilities.html.

Where do I find the product's website?
VMware has a website for the Fault Tolerance product available online here at http://www.vmware.com/products/fault-tolerance/.

What happens during a failure?
When a host running the primary virtual machine fails, a transparent failover occurs to the corresponding secondary virtual machine. During this failover, there is no data loss or noticeable service interruption. In addition, VMware HA automatically restores redundancy by restarting a new secondary virtual machine on another host. Similarly, if the host running the secondary virtual machine fails, VMware HA starts a new secondary virtual machine on a different host. In either case there is no noticeable outage by an end user.

What is the logging time delay between the Primary and Secondary Fault Tolerance virtual machines?
The actual delay is based on the network latency between the Primary and Secondary. vLockstep executes the same instructions on the Primary and Secondary, but because this happens on different hosts, there could be a small latency, but no loss of state. This is typically less than 1 ms. Fault Tolerance includes synchronization to ensure that the Primary and Secondary are synchronized.

In a cluster with more than 3 hosts, can you tell Fault Tolerance where to put the Fault Tolerance virtual machine or does it chose on its own?
You can place the original (or Primary virtual machine). You have full control with DRS or VMotion to assign to it to any node. The placement of the Secondary, when created, is automatic based on the available hosts. But when the secondary is created and placed, you can VMotion it to the preferred host.

What happens if the host containing the primary virtual machine comes back online (after a node failure)?
This node is put back in the pool of available hosts. There is no attempt to start or migrate the primary to that host.
Is the failover from the primary virtual machine to the secondary virtual machine dynamic or does Fault Tolerance restart a virtual machine?
The failover from primary to secondary virtual machine is dynamic, with the secondary continuing execution from the exact point where the primary left off. It happens automatically with no data loss, no downtime, and little delay. Clients see no interruption. After the dynamic failover to the secondary virtual machine, it becomes the new primary virtual machine. A new secondary virtual machine is spawned automatically
Where are Fault Tolerance failover events logged?
All failover events are logged by vCenter.
I encountered an error message that I can't find in the knowledge base. Where else should I check?
The vSphere Availability Guide contains a list of known errors in the Fault Tolerance Error Messages section.

Does Fault Tolerance support Intel Hyper-Threading Technology?
Yes, Fault Tolerance does support Intel Hyper-Threading Technology on systems that have it enabled. Enabling or disabling Hyper-Threading has no impact on Fault Tolerance.


What happens if vCenter Server is offline when a failover event occurs?
Once Fault Tolerance is configured for a virtual machine, vCenter Server need not be online for FT to work. Even if vCenter Server is offline, failover will still occur from the primary to the secondary virtual machine. Additionally, the spawning of a new secondary virtual machine will also occur without vCenter Server.


Sưu tập

  Trả lời ngay kèm theo trích dẫn này
Gửi trả lời


Công Cụ
Xếp Bài

Quyền Hạn Của Bạn
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Mở
Hình Cảm xúc đang Mở
[IMG] đang Mở
Mã HTML đang Tắt




Bây giờ là 01:24 AM. Giờ GMT +7



Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.