2017年8月31日 星期四

大內存機器減少workstaion I/O 讀寫方法

純文字精簡版打開.vmx文件
添加下面內容
windows OS (安裝workstation OS):
----------------------------------------------
MemTrimRate = "0"
mainMem.useNamedFile = "FALSE"
sched.mem.pshare.enable = "FALSE"
prefvmx.useRecommendedLockedMemSize = "TRUE"
--------------------------------------------

Linux OS (安裝workstation OS

----------------------------------------------
MemTrimRate = "0"
mainmem.backing = "swap"
sched.mem.pshare.enable = "FALSE"
prefvmx.useRecommendedLockedMemSize = "TRUE"

--------------------------------------------

2017年8月20日 星期日

vmware workstation 12.5.7 install vsphere6.5、vcsa6.5 and VMware vSphere Replication 6.5.1 心得....

vsphere 6.5後已經沒有client,只有web,6.5注重DNS,故要安裝AD,之後安裝VMware-VMRC-10.0.1-5898794.msi,再裝esxi6.5,只要下一步即可解決,IP設一設就好。
在安裝vcsa6.5,因為只有ISO檔案,必須開啟ISO在vcsa目錄下VMware-vCenter-Server-Appliance-6.5.0.10000-5973321_OVF10.ova取出即可deploy,這是workstation作法,正式使用時直接掛載ISO執行\vcsa-ui-installer\w32\install.exe,deploy後在目錄下開啟*.vmx將以下文字加入。
guestinfo.cis.deployment.node.type = "embedded"
guestinfo.cis.appliance.net.addr.family = "ipv4"
guestinfo.cis.appliance.net.mode = "static"
guestinfo.cis.appliance.net.pnid = "192.168.1.250"
guestinfo.cis.appliance.net.addr = "192.168.1.250"
guestinfo.cis.appliance.net.prefix = "24"
guestinfo.cis.appliance.net.gateway = "192.168.1.254"
guestinfo.cis.appliance.net.dns.servers = "192.168.1.1"
guestinfo.cis.appliance.root.passwd = "Txxxxxxx@"
guestinfo.cis.appliance.ssh.enabled = "True"
guestinfo.cis.deployment.autoconfig = "True"
guestinfo.cis.appliance.ntp.servers = "192.168.1.1"
guestinfo.cis.vmdir.password = "Txxxxxxx@"
guestinfo.cis.vmdir.site-name = "vc"
guestinfo.cis.vmdir.domain-name = "sct.com"
guestinfo.cis.ceip_enabled = "False"
存檔後開機,vcsa會比較久,之後開啟瀏覽器打https://vcsa IP:5480繼續安裝,之後開啟https://vcsa IP 左下角出現 下載增強型驗證外掛程式 安裝
VMware-EnhancedAuthenticationPlugin-6.5.0.exe,將esxi加入,若要安裝VMware vSphere Replication 6.5.1一定要先安裝DNS主機,否則在deploy時出現 傳送失敗:OVF描述元不可用。

以下是安裝vcsa6 一些問題,6.5就比較沒問題

在vcsa6光碟片執行vcsa-setup.html
會告知安裝用戶端整合外掛程式
在光碟片目錄vcsa中安裝VMware-ClientIntegrationPlugin-6.0.0-4911605.exe
安裝過程如果有error,請將防毒軟體關閉,安裝後再啟用防毒軟體

在vcsa6光碟片找不到ova等
在VMware-VCSA-all-6.0.0-5326177.iso中的vcsa目錄的vmware-vcsavmware-vcsa檔案解壓成vmware-vcsa.ova
即可在workstation deploy vcsa
deploy後開啟***.vmx
將以下資料複製上

安裝VMware vSphere Replication出現
Server returned 'request expired' less than 0 seconds after request was issued, but it shouldn't have expired for at least 600 seconds.
表示esxi、vcsa、vmware replication 時間不對
esxi時間-->隨主機一起啟動和停止,NTP開啟
vcsa時間-->etc/utc,時間同步-->主機
vmware replication 時間-->asia/taipei

2017年8月8日 星期二

VSPHERE WEB CLIENT 顯示特定語言

vSphere web client 瀏覽器內定為中文,若要改為英文必須改成為:
https://vcenter IP/vsphere-client/?locale=en_US

中文為https://vcenter IP/vsphere-client/?locale=zh_TW

2017年8月2日 星期三

vmware esxi 4.1 安裝windows 7 cpu選4核,出現2核?

vmware esxi 4.1 安裝windows 7 cpu選4核,出現2核?
之後再文獻找
https://pubs.vmware.com/vsphere-4-esx-vcenter/index.jsp?topic=/com.vmware.vsphere.vmadmin.doc_41/vsp_vm_guide/configuring_virtual_machines/t_configure_multicore_cpus.html

在edit settings-->options-->general-->configuration 增加1行
cpuid.coresPerSocket 值為 2

重開機後在工作管理員會出現4cpu