หน้าแรก | กระดานข่าว |  ปฏิทิน |  ค้นหา |  ติดต่อเรา VMWARE.IN.TH | Largest unofficial VMware Thailand User
หน้า: [1]   ลงล่าง
  พิมพ์  
ผู้เขียน หัวข้อ: ปํญหาจากการใส่ license บน vSphere 4  (อ่าน 977 ครั้ง)
pongsa
Newbie
*
ออฟไลน์ ออฟไลน์

กระทู้: 3


ดูรายละเอียด อีเมล์
ผมเขียน script เพื่อทำการ backup ตัว guest os บน เครื่อง ESXi vSphere 4
ใช้ vSphere CLI ในการเขียน script ดังนี้

test บนเครื่อง xp

ใส่ License ที่ ESX

C:\Program Files\VMware\VMware VI Remote CLI\Perl\apps\vm>snapshotmanager.pl --u
rl https://10.0.0.59/sdk/vimService --username root --password password --operat
ion create --powerstatus poweredOn --snapshotname test

Fault:
SOAP Fault:
-----------
Fault string: fault.RestrictedVersion.summary
Fault detail: RestrictedVersionFault[/color]

มันจะขึ้น error ว่า เหมือนข้างบน เวลาที่เราใส่ license ที่เครื่อง vSphere 4
แต่ว่าพอผมเอา license ที่เครื่อง vSphere 4 ออก มันจะสามารถทำการ Snapshot ได้ดังตัวอย่างข้างล่างนี้ครับ


ไม่ใส่ License ที่ ESX

C:\Program Files\VMware\VMware VI Remote CLI\Perl\apps\vm>snapshotmanager.pl --u
rl https://10.0.0.59/sdk/vimService --username root --password password --operat
ion create --powerstatus poweredOn --snapshotname test

Operation :: Snapshot test for virtual machine 2003convert created sucessfully u
nder host ESX4-SV02.SUKHOTHAI.COM

ทั้ง 2 ตัวอย่าง ต่างกันแค่ใส่ license กับไม่ใส่ license เท่านั้น

รบกวนผู้รู้ด้วยครับว่าปัญหามันเกิดจากการที่เราใส่ license แล้ว ESX4i จะถูกปิด port บางตัวรึป่าว
ทำให้เราไม่สารมารถใช้ port เดิมสั่งให้ทำงานได้อีก


« แก้ไขครั้งสุดท้าย: สิงหาคม 05, 2009, 01:02 โดย vmware.in.th » บันทึกการเข้า
 
vmware.in.th
"วีเอ็มแวร์ อิน ไทย" .. สังคมคน virtualization ออน์ไลน์
Administrator
Hero Member
*****
ออฟไลน์ ออฟไลน์

กระทู้: 1,172


pumpithu@gmail.com
ดูรายละเอียด เว็บไซต์ อีเมล์
ไปอ่านเจอมาครับ .. คิดว่าจำเป็นจะต้องซื้อ License นะครับ

ิอ้างอิงจาก : http://communities.vmware.com/thread/203414

อ้างถึง
So it looks like for those that are looking to make use of the free version of ESXi, you still have some capabilities for VM management using VMware VIX, note VIX is only for guest management and there are no available tools or exposed functionality for host management. If you're looking for host management utilities then I would suggest purchasing at least the Foundation license and take advantage of VI Perl Toolkit/RCLI, VI Powershell, VI API, etc.

แต่อย่างไงจะลองหา Solution ให้อีกครั้งนะครับ ..
บันทึกการเข้า

Freelance implementer Microsoft, Linux System, Data Storage and Virtualization Technology.

Twitter : http://twitter.com/pumpithu
Facebook : http://www.facebook.com/pumpithu
 
pongsa
Newbie
*
ออฟไลน์ ออฟไลน์

กระทู้: 3


ดูรายละเอียด อีเมล์
ขอบคุณมากครับยังไงรบกวนหาคำตอบให้หน่อยนะครับพอดีจะต้อง implement ให้ลูกค้าน่ะครับ
บันทึกการเข้า
 
vmware.in.th
"วีเอ็มแวร์ อิน ไทย" .. สังคมคน virtualization ออน์ไลน์
Administrator
Hero Member
*****
ออฟไลน์ ออฟไลน์

