sxcli software profile update -p ESXi-xxxx
และขึ้นข้อความดังต่อไปนี้
[InstallationError] [Errno 28] No space left on device vibs = VMware xxxx
วิธีแก้ไข ให้ทำการรันคำสั่งเพิ่มขนาดของ swap ดังนี้
# Host swap - DS1 = Datastore Name esxcli sched swap system set -n ds1 -d y esxcli sched swap system get # Example [root@localhost:~] esxcli sched swap system get Datastore Active: false Datastore Enabled: false Datastore Name: Datastore Order: 0 Hostcache Active: false Hostcache Enabled: true Hostcache Order: 1 Hostlocalswap Active: false Hostlocalswap Enabled: true Hostlocalswap Order: 2 [root@localhost:~] esxcli sched swap system set -n datastore1 -d y [root@localhost:~] esxcli sched swap system get Datastore Active: true Datastore Enabled: true Datastore Name: datastore1 Datastore Order: 0 Hostcache Active: false Hostcache Enabled: true Hostcache Order: 1 Hostlocalswap Active: false Hostlocalswap Enabled: true Hostlocalswap Order: 2
จากนั้น ลองรันอัพเดตอีกครั้งนะครับ
The post ESXi Update ไม่ได้ ขึ้นข้อความ “No space left on device” first appeared on 1412.]]>mainMem.ioBlockPages = "2048" mainMem.iowait = "0"
หลังจากนั้น Power on VM ตามปกติ และลอง Snapshot ดูใหม่อีกครั้งครับ
หมายเหตุ: แนะนำให้ลบ Snapshot อันเดิมออกก่อน เพราะว่าถ้าเราแก้ไขไฟล์ .vmx ไปแล้ว หากเราเปิดใช้งานตามปกติ และกด Restore Snapshot กลับไป ค่าที่เราเพิ่มขึ้นมาหลังจาก Snapshot เดิมก็จะหายไปด้วยนะครับ
The post VMware Workstation สร้าง Snapshot แล้วช้า ขึ้นสถานะ Save state first appeared on 1412.]]># Open VM Tools - CentOS 6 yum --enablerepo=extras install epel-release yum install -y open-vm-tools service vmtoolsd start chkconfig vmtoolsd on
หมายเหตุ: ถ้าใช้คำสั่ง yum บรรทัดแรกไม่ได้ ให้ทำการ Import ด้วยคำสั่งนี้แทน
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpmThe post CentOS6 ติดตั้ง Open VM Tools first appeared on 1412.]]>
สำหรับการจัดการ VMware vCenter Server ก็จะใช้งาน User: root เหมือนๆกันกับ Esxi นี่แหละ และการสร้าง User ใหม่ขึ้นมา ไม่สามารถทำได้บนโปรแกรม VMware vSphere Client เหมือนกับการควบคุม Host เดียว, ถึงแม้ว่าการควบคุมหลายๆ Host ผ่านตัวระบบ VMware vCenter Server ใช้โปรแกรม VMware vSphere Client เหมือนกันก็ตาม
วิธีการสร้าง User ใหม่ใน VMware vCenter Server :
localaccounts.user.add --role operator --username youruser --password
ในส่วนของ youruser ให้ตั้งค่าเป็น username ที่ต้องการนะครับ