<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="home" title="HomePage" href="HomePage.html" />
<link rel="help" title="HowToUseWiki" href="HowToUseWiki.html" />
<link rel="copyright" title="GNU General Public License" href="http://www.gnu.org/copyleft/gpl.html#SEC1" />
<link rel="author" title="The PhpWiki Programming Team" href="http://phpwiki.org/ThePhpWikiProgrammingTeam" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Language" content="en" />
<meta name="robots" content="noindex,nofollow" />
<meta name="language" content="en" />
<meta name="document-type" content="Public" />
<meta name="document-rating" content="General" />
<meta name="generator" content="PhpWiki" />
<meta name="PHPWIKI_VERSION" content="1.3.14" />

<link rel="stylesheet" type="text/css" charset="iso-8859-1" href="phpwiki-printer.css" />
<title>PhpWiki - Tips &amp; Tricks</title>
</head>
<body>

<div id="header">
  
<!-- Page title -->
<h1>Tips &amp; Tricks</h1>
</div>
<div id="content">



<div class="wikitext"><table class="wiki-dl-table" border="1" cellspacing="0" cellpadding="6"><tr class="tightenable top bottom"><th>Navigation</th>
<td><blockquote class="tightenable top bottom"><h4>Document</h4>
</blockquote>
</td>
</tr>
<tr class="tightenable top bottom"><th><a href="Installing%20SME%20into%20Qemu%20on%20Windows%20XP.html" class="named-wiki" title="Installing SME into Qemu on Windows XP">Introduction</a> <br /> <a href="Qemu-Winxp-Install.html" class="named-wiki" title="Qemu-Winxp-Install">Install</a> <br /> <a href="Qemu-config.html" class="named-wiki" title="Qemu-config">Configuration</a> <br /> <a href="Qemu-Sme-Install.html" class="named-wiki" title="Qemu-Sme-Install">Installing SME</a> <br /> <a href="Qemu-Connectivity-Test.html" class="named-wiki" title="Qemu-Connectivity-Test">Testing Connectivity</a> <br /> <a href="Qemu-Updates-Test.html" class="named-wiki" title="Qemu-Updates-Test">Testing Updates</a> <br /> <a href="Qemu-Info.html" class="named-wiki" title="Qemu-Info">Links</a> <br /> <a href="Tips%20%26%20Tricks.html" class="wiki">Tips &amp; Tricks</a></th>
<td>Why Qemu? <br /> Install Qemu and associated software on WinXP <br /> Configure your system to use Qemu <br /> Install SME Server on your virtual host <br /> Test your connectivity to make sure you can work with SME Server <br /> How to use Qemu to test SME updates <br /> More information about Qemu <br /> <br /></td>
</tr>
</table>
<p class="tightenable top"><br /></p>
<h3>Tips &amp; Tricks</h3>
<table class="wiki-dl-table" border="1" cellspacing="0" cellpadding="6"><tr class="tightenable top"><th>Updated</th>
<td>05Sep2005 - RonM</td>
</tr>
</table>
<p class="tightenable bottom"><b>To save the state of an SME instance running in a Qemu vm</b> <br /></p>
<blockquote class="tightenable top"><ul><li class="tightenable top bottom">Launch a vm (say, SME60) in the normal manner</li>
<li class="tightenable top bottom">When the vm shows a login prompt, type Ctrl + Alt + 2</li>
<li class="tightenable top bottom">type savevm SME60.vm (savevm <i>filename</i>)</li>
</ul>
</blockquote>
<p class="tightenable bottom"><b>To create a vm to launch a saved state</b> <br /></p>
<blockquote class="tightenable top bottom"><ul><li class="tightenable top bottom">Click on the Create a New Virtual Machine button in the toolbar</li>
<li class="tightenable top bottom">Name the new vm (say, SME60-ss)</li>
<li class="tightenable top bottom">Choose &quot;Linux Distribution&quot; for os</li>
<li class="tightenable top bottom">Choose &quot;This Virtual Machine Does not require a Virtual Drive&quot;</li>
<li class="tightenable top bottom">Skip next screen</li>
<li class="tightenable top bottom">Make sure &quot;View Advanced Configuration Options After Saving&quot; is checked; click the &quot;Save Virtual Machine&quot; button</li>
</ul>
</blockquote>
<p class="tightenable top bottom">.</p>
<blockquote class="tightenable top"><p class="tightenable top bottom">The Virtual Machine Configuration dialog box opens</p>
<blockquote class="tightenable top"><p class="tightenable top bottom">General Tab</p>
<blockquote class="tightenable top bottom"><ul><li class="tightenable top bottom">check &quot;Do not apply changes to disk image (Snapshot)&quot;</li>
</ul>
</blockquote>
<p class="tightenable top bottom">Disk Configuration tab</p>
<blockquote class="tightenable top bottom"><ul><li class="tightenable top bottom">click on the &quot;...&quot; button by &quot;Hard Disk C: (hda)&quot; and navigate to the appropriate .dsk file</li>
</ul>
</blockquote>
<p class="tightenable top bottom">Network Tab</p>
<blockquote class="tightenable top bottom"><ul><li class="tightenable top bottom">Check the &quot;Enable TAP Network Support&quot; checkbox</li>
<li class="tightenable top bottom">type &quot;my-tap&quot; into the &quot;TAP Adapter Name&quot; field</li>
</ul>
</blockquote>
<p class="tightenable top bottom">Advanced tab</p>
<blockquote class="tightenable top bottom"><ul><li class="tightenable top bottom">click on the &quot;...&quot; button by &quot;Launch VM With Selected Saved State&quot; and navigate to the appropriate .vm file</li>
</ul>
</blockquote>
</blockquote>
<p class="tightenable">You now have an instance of SME Server that you can open from a bare desktop in about 10 seconds!</p>
<p class="tightenable">You can use the same .dsk files that you originally installed SME into, or a copy of it. It is necessary to check the &quot;Do not apply changes to disk image (Snapshot)&quot; to avoid corrupting the .dsk image: SME treats it like sector corruption on a HDD and wants to launch fsck to try to fix it, but fails.</p>
<p class="tightenable bottom">You need to make any changes to a vm booted from a .dsk file - add files, do YUM updates, etc. The .vm file is handy, though, if you just need to check something out - saves a lot of time. SME in a .dsk file, on pretty good hardware, can take 90 to 180 seconds to boot - sometimes longer if it wasn't shutdown cleanly and decides to do a disk repair.</p>
</blockquote>
<p class="tightenable bottom"><b>You can use a .dsk file on multiple machines</b> <br /></p>
<blockquote class="tightenable top"><ul><li class="tightenable top bottom">just copy the file to the second machine and create a new virtual machine that points at it.</li>
</ul>
</blockquote>
<p class="tightenable bottom"><b>You can create a vm with more than one NIC</b> <br /></p>
<blockquote class="tightenable top bottom"><ul><li class="tightenable top bottom">add &quot;-nics 2&quot; to the &quot;Specify Optional Command Line Parameters&quot; on the Advanced tab of the VM Configuration dialog box.</li>
</ul>
</blockquote>
</div>

<div id="footer">  <hr class="printer" noshade="noshade" />
<p class="editdate">Owner: &quot;RonM&quot;  Last edited on September 6, 2005  1:26 am by &quot;RonM&quot;</p>
</div>

</div>
<!-- Add your Disclaimer here -->
</body>
</html>
