Changes

From Amahi Wiki
Jump to: navigation, search
no edit summary
[https://wiki.amahi.org/index.php/Amahi_Virtualized | Back to 'Amahi Virtualized']
This tutorial will not include a detailed description of installing XenServer. That can be found on [http://www.xenserver.org/ XenServer.org].
<h3>Updates</h3>
Put the server into Maintenance Mode. Download the updates suggested from the XenCenter on a client machine. Use SCP to copy the downloaded update file to a location you can find on the XenCenter server or on Windows use an SCP program like [http://www.putty.org/ Bitvise WinSSHD] . Then SSH from a client computer into the XenServer. Run the following at the command prompt:
# xe patch-upload -s 192.168.1.10 -u root -pw password file-name=/root/XS62E001.xsupdate
{|style="width: 95%; margin-left: 10px; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #aaa"!style="color:#777; background-color:#dfd;text-align:left"|{{{lang|{{{2|bash}}}}}} code|-|{{#tag:syntaxhighlight|​{{{Code|{{{xe patch-upload -s 192.168.1.10 -u root -pw password file-name=/root/XS62E001.xsupdate}}}}}}​|lang={{{lang|{{{2|bash}}}}}}|enclose=none}}|}<!--{{#tag:syntaxhighlight|{{{1}}}}}--> The IP is here should be the one set for the XenServer and the filename is the one that matches should match the update that was just downloaded and unzipped. If uploaded properly you should get a UUID, example: dedcc0dd-d8f3-4f76-90ca-92697c7a44f0
Now apply the hotfix:
{|style="width: 95%; margin-left: 10px; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: # aaa"!style="color:#777; background-color:#dfd;text-align:left"|{{{lang|{{{2|bash}}}}}} code|-|{{#tag:syntaxhighlight|​{{{Code|{{{xe -s 192.168.1.10 -u root -pw password patch-pool-apply uuid=dedcc0dd-d8f3-4f76-90ca-92697c7a44f0}}}}}}​|lang={{{lang|{{{2|bash}}}}}}|enclose=none}}|}<!--{{#tag:syntaxhighlight|{{{1}}}}}-->
Verify patch installation:
{|style="width: 95%; margin-left: 10px; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: # aaa"!style="color:#777; background-color:#dfd;text-align:left"|{{{lang|{{{2|bash}}}}}} code|-|{{#tag:syntaxhighlight|​{{{Code|{{{xe patch-list -s 192.168.1.10 -u root -pw password name-label=XS62E001}}}}}}​|lang={{{lang|{{{2|bash}}}}}}|enclose=none}}|}<!--{{#tag:syntaxhighlight|{{{1}}}}}-->
If everything looks good then run this command to restart server:
{|style="width: 95%; margin-left: 10px; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #aaa"!style="color:#777; background-color:#dfd;text-align:left"|{{{lang|{{{2|bash}}}}}} code|-|{{# tag:syntaxhighlight|​{{{Code|{{{xe-toolstack-restart}}}}}}​|lang={{{lang|{{{2|bash}}}}}}|enclose=none}}|} Windows Setupinstalled with <!--{{#tag:syntaxhighlight|{{{1 CPU 2048 MB RAM and 320 GB HD. Installed from Windows 7 x64 DVD in the drive. Then installed XenServer Tools by choosing the xs}}}}}--tools.iso from the DVD Drive 1 menu. Done!>
<h2>Amahi (Linux) Setup</h2>
Create a New VM, then choose Other install Media Template. Name the machine without spaces, choose to install from DVD drive where you have the Amahi 7.1 express disk located. Place on your Xenserver and choose CPU and RAM. I recommend a minimum of 1 CPU, 2048 MB RAM. Now add a virtual disk. For better performance you should have a separate drive or drive pool for each VM you create. I just created a new VDI on a disk I use for a variety of VMs and 750 GB. Again, for better performance, choose a dedicated NIC for each VM. I just chose the defaults which is a shared NIC on my XenServer. Switch to console on the newly created VM and install Amahi 7.1 as you would like.