EExcel 丞燕快速查詢2

EExcel 丞燕快速查詢2
EExcel 丞燕快速查詢2 https://sandk.ffbizs.com/
顯示具有 vmware 標籤的文章。 顯示所有文章
顯示具有 vmware 標籤的文章。 顯示所有文章

[轉]關於VMware版本選擇

http://vmware.mosquito.tw/phpbb3/viewtopic.php?f=13&t=25


以性價比來說
essentials plus絕對是最划算的
它以套裝的方式將vCenter搭售進來
在預算有限的情形下,它的確是不錯選擇
但它限制了ESXi的擴充性
再加上沒有好用的Storage vMotion功能
總是讓人覺得有所缺憾
轉而往上看進階一點的版本


Standard版來看
Server vMotion、Storage vMotion、ESXi HA都有支援
看起來已經很適合一般企業使用
但仔細看看,它少了DRS的功能(Distributed Resource Scheduler)
或許一開始不會覺得DRS並不太需要
可是當您要管理的虛擬機超過50多台
就會發現資源管理變的很麻煩
需要每一台去調配,無法用share的方式去管理
vMware也無法自動依每台ESXi host使用率去自動協助vMotion來達到Loading balance
就會開始後悔怎麼沒有買到Enterprise的等級


Enterprise版看來已接近完美
有vMotion,Storage vMotion, ESXi HA
又有DRS功能讓你可以方便的管理整體resource
又能讓VMware自動啟動vMotion去平衡每台ESXi的資源使用
但你又會發現竟然要買到Enterprise Plus版本,才能擁有VDS(分散式虛擬交換器Virtual Distributed Switch)
沒有VDS,每一台ESXi都要去設定自己的VSS(Virtual Standard Switch)
只要有需求更改一個VSS上的設定,就要到每一台ESXi上的VSS去更改
而且居然只有VDS才支援LACP的NIC Teaming方式


在價格比方便,standard : Enterprise : Enterprise Plus 大概正好是 1 : 2 : 3
真是太讓人生氣了....
明明Standard版本已經很符合功能了
但想要再多那一點好用的部份,卻要用3倍的成本才能取得
如果預算沒有問題
真的還是建議直接採購Enterprise plus版本

vCenter 授權

vCenter Server 的授權版本不支援VMware vSphere 5 Enterprise Plus

vSphere 分為六種授權 Essentials、Essentials Plus、Standard、Advanced、Enterprise、Enterprise Plus

Essentials、Essentials Plus 適合使用於中小型企業

Standard、Advanced、Enterprise、Enterprise Plus 適合使用於中大型企業

Essentials、Essentials Plus: 授權費用中 包含 vCenter Server 軟體費用,此版本的 vCenter Server 最多只能管理 3 台 ESX 伺服器,也就是 3 台實體伺服器。


Standard、Advanced、Enterprise、Enterprise Plus: 授權費用中 不包含 vCenter Server 軟體費用,並須另購授權。



vCenter: 為 ESX / VM 管理平台,若 ESX 主機環境中沒有 vCenter 則一些進階功能例如 VMotion、HA...等都無法進行實作
vCenter for Essentials: 與 vCenter Foundation 此版本的 vCenter 僅搭配 Essentials 及 Essentials Plus Kit。
vCenter Foundation: 限制只能管理 3 台 ESX 伺服器,也就是 3 台實體伺服器。
vCenter Standard: 沒有限制管理 ESX 伺服器台數,也就是不限制實體伺服器數量。

vCenter 登入不要打網域

正常登入要打網域

vsphere.local/xxxxxxxxx


如果把Administrators加入 vCenter 該台機器的 系統管理員
然後把帳號加到Adimistrators群組內,這樣就能登入


http://blog.xuite.net/tolarku/blog/250007676-VMWare+vcenter+SSO+%E6%96%B0%E5%A2%9E%E4%BD%BF%E7%94%A8%E8%80%85+-+%E6%8E%88%E8%88%87%E7%AE%A1%E7%90%86%E6%AC%8A%E9%99%90


FreeBSD ZFS Backed ESXi Storage Over NFS

FreeNAS NFS  dataset set  sync=disabled

zfs set sync=disabled tank/dataset 

Need to remeber have data risk.


https://www.ateamsystems.com/tech-blog/solved-performance-issues-with-freebsd-zfs-backed-esxi-storage-over-nfs/

http://christopher-technicalmusings.blogspot.tw/2011/06/speeding-up-freebsds-nfs-on-zfs-for-esx.html

vmware esxi nfs Settings

https://www.vmguru.com/2015/12/best-practices-running-vmware-with-nfs/

vdmk 減肥 縮小 shrink windows

結論:第二步的vmkfstools -k 或是 -i 都沒用!!

最快的方式用vSphere Client 匯出 ovf範本 就自動瘦身了!!!………


=========Windows=========
In windows VM

1、sdelete
https://technet.microsoft.com/en-us/sysinternals/bb897443.aspx

sdelete -z -c c: (有幾個權,要都做)


2、登入esxi

cd /vmfs/volumes/

vmkfstools -K [disk].vmdk    //不見得有用  maybe no use

vmkfstools -i [來源].vmdk -d thin [新目的].vmdk



=========Linux=========
In Linux VM

