Nandevil’s Blog











{เมษายน 30, 2009}   30/4/52

VMWare

วันนี้ได้ลองรัน Code ต่างๆบน Virtual Certer Server ซึ่งสามารถรันได้

และได้ติดตั้ง ESX Server ใหม่อีกเครื่อง และ สร้าง Virtual Machine

เพื่อทดสอบการทำงาน ของ vCerter Server ให้สามารถ move Virtual Machine ได้

แต่ move ไม่ได้เพราะ Virtual Machine ต้องทีศูนย์กลางเก็บอยู่ต่างหาก

ESX Server เป็นแคตัวดึง Virtual Machine มาประมวลผลเท่านั้น

จึงจะสามารถย้ายการทำงาน Virtual Machine ไปยัง ESX Server ได้

*ฉะนั้นงาน VMware ก็ได้เสร็จสิ้นลง ณ ที่นี้

——————————————————————————————

และงานได้ได้รับมาทำงานสุดท้ายของการฝึกงานก็คือ การทำ VPN



{เมษายน 30, 2009}   VMWare Virtual Center Server

การทำงาน VMware vCenter Server (ตามความเข้าใจของผม)

img_virtual_center_server

จะต้องมีการติดตั้ง Virtual Center Server เอาไว้ Manage Virtual Machine ต่างๆให้มีการใช้งานอย่างมีประสิทธิภาพ ซึ่งขอมูลจะถูกเก็บไว้ต่างหากแยกจาก ESX Server ซึ่ง ESX Server จะเป็นแค่ตัว Process Virtual Machine

และ Virtual Center Server สามารถที่จะจัดการให้ Virtual Machine รันอยู่บน ESX Server เครื่องไหน และ ยังสามารถย้าย Virtual Machine ไปยังอีกเครื่อง(ให้สามารถทำงานต่อได้) เมื่อเครื่องนั้นเกิดปัญหาอะไร

Virtual Machine ก็ยังสามารถทำงานได้อยู่ และ Virtual Center Server ยังมี ฟังก์ชั่นอื่นๆอีกมากมาย เช่น การตั้งให้ LoadBalance คือเช่น ESX Server 1 ทำงานหนัก ซึ่งมี Virtual Machine อยู่  3 เครื่อง

แต่ ESX Server 2 ทำงานน้อย มี Virtual Machine อยู่เครื่องเดียว  Virtual Center Server ก็จะทำการย้ายบาง Virtual Machine ที่ ESX Server 1ไปที่ ESX Server 2 เพื่อทำให้เครื่องทำงาน Balance กันและ ไม่ต้องทำงานหนักจนเกินไป เป็นตัน



{เมษายน 30, 2009}   ตัวอย่าง Code VI SDK

*** ประเภท Parameters ต่างๆ ต้องมี – – ไม่ใช่ แค่ – (เพราะใน Edit ของ WordPress ใส่ – 2 ตัวแต่ทำไมหน้าที่โชว์ขึ้นตัวเดียวไม่รู้)

VMpowerOps

Parameters:

* vmname [optional] : Name of the virtual machine

* operation [optional] : Type of the operation

* folder [optional] : Name of the folder

* datacenter [optional] : Name of the datacenter

* pool [optional] : Name of the resource pool

* ipaddress [optional] : ipaddress of the virtual machine

* guestid [optional] : guestid of the virtual machine

* host [optional] : Name of the host

* operation [optional] : Name of the Operation

Command Line:

java -Djavax.net.ssl.trustStore=%VMKEYSTORE% com.vmware.samples.vm.VMpowerOps –url <webserviceurl> –username <username> –password <password> –operation <operation name|reboot|poweron|poweroff|reset|standby|suspend|shutdown> –folder <myfolder> –guestid <winXPProGuest|any other> –datacenter <mydatacenter>

Example. – PowerOn

java -Djavax.net.ssl.trustStore=%VMKEYSTORE% com.vmware.samples.vm.VMpowerOps –url https://esxi/sdk –username root –password 222222 –operation poweron –vmname Windows_Server_2003

Read the rest of this entry »



*** ประเภท Parameters ต่างๆ ต้องมี – – ไม่ใช่ แค่ – (เพราะใน Edit ของ WordPress ใส่ – 2 ตัวแต่ทำไมหน้าที่โชว์ขึ้นตัวเดียวไม่รู้)


Setup for Java


1.สร้าง directory ตามชื่อเหล่านี้

clip_image0022



{เมษายน 29, 2009}   29/4/52

-ได้ลองลง Virtual Center แล้ว ซึ่งวันนี้ไม่ติดปัญหาอะไร
– ลองเอา java มาสั่งปิดเครื่อง ซึ่งต้อง Import Cert. ก่อน



{เมษายน 28, 2009}   28/4/52

วันนี้ ได้ลองติดตั้ง virtual center
พบปัญหาคือ มีให้ใส่ password ของ เครื่อง
วึ่งตอนลง Windows Server ไม่ได้ตั้งเอาไว้
ซึ่งลองหาวิธีตั้ง pass แต่ไม่เจอ

เลยลงwindows server ใหม่ดู
ซึ่งต้องลงหลายเที่ยวมาก จนได้ในที่สุด
แต่แล้ว เวลาก็ไม่เป็นใจ ซึ่งกว่าจะลงเสร็จ
ก็ 5:28 แล้ว ซึ่ง Virtual Center
ต้องเอาไปลองลงใหม่พรุ่งนี้แล้วหละ

——————-จบ——————-



{เมษายน 27, 2009}   27/4/52

-ลง Windows server 2003 ใน ESX ที่ลงใหม่
ซึ่ง ลงเพื่อจะมาติดตั้ง virtual center server
ลงใน vmware ตัวนั้น



{เมษายน 24, 2009}   24/4/52

วันนี้ ได้รับงานใหม่

คือ ให้ลง Virtual Center

ซึ่งได้ลง ใหม่คือ ต้องลง ESX 3.5 Update0 4

ที่ Server และลง Virtual Center ที่ Client



{เมษายน 23, 2009}   23/4/52

วันนี้ได้เข้าไปห้อง server

เพื่อไปจดบันทึก รุ่นที่ยังหาใบราคาไม่ได้

เพราะที่ให้มาเเป็นแค่ Series ของเครื่อง

ไม่ใช่รุ่นของเครื่องนั้น

และทำการ หาราคา และ Link เพิ่มเติม จากที่จดเพิ่มมา

ส่วนงาน vi sdk นั้น ก็ได้ทำ คู่มือ setup เสร็จเรียบร้อยแล้ว

เดี๋ยวพรุ่งนี้จะมาทำคู่มือตัวอย่าง Operation

ของการใช้งานอย่างคร่าวๆๆ

—————–จบ——————–



{เมษายน 22, 2009}   22/4/52

วันนี้ได้รับงาน หาราคา และ Link
ของอุปกรณ์ต่างๆ
ในไฟล์ Server Room Asset KSCIKSC 25-11-51.xls
ที่พี่โจ้ให้มา



et cetera