จากหัวข้อเกิดจากการ copy host ข้าม esxi ที่มี space เครื่องต่างกันมากๆ นะ ครับ บางที เราก็ไม่อยาก สร้างvm host ขึ้นมาใหม่ก็เลยก๊อปซะเลย จาก Message เรามีวิธีแก้อยู่ครับ
เข้าผ่าน SSH ไปยัง directory ที่เก็บ host ครับ แล้วหาไฟล์ นามสกุล .vmx เพิ่มโค้ดด้านล้างเข้าไป
checkpoint.disableCpuCheck = "true"
ครับแค่นี้เป็นอันจบครับ
วันพุธที่ 3 สิงหาคม พ.ศ. 2554
วันจันทร์ที่ 1 สิงหาคม พ.ศ. 2554
How to get Dell Service Tag on Windows System in Console
How to get Dell Service Tag on Windows System in Console
Use WMI on Windows to get service tag as shown below:
C:\Users\john>wmic bios get serialnumber
SerialNumber
ABCDEF1
And We Use WMIC command will give make and model number along with service below:
C:\Users\john>wmic csproduct get vendor,name,identifyingnumber
IdentifyingNumber Name Vendor
ABCDEF1 PowerEdge 2950 Dell Inc.
Use WMI on Windows to get service tag as shown below:
C:\Users\john>wmic bios get serialnumber
SerialNumber
ABCDEF1
And We Use WMIC command will give make and model number along with service below:
C:\Users\john>wmic csproduct get vendor,name,identifyingnumber
IdentifyingNumber Name Vendor
ABCDEF1 PowerEdge 2950 Dell Inc.
วันเสาร์ที่ 30 กรกฎาคม พ.ศ. 2554
FastSCP

สวัสดีครับ
หายไปนาน เลย ไม่ได้อัพเดจบทความ วันนี้ขอนำเสนอโปรแกรมที่ช่วยในการย้าย vm hosts ใน esxi กันนะครับ ก็หาก เราใช้งาน esxi อยู่นี่ก็ฟรีอยู่แล้ว แต่ไม่มีเงินซื้อตัว v center ก็สามารถใช้ตัวนี้แก้ขัดไปได้
นั้นก็คือ Veeam FastSCP
โปรแกรมตัวนี้ดียังไง ผม ว่าหลายคงเคยเจอ เวลาจะย้าย vm hosts ต้องหา hdd external มาก๊อป ไฟล์ ต้องมา mount partition ให้กับ HDD external อีก หลายอย่าง โปรแกรมตัวนี้ช่วยได้ครับ สมมุติว่า เรามี esxi ใหม่ กับ ตัวเก่า เราต้องการย้าย host จากตัวเก่าไปตัวใหม่ ก็แค่ ให้เจ้าตัว FastSCP เชื่อมต่อกับ server esxi ของเราทั้งสองตัว แล้วทำการลากไฟล์ ข้าม มาเลย อย่างง่ายดายเลย ครับ
แต่มีข้อแนะนำนิดหน่อยนะครับเวลาใช้เราควรสร้าง vm บน esxi ปลายทางไว้ก่อน แล้วค่อย ก๊อปปี้ไปวางทับจะทำให้ไม่ได้วุ่นวายกับการสร้าง vm ทีหลัง เพราะ esxi ไม่มี import host เข้ามา เนี้ยซิ
โปรแกรมตัวนี้ อาจจะไม่มีที่สุดนะครับในการจัดการ esxi แต่มันถูกครับ
วันพฤหัสบดีที่ 10 กุมภาพันธ์ พ.ศ. 2554
How to force yum update command to Exclude certain packages
On CentOS yum uses a configuration file at /etc/yum.conf. If you need to place exclude directive to define list of packages to exclude from updates or install. You can follow up as below:
nano -w /etc/yum.conf
and add line:
exclude=kernel*
It should look like as follows:
And we can skip yum command updates on command line using as below:
#yum --exclude=kernel* update
nano -w /etc/yum.conf
and add line:
exclude=kernel*
It should look like as follows:
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
exclude=kernel*
# Note: yum-RHN-plugin doesn't honor this.
metadata_expire=1h
# Default.
# installonly_limit = 3
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
And we can skip yum command updates on command line using as below:
#yum --exclude=kernel* update
วันพฤหัสบดีที่ 6 มกราคม พ.ศ. 2554
What is SSL and what are Certificates
The Secure Socket Layer protocol was created by Netscape to ensure secure transactions between web servers and browsers. The protocol uses a third party, a Certificate Authority (CA), to identify one end or both end of the transactions. This is in short how it works.
1. A browser requests a secure page (usually https://).
2. The web server sends its public key with its certificate.
3. The browser checks that the certificate was issued by a trusted party (usually a trusted root CA), that the certificate is still valid and that the certificate is related to the site contacted.
4. The browser then uses the public key, to encrypt a random symmetric encryption key and sends it to the server with the encrypted URL required as well as other encrypted http data. 5. The web server decrypts the symmetric encryption key using its private key and uses the symmetric key to decrypt the URL and http data.
6. The web server sends back the requested html document and http data encrypted with the symmetric key.
7. The browser decrypts the http data and html document using the symmetric key and displays the information.
Several concepts have to be understood here.
Refer http://tldp.org/HOWTO/SSL-Certificates-HOWTO/x64.html
1. A browser requests a secure page (usually https://).
2. The web server sends its public key with its certificate.
3. The browser checks that the certificate was issued by a trusted party (usually a trusted root CA), that the certificate is still valid and that the certificate is related to the site contacted.
4. The browser then uses the public key, to encrypt a random symmetric encryption key and sends it to the server with the encrypted URL required as well as other encrypted http data. 5. The web server decrypts the symmetric encryption key using its private key and uses the symmetric key to decrypt the URL and http data.
6. The web server sends back the requested html document and http data encrypted with the symmetric key.
7. The browser decrypts the http data and html document using the symmetric key and displays the information.
Several concepts have to be understood here.
Refer http://tldp.org/HOWTO/SSL-Certificates-HOWTO/x64.html
สมัครสมาชิก:
บทความ (Atom)