Hiển thị các bài đăng có nhãn vmware. Hiển thị tất cả bài đăng
Hiển thị các bài đăng có nhãn vmware. Hiển thị tất cả bài đăng

What's New in VMware vSphere 5.1?

Add iSCSI SAN storage to VMware ESXi 5



∞&∞


 Kết nối iSCSI SAN vào ESXi 5

Tiếp theo bài viết "THIẾT LẬP iSCSI Virtual SAN với FreeNAS 8", trong bài viết này Tôi sẽ hướng dẫn kết nối vSphere 5 ( ESXi 5) có sẵn vào Virtual SAN đã tạo trước đó.

Nội dung bài viết gồm 02 phần :

- Tạo vSwitch ( VMkernel ports).
- Kết nối iSCSI SAN vào ESXi 5.


Đầu tiên là phải kết nối đến vCenter đã. Hehe...





I. Tạo vSwitch ( VMkernel ports)

Vì trong mô hình mạng ở trên, mỗi con ESXi 5 Tôi đều dùng 02 card mạng nên bước đầu tiên là tạo thêm vSwitch (VMkernel ports) để card thứ 2 vào đó, dễ quản lý. :D

Configuration --- Networking --- Chọn Add Networking



VMkernel --- Next



Chọn Create a vSphere standard switch -- Next.



Next



Khai báo IP



Next



Kết quả đây :D



Kết thúc phần tạo vSwitch.

II. Kết nối iSCSI SAN vào ESXi 5

Cấu hình Storage Adapters

Configuration -- Storage Adapters --- Add



Chọn : Add Software iSCSI Adapter -- OK














Chọn iSCSI Software Adapter vừa tạo ra , chọn Properties.



Tại tab Network Configuration -- Add



Chọn VMkernel (vmSwitch1) đã tạo ra lúc nãy




Qua tab Dynamic Discovery --- chọn Add

Điền vào IP của iSCSI Server

Chọn CHAP



Khai báo thông tin chứng thực, nhấn OK.



Chọn YES.






Cấu hình Storage :

Configuration --- Storage -- Add Storage



Chọn Disk/LUN --- Next.



Chọn iSCSI Disk -- Next.



Chọn VMFS-5 --- Next



Nhấn Next.



Điền vào tên của datastore



Bạn có thể chọn sử dụng tối đa dung lượng hoặc đặt mức giới hạn.

Ở đây Tôi chọn maximum --- Nhấn Next.



Nhấn Next.



Đây là thành quả của bạn.





Kết thúc bài Lab cấu hình hệ thống SAN cho ESXi 5.

 Hẹn gặp lại các bạn vào bài viết tiếp theo.

Installation vCenter 5


Loạt bài về vSphere 5 :

1. Cài đặt VMware vSphere ESXi 5
2. Cài đặt VMware vSphere Client 5.0

Bài viết này sẽ hướng dẫn cài đặt vCenter. Đây cũng là một bài của Congdd

Tôi copy lại 02 bài về vCenter & vSphere Client của congdd để bổ sung vào loạt bài về vSphere 5, sử dụng sơ đồ mạng ở trên.

∞&∞

Hướng dẫn cài đặt VMware vCenter 5.0

Read more »

Installation VMware vSphere Client 5.0

Thật ra Tôi cũng không có ý định viết bài về hướng dẫn cài đặt vCenter, vSphere Client vì thấy nó đơn giản quá. :)
Nhưng tình cờ search thấy một số bài viết khá bài bản của Congdd nên sẵn tiện copy lên blog luôn cho nó xôm tụ :D
Để tiếp tục bài này, các bạn nên xem lại bài Cài đặt VMware vSphere ESXi 5 .
Sau khi cài đặt xong ESXi 5, bước tiếp theo là cài đặt vSphere Client, vCenter để quản lý hệ thống ESX.

Trong bài này, Tôi sẽ trình bày việc cài đặt vSphere Client 5. Bài viết của Mr.Congdd

∞&∞

Cài đặt VMware vSphere Client 5.0

Read more »

Installation VMware vSphere ESXi 5

Cài đặt VMware vSphere ESXi 5

Nghiên cứu vSphere cũng đã khá lâu, cũng có viết một số bài lab nhưng chưa publish lên. Thôi thì hôm nay dành ít thời gian để đăng tải loạt bài về VMware vSphere ESXi 5 lên blog, để nó mốc meo lâu quá rồi ^^!

Mô hình mạng sẽ sử dụng trong các bài lab sắp tới như sau :



Trong bài này, Tôi sẽ viết về quá trình cài đặt ESXi 5 và giới thiệu tổng quan một số thông tin, tùy chọn trên phiên bản ESXi 5.



Read more »

Kích hoạt tính năng Nested 64bit & Hyper-V VMs trong vSphere 5

How to Enable Support for Nested 64bit & Hyper-V VMs in vSphere 5