1、
dd if=/dev/zero of=/[PATH]/zeroes bs=4096 && rm -f /[PATH]/zeroes


2、登入esxi

cd /vmfs/volumes/

vmkfstools -K [disk].vmdk    //不見得有用  maybe no use

vmkfstools -i [來源].vmdk -d thin [新目的].vmdk

=============================================
http://techblogsearch.com/a/vmware-virtual-disk-shrink-jiang-vmdkdang-an-suo-xiao.html

http://blog.xuite.net/tolarku/blog/331992410-%E7%B8%AE%E5%B0%8F+VMDK+%E8%99%9B%E4%BD%94%E7%94%A8%E7%9A%84%E7%A9%BA%E9%96%93+-+shrink+a+thin+provisioned+disk

http://www.virten.net/2014/11/howto-shrink-a-thin-provisioned-virtual-disk-vmdk/

[轉]Migrate vmware vm to proxmox

https://noteits.net/2015/07/21/migrate-vmware-vm-to-proxmox/



http://blogs.yyes.chc.edu.tw/post/2/78

[轉]vm安全性

http://www.mobile01.com/topicdetail.php?f=494&t=4790863

EluSiOn
請看 https://www.openssl.org/news/secadv/20160503.txt Severity: High. 2016/05/03 嚴重的 bug. 但是到了今天我伺服器上所有的 patch 都已經更新完畢了. 但是 Q & S 的 nas 的 patch 連影子都沒有.

所有的 debian/ubuntu/centos/freebsd 基本上都會在 5個工作天內完成 patch 提供更新, 但是不管是 Q牌或是S牌的更新是絕對超過 30天以上的.

再來就是 VM 有自己獨立的 file system. 其 file system 損會是不會傷害到 host 的資料. 但是 LXC/Docker 是允許跟 NAS host 共用資料夾, 這個時候, 就有機會讓針對於 host 共享的資料夾的資料造成毀損.



防火牆是使用 PFSense, 你的安全係數可以拉很高! 不管是 Deep packet inspection (DPI), Intrusion Detection System IDS 以及 Intrusion Prevention System 都有. 但是就要看你防火牆的 cpu 是否夠力了


pfsense 主體是 iptable, 但是搭配了其它的 package 後 (直接從 pfsense 裡面選擇安裝), 它就變成非常的強大. 安全防護的 package 如下

1. pfBlockerNG
2. snort IDS/IPS
3. Squid Proxy 可以搭配 clamav 掃毒任何所有的 http request.

但是上述這些服務都非常吃 cpu. 一定要時候夠有力的喲. intel atom 2558 等級以上的才可能考慮全開.

j1900 n3150 n3700 這些都不夠力

proxmox drbd9 high availability (HA) clusters

https://pve.proxmox.com/wiki/DRBD9

You need 3 identical Proxmox VE servers (V4.0 or higher) with the following extra hardware:

  • Ability to live migrate running machines without downtime in a few seconds WITHOUT the need of SAN (iSCSI, FC, NFS) as the data is already on both nodes.

  • LXC containers can use DRBD9 storage

https://pve.proxmox.com/wiki/DRBD  舊

You need 2 identical Proxmox VE servers with the following extra hardware:

=====


How to build a two node Proxmox cluster with native ZFS (ZFS on Linux) and DRBD support.

http://acidrop.biz/wp/?p=559

ghettoVCB

http://www.mobile01.com/topicdetail.php?f=300&t=4438446


https://github.com/lamw/ghettoVCB





HOPE000

VMDK Thin Provision Type Copy
vmkfstools -i /vmfs/volumes/VMBackup/0.vmdk /vmfs/volumes/datastore1/Test/0.vmdk -d thin &


或是用現成的 ghettoVCB Backup Script ... VM 免停機就能備份
Export OVA / OVF 都太慢啦

[轉]What is the best way to Shrink a Thin Provisioned Disk?

https://community.spiceworks.com/topic/461716-what-is-the-best-way-to-shrink-a-thin-provisioned-disk



==========
http://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.vsphere.storage.doc%2FGUID-CBF31A6B-B36F-4552-B512-CC92B1943902.html



Removing Zeroed Blocks


Use the vmkfstools command to convert any thin, zeroedthick, or eagerzeroedthick virtual disk to a thin disk with zeroed blocks removed.-K --punchzero


This option deallocates all zeroed out blocks and leaves only those blocks that were allocated previously and contain valid data. The resulting virtual disk is in thin format.

=======

Poblano

Gabrielle,

I did the sdelete -z and this cleared up the space on one of my drives. Which worked awesome for this particular issue I ended up just added a new drive to the system copied the 5 GB of data over changed the drive letter, rebooted and brought my application back online. Worked great. Thanks for the information.

========
http://www.virten.net/2014/11/howto-shrink-a-thin-provisioned-virtual-disk-vmdk/





nakivo vmware

backup and restore  for free   備份還原免費

backup
1、免費的功能有限
2、有限在,backup只能在local 空間上,但可以在vmware上掛新的HDD
3、記得 NAKIVO 的vm,還是在原本的機器上,所以建議,直接用在nakivo的網站上,下載ova,直接掛而新的地方,這樣就能備份了


recovery
recovery -> recovery vm
netwrok 選一下

重點要注意:


1、選 Create only thin disks on recovered VMs

2、Levave VM name is