Recently, I tried to install and test xen server6.2. This version is open-source and later. The biggest difference between an unlicensed version and a licensed version is that the licensed version can be installed automatically through xencenter. In short, many features of xencenter comply with my requirements:
1. The free version has basic functions (HA, support for USB forward to VM, templates, and snapshots)
2. xencenter graphical Management in windows, or in various languages, such as C # \ Python \ powershell.
3. The stability is good. Compared with the previous virtualbox on headless Linux, The xenserver Virtual Machine basically has no such strange problems as suspension of restart and screen display.
4. 6.1 and earlier versions can also be managed through scvmm 2012 R2 or earlier versions, but 6.2 won't work. Fortunately, there are xencenter and SDK.
5. The help and scenarios for backup and disaster recovery are described in detail in the xenserver Management Manual.
Now, the first step is to automate the installation of xen server patches. I have studied other powershell scripts written in the powershell SDK Syntax of Version 6.1, but it has changed a lot in version 6.2.
This is the final result after the patch is updated using a script.
650) This. width = 650; "Title =" image "style =" border-left-0px; border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; padding-Right: 0px; border-top-width: 0px "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201409/5/973273_1409900815egGL.png "width =" 867 "Height =" 756 "/>
The script is divided into two parts: one for downloading and decompression patches, and the other for updating patches from the directory after the patch is downloaded (automatic suspension, shutdown of related virtual machines, and ISO mounting is displayed, automatically Set the server to the maintenance status, and so on ).
Downloader patch selection Interface
650) This. width = 650; "Title =" image "style =" border-left-0px; border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; padding-Right: 0px; border-top-width: 0px "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201409/5/973273_1409900815GESM.png "width =" 1204 "Height =" 629 "/>
Updater update output:
650) This. width = 650; "Title =" image "style =" border-left-0px; border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; padding-Right: 0px; border-top-width: 0px "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201409/5/973273_1409900816CkO9.png "width =" 694 "Height =" 473 "/>
Related script file packaging:
Https://github.com/yoke88/AutomateXenServerPatch/archive/master.zip
Automate xen Server 6.2 patch update by powershell