กระทู้: 1,172


pumpithu@gmail.com
ดูรายละเอียด เว็บไซต์ อีเมล์
กำลังทดสอบให้อยู่นะครับ .. พอดีมา อบรมอยู่ที่ Singapore อยู่ครับ แต่อย่างไรจะรีบทดสอบให้นะครับ .. คิดว่าที่มันต่างระหว่างใส่ License กับไม่ใส่ คือ ไม่ใส่ License จะไม่มี VCB License เท่านั้นเองครับ ..
บันทึกการเข้า

Freelance implementer Microsoft, Linux System, Data Storage and Virtualization Technology.

Twitter : http://twitter.com/pumpithu
Facebook : http://www.facebook.com/pumpithu
 
pongsa
Newbie
*
ออฟไลน์ ออฟไลน์

กระทู้: 3


ดูรายละเอียด อีเมล์
ถ้าอย่างงั้น Solution ที่จะใช้ esx4i กับ vSphere CLI เพื่อทำการ backup  ก็ไม่ work นะซิครับ เพราะว่ายังไง เราก็ต้องใส่ license ที่ esx4i อยู่แล้วถ้าไม่ใส่เราก็ใช้ได้แค่ 60 วัน
บันทึกการเข้า
 
vmware.in.th
"วีเอ็มแวร์ อิน ไทย" .. สังคมคน virtualization ออน์ไลน์
Administrator
Hero Member
*****
ออฟไลน์ ออฟไลน์

กระทู้: 1,172


pumpithu@gmail.com
ดูรายละเอียด เว็บไซต์ อีเมล์
ผมลองทดสอบกับเครื่อง ESXi 3.5 โดยใส่ License Key สามารถใช้งานได้ แต่เท่าที่ดู Command ของผมจะต่างนิดหน่อยนะครับ ผมดูจาก document ครับ ส่วน vShare 4 ผมยังไม่ได้ลองนะครับ .. ไม่ทราบว่า Guest ที่ทำการ Snap เป็น OS อะไรครับเฝื่อจะได้หาข้อมูลเพิ่มให้ครับ

EXAMPLES

Create snapshots for all the virtual machines which are in resource pool 'PoolA' and whose power status is 'ON'. Let the name of the snapshot be 'Snap14May':

อ้างถึง
vmsnapshot.pl --url https://<ipaddress>:<port>/sdk/webService
      --username administrator --password mypassword
      --sname Snap14May --pool PoolA --powerstatus poweredOn

Create snapshots for all the virtual machines which are in datacenter 'CenterABC', resource pool 'PoolA' and whose power status is 'ON'. Let the name of the snapshot be 'Snap14May':

อ้างถึง
vmsnapshot.pl --url https://<ipaddress>:<port>/sdk/webService
      --username administrator --password mypassword
      --sname Snap14May  --datacenter CenterABC --pool PoolA
      --powerstatus poweredOn

Create snapshots for all the virtual machines which are in folder 'Team2' and whose guest OS is linux. Let the name of the snapshot be 'Snap14May':

อ้างถึง
vmsnapshot.pl --url https://<ipaddress>:<port>/sdk/webService
      --username administrator --password mypassword
      --sname Snap14May --folder Team2 --geustOS linux

Create snapshots for all the virtual machines whoose name is 'VM2'. Let the name of the snapshot be 'Snap14May':

อ้างถึง
vmsnapshot.pl --url https://<ipaddress>:<port>/sdk/webService
      --username administrator --password mypassword
      --sname Snap14May --vmname VM2
« แก้ไขครั้งสุดท้าย: มิถุนายน 26, 2009, 22:08 โดย vmware.in.th » บันทึกการเข้า

Freelance implementer Microsoft, Linux System, Data Storage and Virtualization Technology.

Twitter : http://twitter.com/pumpithu
Facebook : http://www.facebook.com/pumpithu
 
หน้า: [1]   ขึ้นบน
  พิมพ์  
 
กระโดดไป:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2008, Simple Machines LLC | Thai language by ThaiSMF Valid XHTML 1.0! Valid CSS!