With the release of vSphere 5, one of the most sought out feature from VMware is the ability to run nested 64bit and Hyper-V guest virtual machines in a virtual ESXi instance. Previous to this, only 32bit virtual machines were supported as the VT-x/AMD-V Hardware Virtualization CPU instructions could not be virtualized and presented to the virtual ESX(i) guest. This feature is quite useful for home and lab setups in testing new features or studying for VMware certifications and running multiple vESX(i) instances.

You will still be required to have a 64bit capable system and CPU and you will need to be running ESXi 5.0, this will not work for ESX(i) 4.x or older.



The above diagram depicts the various levels of inception where pESXi is your physical ESXi 5.0 hosts. We then create a vESXi 5.0 host which will contain the necessary Hardware Virtualization CPU instructions to support a 64bit nested guest OS which I've created as another ESXi host called vvESXi.

Note: You will not be able to run a 4th level nested 64bit VM (I have tried by further passing the HV instructions in the nested guest) and it will just boot up and spin your CPUs for hours.

This feature by default is disabled in ESXi 5.0, to enable this virtualized HV (Hardware Virtualization) you will need to add the following string vhv.allow = "TRUE" to /etc/vmware/config of your Physical ESXi 5.0 host


Once the configuration change has been made, the feature goes into effect right away. A reboot of the system is not necessary. To verify, you should now be able to power on a 64bit guest OS and see that the HV instructions bits are being passed into the guestOS which will then allow you to run a nested 64bit guestOS. You can also verify by looking in the vmware.log file of the virtual machine and grep for the string "monitorControl.vhv" and if you see the following message, then Virtualized HV is not enabled.


In the past to run a virtual ESX(i) instance, a few advanced .vmx configuration entries were needed as documented here. With ESXi 5.0, if you are using virtual hardware version 8, then you do not need to make any additional changes. If you are using hardware version 4 or 7, then you will need to add a few changes to the VM's configuration file.
Creating vESXi 5.0 Instance using Hardware Version 8:
1. To create a virtual ESXi 5.0 instance, start off by just creating a standard RHEL5/6 64bit VM using the vSphere Client
2. Once the VM has been created, edit the settings of the VM and change over to the "Options" and now have the ability to select a new guestOS type: VMware ESXi 5.x or VMware ESXi 4.x under the "Other" section.




Note: I'm not sure why these two additional guestOS type is not available from the default creation menu, but are available after the initial VM shell is created.

3. You are now ready to install ESXi 5.0 in this new vESXi host and then you can create and power on nested 64bit guestOS within that vESXi instance as denoted from the picture below

 
Creating vESXi 5.0 Instance using Hardware Version 4/7:
1. To create a virtual ESXi 5.0 instance, start off by just creating a standard RHEL5/6 64bit VM using the vSphere Client

2. Now you will need to add the following advanced .vmx parameter: monitor.virtual_exec = "hardware" which can be done through the vSphere Client and/or editing the .vmx parameter manually.

3. Next you will need to add some cpuid bits, depending if you are running an Intel or AMD CPU, the respective entries are required:

Intel Hosts:
cpuid.1.ecx = "----:----:----:----:----:----:--h-:----"
AMD Hosts:
cpuid.80000001.ecx.amd = "----:----:----:----:----:----:----:-h--"
cpuid.8000000a.eax.amd = "hhhh:hhhh:hhhh:hhhh:hhhh:hhhh:hhhh:hhhh"
cpuid.8000000a.ebx.amd = "hhhh:hhhh:hhhh:hhhh:hhhh:hhhh:hhhh:hhhh"
cpuid.8000000a.edx.amd = "hhhh:hhhh:hhhh:hhhh:hhhh:hhhh:hhhh:hhhh"
4. You are now ready to install ESXi 5.0 in this new vESXi host and then you can create and power on nested 64bit guestOS within that vESXi instance

By using a VM that is hardware version 8, you can easily automate the creation of vESXi 5.0 instance by changing the guestOS string in the .vmx parameter to "vmkernel" and the above configurations other than "vhv" string needed for either an Intel or AMD system are automatically configured.

Creating a vHyper-V Instance on physical ESXi 5.0:

1. To create a virtual Hyper-V instance, start off by creating a Windows 2008 Server R2 64bit VM using the vSphere Client

2. If you are using Hardware Version 7, you will need to follow the instructions in "Creating vESXi 5.0 Instance using Hardware Version 4/7" to add the additional parameters to the VM. If you are using Hardware Version 8, you just need to change the guestOS type to VMware ESXi 5.0

3. You need to add one additional .vmx parameter which tells the underlying guestOS (Hyper-V) that it is not running as a virtual guest which in fact it really is. The parameter is hypervisor.cpuid.v0 = FALSE

4. You are now ready to install Hyper-V in a virtual machine and you can also spin up nested 64bit guestOSes in this virtual Hyper-V instance.
 














As you can see, now you can even run Hyper-Crap, err I mean Hyper-V as a virtualized guest under ESXi 5.0. I did not get a chance to try out Xen, but I'm sure with the ability to virtualize the Hardware Virtualization instructions, you should be able to run other types of hypervisors for testing purposes.

This is a really awesome feature but note that this is not officially supported by VMware, use at your own risk.


Nguồn http://www.virtuallyghetto.com