<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.stoney-cloud.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Pascal</id>
	<title>stoney-cloud.org - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.stoney-cloud.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Pascal"/>
	<link rel="alternate" type="text/html" href="https://wiki.stoney-cloud.org/wiki/Special:Contributions/Pascal"/>
	<updated>2026-05-13T13:45:38Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://wiki.stoney-cloud.org/w/index.php?title=Build_Server&amp;diff=4607</id>
		<title>Build Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoney-cloud.org/w/index.php?title=Build_Server&amp;diff=4607"/>
		<updated>2015-06-01T07:51:21Z</updated>

		<summary type="html">&lt;p&gt;Pascal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Overview =&lt;br /&gt;
* Base chroot environment for the creation of most binary packages which will be copied to the [[Binary Package Server]].&lt;br /&gt;
* Packages, which don&#039;t need to be built, for example [http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html Oracle&#039;s Java SE Development Kit] (JDK), can be fetched from the [[Mirror Server]].&lt;br /&gt;
* Software stacks built upon specialized binary packages, require their own chroot environment. If possible, avoid this.&lt;br /&gt;
* For reproducibility, Portage and Profiles are frozen with the help of version control system (git in our case). This is only done on the [[Mirror Server]].&lt;br /&gt;
* When building packages in a chroot environment, the portage and overlay versions need to set.&lt;br /&gt;
&lt;br /&gt;
== Portage Snapshotting ==&lt;br /&gt;
&lt;br /&gt;
To be able to reliably rebuild packages, we are working with a snapshotted/versioned portage tree.&lt;br /&gt;
&lt;br /&gt;
=== Updating the snapshot to latest ===&lt;br /&gt;
&lt;br /&gt;
We are using &amp;lt;code&amp;gt;emerge-webrsync&amp;lt;/code&amp;gt; since it features an already determined version, checksum- and gpg-validation.&lt;br /&gt;
&lt;br /&gt;
{{Cmd&lt;br /&gt;
|git clone &amp;quot;${PORTAGE_GIT_REPO}&amp;quot; portage&lt;br /&gt;
|cd portage&lt;br /&gt;
|PORTAGE_RSYNC_EXTRA_OPTS{{=}}&amp;quot;--exclude{{=}}/.git --exclude{{=}}/.gitignore&amp;quot; PORTDIR{{=}}&amp;quot;${PWD}&amp;quot; emerge-webrsync&lt;br /&gt;
|output=&amp;lt;pre&amp;gt;&lt;br /&gt;
Fetching most recent snapshot ...&lt;br /&gt;
Trying to retrieve 20140821 snapshot from http://mirror.switch.ch/mirror/gentoo ...&lt;br /&gt;
Fetching file portage-20140821.tar.xz.md5sum ...&lt;br /&gt;
Fetching file portage-20140821.tar.xz.gpgsig ...&lt;br /&gt;
Fetching file portage-20140821.tar.xz ...&lt;br /&gt;
Checking digest ...&lt;br /&gt;
Getting snapshot timestamp ...&lt;br /&gt;
Syncing local tree ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{Warning|If you get the following instead then there is no newer snapshot available}}&lt;br /&gt;
&lt;br /&gt;
{{Cmd&lt;br /&gt;
|PORTAGE_RSYNC_EXTRA_OPTS{{=}}&amp;quot;--exclude{{=}}/.git --exclude{{=}}/.gitignore&amp;quot; PORTDIR{{=}}&amp;quot;${PWD}&amp;quot; emerge-webrsync&lt;br /&gt;
|output=&amp;lt;pre&amp;gt;&lt;br /&gt;
Fetching most recent snapshot ...&lt;br /&gt;
 * Latest snapshot date: 20140821&lt;br /&gt;
 * &lt;br /&gt;
 * Approximate snapshot timestamp: 1408668300&lt;br /&gt;
 *        Current local timestamp: 1408667701&lt;br /&gt;
 * &lt;br /&gt;
 * The current local timestamp is possibly identical to the&lt;br /&gt;
 * timestamp of the latest snapshot. In order to force sync, use&lt;br /&gt;
 * the --revert option or remove the timestamp file located at&lt;br /&gt;
 * &#039;/run/user/1000/portage/metadata/timestamp.x&#039;.&lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Set the tag and push if there was an update:&lt;br /&gt;
{{Cmd&lt;br /&gt;
|cd portage/&lt;br /&gt;
|git add -A&lt;br /&gt;
|snapshot_date{{=}}$(date --date{{=}}@$(( $(cut -f 1 -d &amp;quot; &amp;quot; metadata/timestamp.x) - 86400 )) +%Y-%m-%d)&lt;br /&gt;
|git commit -m &amp;quot;Update portage tree to ${snapshot_date}&amp;quot;&lt;br /&gt;
|git tag -a -m &amp;quot;Tagging ${snapshot_date}&amp;quot; ${snapshot_date}&lt;br /&gt;
|git push &amp;amp;&amp;amp; git push --tags&lt;br /&gt;
|echo &amp;quot;snapshot date: ${snapshot_date}&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The subtraction of 86400 (1 day in seconds) above is to account for the fact that the snapshot for a given day is taken at 00:45 UTC on the following day and the timestamp contained in the tarball therefore is one day ahead (see {{Path|/usr/bin/emerge-webrsync}}).&lt;br /&gt;
&lt;br /&gt;
The meaning of the tag is therefore: contains at least all changes from that day (and possibly a bit more).&lt;br /&gt;
&lt;br /&gt;
== Chroot Setup ==&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
At least the following is required beforehand to ensure reproducible building:&lt;br /&gt;
&lt;br /&gt;
* a versioned portage tree&lt;br /&gt;
* versioned overlays (if any)&lt;br /&gt;
&lt;br /&gt;
=== Setup ===&lt;br /&gt;
&lt;br /&gt;
* Create a staging root directory and extract a stage3 or stage4 tarball&lt;br /&gt;
* Mount proc, sys and dev (required for portage to control the tty, determine available storage space, etc.)&lt;br /&gt;
* Copy {{Path|/etc/resolv.conf}}&lt;br /&gt;
* Checkout the versioned portage tree (since you probably won&#039;t have git yet in the tree)&lt;br /&gt;
* Enter the chroot&lt;br /&gt;
&lt;br /&gt;
{{RootCmd&lt;br /&gt;
|stagingRoot{{=}}/var/staging/staging-base&lt;br /&gt;
|mkdir -p &amp;quot;${stagingRoot}&amp;quot;&lt;br /&gt;
|tar -xjpf /var/tmp/your-stage4.tbz2 -C &amp;quot;${stagingRoot}&amp;quot;&lt;br /&gt;
|mount -t proc none &amp;quot;${stagingRoot}/proc&amp;quot;&lt;br /&gt;
|mount --rbind /dev/ &amp;quot;${stagingRoot}/dev/&amp;quot;&lt;br /&gt;
|mount --rbind /sys/ &amp;quot;${stagingRoot}/sys/&amp;quot;&lt;br /&gt;
|cp -af /etc/resolv.conf &amp;quot;${stagingRoot}/etc/&amp;quot;&lt;br /&gt;
|git clone &amp;quot;${PORTAGE_GIT_REPO}&amp;quot; &amp;quot;${stagingRoot}/usr/portage&amp;quot;&lt;br /&gt;
|chmod -R a+rX &amp;quot;${stagingRoot}/usr/portage&amp;quot;&lt;br /&gt;
|chroot &amp;quot;${stagingRoot}&amp;quot; /usr/bin/env -i HOME{{=}}&amp;quot;/root&amp;quot; TERM{{=}}&amp;quot;${TERM}&amp;quot; /bin/bash --login&lt;br /&gt;
|}}&lt;br /&gt;
&lt;br /&gt;
{{Note|We are deliberately using a special command for entering the chroot to avoid leaking environment variables}}&lt;br /&gt;
&lt;br /&gt;
* Install {{Package|app-portage/layman}} and probably {{Package|dev-vcs/git}} to install overlays&lt;br /&gt;
* You may want to add a mirror configuration if you have local mirrors:&lt;br /&gt;
{{File|/etc/portage/make.conf||&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
GENTOO_MIRRORS=&amp;quot;https://mirror.example.com/public/gentoo&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
* If needed, put the mirror for fetch restricted ebuilds in a local mirror definition:&lt;br /&gt;
{{File|/etc/portage/mirrors||&amp;lt;pre&amp;gt;&lt;br /&gt;
local https://mirror.example.com/restricted/gentoo&lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
* Add the following to generate binary packages during installation:&lt;br /&gt;
{{File|/etc/portage/make.conf||&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
FEATURES=&amp;quot;${FEATURES} buildpkg cgroup ipc-sandbox network-sandbox parallel-fetch&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
* Make sure that the repository configuration points to your git mirror as well:&lt;br /&gt;
{{File|/etc/portage/repos.conf/gentoo.conf||&amp;lt;source lang=&#039;ini&#039;&amp;gt;&lt;br /&gt;
[DEFAULT]&lt;br /&gt;
main-repo = gentoo&lt;br /&gt;
&lt;br /&gt;
[gentoo]&lt;br /&gt;
location = /usr/portage&lt;br /&gt;
sync-type = git&lt;br /&gt;
sync-uri = https://mirror.example.com/versioned/portage.git&lt;br /&gt;
&amp;lt;/source&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
* Rebuild everything:&lt;br /&gt;
{{RootCmd|emerge -e world}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Infrastructure]]&lt;/div&gt;</summary>
		<author><name>Pascal</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Upgrade&amp;diff=4540</id>
		<title>stoney cloud: Upgrade</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Upgrade&amp;diff=4540"/>
		<updated>2015-02-26T15:13:05Z</updated>

		<summary type="html">&lt;p&gt;Pascal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Overview =&lt;br /&gt;
This guide explains, what you need to do during the installation of your Multi-Node Installation.&lt;br /&gt;
&lt;br /&gt;
== Prepare your stoney cloud installation for the update ==&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;= 1.2.10.3 ===&lt;br /&gt;
&lt;br /&gt;
If you have a &#039;&#039;&#039;productive&#039;&#039;&#039; (releases) stoney cloud Installation, execute the following command:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
echo &#039;PORTAGE_BINHOST=&amp;quot;http://packages.stoney-cloud.org/stoney-cloud/releases/1.2/packages&amp;quot;&#039; &amp;gt;&amp;gt; /etc/portage/make.conf&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you have a &#039;&#039;&#039;test&#039;&#039;&#039; (pre-releases) stoney cloud Installation instead, execute the following command:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
echo &#039;PORTAGE_BINHOST=&amp;quot;http://packages.stoney-cloud.org/stoney-cloud/pre-releases/1.2/packages&amp;quot;&#039; &amp;gt;&amp;gt; /etc/portage/make.conf&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT:&#039;&#039;&#039; Even a pre-release ISO may result in a stable installation, depending on when it was generated in the release cycle. Please verify by executing &amp;lt;code&amp;gt;git branch&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;/usr/portage&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/lib/layman/foss-cloud&amp;lt;/code&amp;gt; whether this is the case, and [[stoney_cloud:_Switch_to_testing_branch|switch to the testing branch]] if needed (that is: if the branch displayed does not contain the words &amp;lt;code&amp;gt;pre&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;testing&amp;lt;/code&amp;gt;. If the branch is empty, that means you have a brand new installation without anything yet. In that case, directly check the configuration files &amp;lt;code&amp;gt;/usr/portage/.git/config&amp;lt;/code&amp;gt; and/or &amp;lt;code&amp;gt;/var/lib/layman/foss-cloud/.git/config&amp;lt;/code&amp;gt; to see which branch it would check out upon &amp;lt;code&amp;gt;emerge --sync&amp;lt;/code&amp;gt; and from where.).&lt;br /&gt;
&lt;br /&gt;
=== &amp;gt;= 1.2.10.4 ===&lt;br /&gt;
&lt;br /&gt;
Execute the following command to register the binary package mirror (since for now there will be only pre-releases, but with better quality than FOSS-Cloud releases):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
echo &#039;PORTAGE_BINHOST=&amp;quot;http://packages.stoney-cloud.org/stoney-cloud/pre-releases/1.2/packages&amp;quot;&#039; &amp;gt;&amp;gt; /etc/portage/make.conf&lt;br /&gt;
&lt;br /&gt;
# Disable the SYNC from rsync since newer portage versions otherwise won&#039;t accept a portage tree via git&lt;br /&gt;
sed -i -e &#039;s|^SYNC|#SYNC|&#039; /etc/portage/make.conf&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Update ==&lt;br /&gt;
&lt;br /&gt;
=== Updating from 1.2.10.7 or earlier to 1.2.10.8_rc4 or newer ===&lt;br /&gt;
&lt;br /&gt;
A complete rebuild of all packages was required, therefore the update guide is different:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
emerge --sync&lt;br /&gt;
&lt;br /&gt;
emerge -eK world -va&lt;br /&gt;
 &lt;br /&gt;
# sst-libvirt-hooks is not part of the stoney-cloud anymore since it requires further configuration&lt;br /&gt;
# make sure that it still gets updated and not removed later, if you have it installed and enabled&lt;br /&gt;
emerge -K app-emulation/sst-libvirt-hooks&lt;br /&gt;
 &lt;br /&gt;
dispatch-conf&lt;br /&gt;
 &lt;br /&gt;
# Switch runtime switchable options&lt;br /&gt;
eselect python set python3.3&lt;br /&gt;
eselect php set cli php5.5&lt;br /&gt;
eselect php set apache2 php5.5&lt;br /&gt;
gcc-config x86_64-pc-linux-gnu-4.7.3&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
During the dispatch-conf the following may appear:&lt;br /&gt;
* /etc/libvirt/libvirt.conf: you may get the suggestion to remove almost all content. Quit dispatch-conf and do: &amp;lt;code&amp;gt;rm /etc/libvirt/._mrg*&amp;lt;/code&amp;gt; and start dispatch-conf again.&lt;br /&gt;
* /etc/libvirt/libvirt.conf: merge all whitespace/comment changes but make sure you don&#039;t overwrite the &amp;lt;code&amp;gt;listen_addr&amp;lt;/code&amp;gt;&lt;br /&gt;
* /etc/portage/make.conf: merge all changes beside the &amp;lt;code&amp;gt;PORTAGE_BINHOST&amp;lt;/code&amp;gt;&lt;br /&gt;
* /var/www/localhost/htdocs/vm-manager/vm_config.php: merge the versions, newly added lines and comments. Avoid changes on sstSourceHostName array&lt;br /&gt;
&lt;br /&gt;
To make sure everything works, reboot and then cleanup:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
emerge --depclean -va&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* If the cleanup fails stating that &amp;lt;code&amp;gt;Locale-gettext&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;dev-libs/boost&amp;lt;/code&amp;gt; depends on some version of perl, reinstall that package manually once and try again:&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
emerge -1Kva dev-libs/boost Locale-gettext&lt;br /&gt;
&lt;br /&gt;
# same for autoconf-/automake-wrapper if host was used to build stuff:&lt;br /&gt;
emerge -1K sys-devel/autoconf-wrapper sys-devel/automake-wrapper&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;WARNING&#039;&#039;&#039;: this also removes the current kernel. If you want to play it safe, reboot first, then depclean, then reboot again&lt;br /&gt;
* Rebuilde separately installed perl modules and remove traces of the old perl version:&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
perl-cleaner --all -- -va&lt;br /&gt;
rm -rf /usr/lib64/perl5/{vendor_perl,}/5.12.4&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Emulator ====&lt;br /&gt;
* u=devices,sstVirtualMachine=*,ou=virtual machines,ou=virtualization,ou=services,o=stepping-stone,c=ch&lt;br /&gt;
&lt;br /&gt;
Change&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sstEmulator: /usr/bin/qemu-kvm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sstEmulator: /usr/bin/qemu-system-x86_64&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Source Port ====&lt;br /&gt;
* sstDisk=vda,ou=devices,sstVirtualMachine=*,ou=virtual machines,ou=virtualization,ou=services,dc=stoney-cloud,dc=org&lt;br /&gt;
* sstDisk=vdb,ou=devices,sstVirtualMachine=*,ou=virtual machines,ou=virtualization,ou=services,dc=stoney-cloud,dc=org&lt;br /&gt;
&lt;br /&gt;
Add&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sstSourcePort: 24007&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Firewall / Subversion ====&lt;br /&gt;
If you are using our firewall scripts (libvirt-hooks based), you&#039;ll also have to upgrade subversion (on all the stoney cloud nodes):&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
cd /usr/local/scripts/netfilter/local/chains/vms&lt;br /&gt;
svn upgrade&lt;br /&gt;
cd /usr/local/scripts/netfilter/local/chains/$(hostname -s)&lt;br /&gt;
svn upgrade&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Regular Update ===&lt;br /&gt;
&lt;br /&gt;
Makes sure, your local portage tree is updated:&lt;br /&gt;
 emerge --sync&lt;br /&gt;
&lt;br /&gt;
Now you can make sure, that you&#039;ve got the current stoney cloud version installed:&lt;br /&gt;
 emerge -KuDva virtual/foss-cloud&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Local copy of remote index is up-to-date and will be used.&lt;br /&gt;
&lt;br /&gt;
These are the packages that would be merged, in order:&lt;br /&gt;
&lt;br /&gt;
Calculating dependencies... done!&lt;br /&gt;
&lt;br /&gt;
Total: 0 packages, Size of downloads: 0 kB&lt;br /&gt;
&lt;br /&gt;
 * virtual/foss-cloud-1.2.10.4&lt;br /&gt;
&lt;br /&gt;
Would you like to add these packages to your world favorites? [Yes/No] &#039;&#039;&#039;no&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you have updated you stoney cloud, you might want to sanely update your configuration files after emerging new packages (including updates):&lt;br /&gt;
 dispatch-conf&lt;br /&gt;
&lt;br /&gt;
== Installing Software Examples ==&lt;br /&gt;
Per default, the stoney cloud expects you to install binary packages. So if you don&#039;t pass any special parameters to the emerge command, the binary package (if it exists) will be used.&lt;br /&gt;
&lt;br /&gt;
=== Binary Package ===&lt;br /&gt;
Per default, the stoney cloud expects you to install binary packages, which can be seen with &#039;&#039;&#039;[binary   R    ]&#039;&#039;&#039; output.&lt;br /&gt;
 emerge -va git&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
These are the packages that would be merged, in order:&lt;br /&gt;
&lt;br /&gt;
Calculating dependencies... done!&lt;br /&gt;
[binary   R    ] dev-vcs/git-1.7.12.4  USE=&amp;quot;blksha1 curl iconv nls pcre perl threads webdav -cgi -cvs -doc -emacs -gpg -gtk -highlight (-ppcsha1) -python -subversion {-test} -tk -xinetd&amp;quot; 5,295 kB&lt;br /&gt;
&lt;br /&gt;
Total: 1 package (1 reinstall, 1 binary), Size of downloads: 5,295 kB&lt;br /&gt;
&lt;br /&gt;
Would you like to merge these packages? [Yes/No] no&lt;br /&gt;
&lt;br /&gt;
Quitting.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Force Non-Binary Package ===&lt;br /&gt;
If you force a non-binary package, the output will be in the form of &#039;&#039;&#039;[ebuild   R    ]&#039;&#039;&#039;.&lt;br /&gt;
 FEATURES=&amp;quot;-getbinpkg&amp;quot; emerge -va git&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
These are the packages that would be merged, in order:&lt;br /&gt;
&lt;br /&gt;
Calculating dependencies... done!&lt;br /&gt;
[ebuild  N     ] app-arch/cpio-2.11  USE=&amp;quot;nls&amp;quot; 995 kB&lt;br /&gt;
[ebuild   R    ] dev-vcs/git-1.7.12.4  USE=&amp;quot;blksha1 curl iconv nls pcre perl threads webdav -cgi -cvs -doc -emacs -gpg -gtk -highlight (-ppcsha1) -python -subversion {-test} -tk -xinetd&amp;quot; 4,523 kB&lt;br /&gt;
&lt;br /&gt;
Total: 2 packages (1 new, 1 reinstall), Size of downloads: 5,518 kB&lt;br /&gt;
&lt;br /&gt;
Would you like to merge these packages? [Yes/No] &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== No Binary Package Exists ===&lt;br /&gt;
The following example shows you a package with no existing binary package, therefore the package must be compiled on the fly, shown with &#039;&#039;&#039;[ebuild  N     ]&#039;&#039;&#039;.&lt;br /&gt;
 emerge -va htop&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Local copy of remote index is up-to-date and will be used.&lt;br /&gt;
&lt;br /&gt;
These are the packages that would be merged, in order:&lt;br /&gt;
&lt;br /&gt;
Calculating dependencies... done!&lt;br /&gt;
[ebuild  N     ] sys-process/htop-1.0.2  USE=&amp;quot;unicode -openvz -vserver&amp;quot; 380 kB&lt;br /&gt;
&lt;br /&gt;
Total: 1 package (1 new), Size of downloads: 380 kB&lt;br /&gt;
&lt;br /&gt;
Would you like to merge these packages? [Yes/No] &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Multi-Node Installation ==&lt;br /&gt;
Follow the [[Multi-Node_Installation#Specialized_Installation | Specialized Installation]] Guide.&lt;br /&gt;
&lt;br /&gt;
== Basic Testing Steps ==&lt;br /&gt;
Get your stoney cloud image:&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
version=1.2.10.7        # stoney cloud version&lt;br /&gt;
&lt;br /&gt;
cd /var/virtualization/iso-choosable/&lt;br /&gt;
wget http://packages.stoney-cloud.org/stoney-cloud/pre-releases/1.2/iso/foss-cloud-installer-${version}.iso&lt;br /&gt;
chown apache:vm-storage foss-cloud-installer-${version}.iso&lt;br /&gt;
chmod 644 foss-cloud-installer-${version}.iso&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Get a Fedora ISO image:&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
version=21        # Fedora version&lt;br /&gt;
&lt;br /&gt;
cd /var/virtualization/iso-choosable/&lt;br /&gt;
wget http://mirror.switch.ch/ftp/mirror/fedora/linux/releases/${version}/Server/x86_64/iso/Fedora-Server-netinst-x86_64-${version}.iso&lt;br /&gt;
chown apache:vm-storage Fedora-Server-netinst-x86_64-${version}.iso&lt;br /&gt;
chmod 644 Fedora-Server-netinst-x86_64-${version}.iso&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Lernstick (Test):&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
cd /var/virtualization/iso-choosable/&lt;br /&gt;
wget http://www.imedias.ch/dateien/lernstick-testversion/lernstick_debian7_2013-12-12.iso&lt;br /&gt;
chown apache:vm-storage lernstick_debian7_2013-12-12.iso&lt;br /&gt;
chmod 644 lernstick_debian7_2013-12-12.iso&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Get your debian image:&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
version=7.8.0        # Debian version&lt;br /&gt;
&lt;br /&gt;
cd /var/virtualization/iso-choosable/&lt;br /&gt;
wget http://cdimage.debian.org/debian-cd/${version}/amd64/iso-cd/debian-${version}-amd64-netinst.iso&lt;br /&gt;
chown apache:vm-storage debian-${version}-amd64-netinst.iso&lt;br /&gt;
chmod 644 debian-${version}-amd64-netinst.iso&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Get your ubuntu desktop image:&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
version=14.04        # ubuntu version&lt;br /&gt;
&lt;br /&gt;
cd /var/virtualization/iso-choosable/&lt;br /&gt;
wget http://mirror.switch.ch/ftp/mirror/ubuntu-cdimage/${version}/ubuntu-${version}-desktop-amd64.iso&lt;br /&gt;
chown apache:vm-storage ubuntu-${version}-desktop-amd64.iso&lt;br /&gt;
chmod 644 ubuntu-${version}-desktop-amd64.iso&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Get your ubuntu server image:&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
version=14.04        # ubuntu version&lt;br /&gt;
&lt;br /&gt;
cd /var/virtualization/iso-choosable/&lt;br /&gt;
wget http://mirror.switch.ch/ftp/mirror/ubuntu-cdimage/${version}/ubuntu-${version}-server-amd64.iso&lt;br /&gt;
chown apache:vm-storage ubuntu-${version}-server-amd64.iso&lt;br /&gt;
chmod 644 ubuntu-${version}-server-amd64.iso&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Get a Windows 2012 Server R2 ISO image:&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
cd /var/virtualization/iso-choosable/&lt;br /&gt;
wget http://care.dlservice.microsoft.com/dl/download/6/2/A/62A76ABB-9990-4EFC-A4FE-C7D698DAEB96/9600.17050.WINBLUE_REFRESH.140317-1640_X64FRE_SERVER_EVAL_EN-US-IR3_SSS_X64FREE_EN-US_DV9.ISO -O windows_server_2012_r2_64bit_en.iso&lt;br /&gt;
chown apache:vm-storage windows_server_2012_r2_64bit_en.iso&lt;br /&gt;
chmod 640 windows_server_2012_r2_64bit_en.iso&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set three network ranges under https://192.168.140.10/vm-manager/subnet/index.html&lt;br /&gt;
 192.168.140.64&lt;br /&gt;
 26&lt;br /&gt;
 Template Range&lt;br /&gt;
 template&lt;br /&gt;
&lt;br /&gt;
 192.168.140.128&lt;br /&gt;
 26&lt;br /&gt;
 Persistent Range&lt;br /&gt;
 persistent&lt;br /&gt;
&lt;br /&gt;
 192.168.140.192&lt;br /&gt;
 26&lt;br /&gt;
 Dynamic Range&lt;br /&gt;
 dynamic&lt;br /&gt;
&lt;br /&gt;
Add the three newly creates network ranges to the VM-Pools under https://192.168.140.10/vm-manager/vmPool/index.html&lt;br /&gt;
&lt;br /&gt;
Create a Virtual Machine Profile under https://192.168.140.10/vm-manager/vmProfile/create.html&lt;br /&gt;
&lt;br /&gt;
Create a Virtual Machine Template under https://192.168.140.10/vm-manager/vmTemplate/create.html and install a basic operating system.&lt;br /&gt;
&lt;br /&gt;
Create a persistent Virtual Machine from the newly created Virtual Machine Template.&lt;br /&gt;
&lt;br /&gt;
== Known Issues ==&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;br /&gt;
[[Category:stoney cloud]]&lt;/div&gt;</summary>
		<author><name>Pascal</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Upgrade&amp;diff=4539</id>
		<title>stoney cloud: Upgrade</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Upgrade&amp;diff=4539"/>
		<updated>2015-02-26T15:11:14Z</updated>

		<summary type="html">&lt;p&gt;Pascal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Overview =&lt;br /&gt;
This guide explains, what you need to do during the installation of your Multi-Node Installation.&lt;br /&gt;
&lt;br /&gt;
== Prepare your stoney cloud installation for the update ==&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;= 1.2.10.3 ===&lt;br /&gt;
&lt;br /&gt;
If you have a &#039;&#039;&#039;productive&#039;&#039;&#039; (releases) stoney cloud Installation, execute the following command:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
echo &#039;PORTAGE_BINHOST=&amp;quot;http://packages.stoney-cloud.org/stoney-cloud/releases/1.2/packages&amp;quot;&#039; &amp;gt;&amp;gt; /etc/portage/make.conf&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you have a &#039;&#039;&#039;test&#039;&#039;&#039; (pre-releases) stoney cloud Installation instead, execute the following command:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
echo &#039;PORTAGE_BINHOST=&amp;quot;http://packages.stoney-cloud.org/stoney-cloud/pre-releases/1.2/packages&amp;quot;&#039; &amp;gt;&amp;gt; /etc/portage/make.conf&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT:&#039;&#039;&#039; Even a pre-release ISO may result in a stable installation, depending on when it was generated in the release cycle. Please verify by executing &amp;lt;code&amp;gt;git branch&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;/usr/portage&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/lib/layman/foss-cloud&amp;lt;/code&amp;gt; whether this is the case, and [[stoney_cloud:_Switch_to_testing_branch|switch to the testing branch]] if needed (that is: if the branch displayed does not contain the words &amp;lt;code&amp;gt;pre&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;testing&amp;lt;/code&amp;gt;. If the branch is empty, that means you have a brand new installation without anything yet. In that case, directly check the configuration files &amp;lt;code&amp;gt;/usr/portage/.git/config&amp;lt;/code&amp;gt; and/or &amp;lt;code&amp;gt;/var/lib/layman/foss-cloud/.git/config&amp;lt;/code&amp;gt; to see which branch it would check out upon &amp;lt;code&amp;gt;emerge --sync&amp;lt;/code&amp;gt; and from where.).&lt;br /&gt;
&lt;br /&gt;
=== &amp;gt;= 1.2.10.4 ===&lt;br /&gt;
&lt;br /&gt;
Execute the following command to register the binary package mirror (since for now there will be only pre-releases, but with better quality than FOSS-Cloud releases):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
echo &#039;PORTAGE_BINHOST=&amp;quot;http://packages.stoney-cloud.org/stoney-cloud/pre-releases/1.2/packages&amp;quot;&#039; &amp;gt;&amp;gt; /etc/portage/make.conf&lt;br /&gt;
&lt;br /&gt;
# Disable the SYNC from rsync since newer portage versions otherwise won&#039;t accept a portage tree via git&lt;br /&gt;
sed -i -e &#039;s|^SYNC|#SYNC|&#039; /etc/portage/make.conf&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Update ==&lt;br /&gt;
&lt;br /&gt;
=== Updating from 1.2.10.7 or earlier to 1.2.10.8_rc4 or newer ===&lt;br /&gt;
&lt;br /&gt;
A complete rebuild of all packages was required, therefore the update guide is different:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
emerge --sync&lt;br /&gt;
&lt;br /&gt;
emerge -eK world -va&lt;br /&gt;
 &lt;br /&gt;
# sst-libvirt-hooks is not part of the stoney-cloud anymore since it requires further configuration&lt;br /&gt;
# make sure that it still gets updated and not removed later, if you have it installed and enabled&lt;br /&gt;
emerge -K app-emulation/sst-libvirt-hooks&lt;br /&gt;
 &lt;br /&gt;
dispatch-conf&lt;br /&gt;
 &lt;br /&gt;
# Switch runtime switchable options&lt;br /&gt;
eselect python set python3.3&lt;br /&gt;
eselect php set cli php5.5&lt;br /&gt;
eselect php set apache2 php5.5&lt;br /&gt;
gcc-config x86_64-pc-linux-gnu-4.7.3&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
During the dispatch-conf the following may appear:&lt;br /&gt;
* /etc/libvirt/libvirt.conf: you may get the suggestion to remove almost all content. Quit dispatch-conf and do: &amp;lt;code&amp;gt;rm /etc/libvirt/._mrg*&amp;lt;/code&amp;gt; and start dispatch-conf again.&lt;br /&gt;
* /etc/libvirt/libvirt.conf: merge all whitespace/comment changes but make sure you don&#039;t overwrite the &amp;lt;code&amp;gt;listen_addr&amp;lt;/code&amp;gt;&lt;br /&gt;
* /etc/portage/make.conf: merge all changes beside the &amp;lt;code&amp;gt;PORTAGE_BINHOST&amp;lt;/code&amp;gt;&lt;br /&gt;
* /var/www/localhost/htdocs/vm-manager/vm_config.php: merge the versions, newly added lines and comments. Avoid changes on sstSourceHostName array&lt;br /&gt;
&lt;br /&gt;
To make sure everything works, reboot and then cleanup:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
emerge --depclean -va&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* If the cleanup fails stating that &amp;lt;code&amp;gt;Locale-gettext&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;dev-libs/boost&amp;lt;/code&amp;gt; depends on some version of perl, reinstall that package manually once and try again:&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
emerge -1Kva dev-libs/boost Locale-gettext&lt;br /&gt;
&lt;br /&gt;
# same for autoconf-/automake-wrapper if host was used to build stuff:&lt;br /&gt;
emerge -1K sys-devel/autoconf-wrapper sys-devel/automake-wrapper&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;WARNING&#039;&#039;&#039;: this also removes the current kernel. If you want to play it safe, reboot first, then depclean, then reboot again&lt;br /&gt;
* Rebuilde separately installed perl modules and remove traces of the old perl version:&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
perl-cleaner --all -- -va&lt;br /&gt;
rm -rf /usr/lib64/perl5/{vendor_perl,}/5.12.4&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Emulator ====&lt;br /&gt;
* u=devices,sstVirtualMachine=*,ou=virtual machines,ou=virtualization,ou=services,o=stepping-stone,c=ch&lt;br /&gt;
&lt;br /&gt;
Change&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sstEmulator: /usr/bin/qemu-kvm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sstEmulator: /usr/bin/qemu-system-x86_64&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Source Port ====&lt;br /&gt;
* sstDisk=vda,ou=devices,sstVirtualMachine=*,ou=virtual machines,ou=virtualization,ou=services,dc=stoney-cloud,dc=org&lt;br /&gt;
* sstDisk=vdb,ou=devices,sstVirtualMachine=*,ou=virtual machines,ou=virtualization,ou=services,dc=stoney-cloud,dc=org&lt;br /&gt;
&lt;br /&gt;
Add&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sstSourcePort: 24007&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Firewall / Subversion ====&lt;br /&gt;
If you are using our firewall scripts (libvirt-hooks based), you&#039;ll also have to upgrade subversion (on all the stoney cloud nodes):&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
cd /usr/local/scripts/netfilter/local/chains/vms&lt;br /&gt;
svn upgrade&lt;br /&gt;
cd /usr/local/scripts/netfilter/local/chains/$(hostname -s)&lt;br /&gt;
svn upgrade&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Regular Update ===&lt;br /&gt;
&lt;br /&gt;
Makes sure, your local portage tree is updated:&lt;br /&gt;
 emerge --sync&lt;br /&gt;
&lt;br /&gt;
Now you can make sure, that you&#039;ve got the current stoney cloud version installed:&lt;br /&gt;
 emerge -KuDva virtual/foss-cloud&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Local copy of remote index is up-to-date and will be used.&lt;br /&gt;
&lt;br /&gt;
These are the packages that would be merged, in order:&lt;br /&gt;
&lt;br /&gt;
Calculating dependencies... done!&lt;br /&gt;
&lt;br /&gt;
Total: 0 packages, Size of downloads: 0 kB&lt;br /&gt;
&lt;br /&gt;
 * virtual/foss-cloud-1.2.10.4&lt;br /&gt;
&lt;br /&gt;
Would you like to add these packages to your world favorites? [Yes/No] &#039;&#039;&#039;no&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you have updated you stoney cloud, you might want to sanely update your configuration files after emerging new packages (including updates):&lt;br /&gt;
 dispatch-conf&lt;br /&gt;
&lt;br /&gt;
== Installing Software Examples ==&lt;br /&gt;
Per default, the stoney cloud expects you to install binary packages. So if you don&#039;t pass any special parameters to the emerge command, the binary package (if it exists) will be used.&lt;br /&gt;
&lt;br /&gt;
=== Binary Package ===&lt;br /&gt;
Per default, the stoney cloud expects you to install binary packages, which can be seen with &#039;&#039;&#039;[binary   R    ]&#039;&#039;&#039; output.&lt;br /&gt;
 emerge -va git&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
These are the packages that would be merged, in order:&lt;br /&gt;
&lt;br /&gt;
Calculating dependencies... done!&lt;br /&gt;
[binary   R    ] dev-vcs/git-1.7.12.4  USE=&amp;quot;blksha1 curl iconv nls pcre perl threads webdav -cgi -cvs -doc -emacs -gpg -gtk -highlight (-ppcsha1) -python -subversion {-test} -tk -xinetd&amp;quot; 5,295 kB&lt;br /&gt;
&lt;br /&gt;
Total: 1 package (1 reinstall, 1 binary), Size of downloads: 5,295 kB&lt;br /&gt;
&lt;br /&gt;
Would you like to merge these packages? [Yes/No] no&lt;br /&gt;
&lt;br /&gt;
Quitting.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Force Non-Binary Package ===&lt;br /&gt;
If you force a non-binary package, the output will be in the form of &#039;&#039;&#039;[ebuild   R    ]&#039;&#039;&#039;.&lt;br /&gt;
 FEATURES=&amp;quot;-getbinpkg&amp;quot; emerge -va git&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
These are the packages that would be merged, in order:&lt;br /&gt;
&lt;br /&gt;
Calculating dependencies... done!&lt;br /&gt;
[ebuild  N     ] app-arch/cpio-2.11  USE=&amp;quot;nls&amp;quot; 995 kB&lt;br /&gt;
[ebuild   R    ] dev-vcs/git-1.7.12.4  USE=&amp;quot;blksha1 curl iconv nls pcre perl threads webdav -cgi -cvs -doc -emacs -gpg -gtk -highlight (-ppcsha1) -python -subversion {-test} -tk -xinetd&amp;quot; 4,523 kB&lt;br /&gt;
&lt;br /&gt;
Total: 2 packages (1 new, 1 reinstall), Size of downloads: 5,518 kB&lt;br /&gt;
&lt;br /&gt;
Would you like to merge these packages? [Yes/No] &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== No Binary Package Exists ===&lt;br /&gt;
The following example shows you a package with no existing binary package, therefore the package must be compiled on the fly, shown with &#039;&#039;&#039;[ebuild  N     ]&#039;&#039;&#039;.&lt;br /&gt;
 emerge -va htop&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Local copy of remote index is up-to-date and will be used.&lt;br /&gt;
&lt;br /&gt;
These are the packages that would be merged, in order:&lt;br /&gt;
&lt;br /&gt;
Calculating dependencies... done!&lt;br /&gt;
[ebuild  N     ] sys-process/htop-1.0.2  USE=&amp;quot;unicode -openvz -vserver&amp;quot; 380 kB&lt;br /&gt;
&lt;br /&gt;
Total: 1 package (1 new), Size of downloads: 380 kB&lt;br /&gt;
&lt;br /&gt;
Would you like to merge these packages? [Yes/No] &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Multi-Node Installation ==&lt;br /&gt;
Follow the [[Multi-Node_Installation#Specialized_Installation | Specialized Installation]] Guide.&lt;br /&gt;
&lt;br /&gt;
== Basic Testing Steps ==&lt;br /&gt;
Get your stoney cloud image:&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
version=1.2.10.7        # stoney cloud version&lt;br /&gt;
&lt;br /&gt;
cd /var/virtualization/iso-choosable/&lt;br /&gt;
wget http://packages.stoney-cloud.org/stoney-cloud/pre-releases/1.2/iso/foss-cloud-installer-${version}.iso&lt;br /&gt;
chown apache:vm-storage foss-cloud-installer-${version}.iso&lt;br /&gt;
chmod 644 foss-cloud-installer-${version}.iso&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Get a Fedora ISO image:&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
version=21        # Fedora version&lt;br /&gt;
&lt;br /&gt;
cd /var/virtualization/iso-choosable/&lt;br /&gt;
wget http://mirror.switch.ch/ftp/mirror/fedora/linux/releases/${version}/Server/x86_64/iso/Fedora-Server-netinst-x86_64-${version}.iso&lt;br /&gt;
chown apache:vm-storage Fedora-Server-netinst-x86_64-${version}.iso&lt;br /&gt;
chmod 644 Fedora-Server-netinst-x86_64-${version}.iso&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Lernstick (Test):&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
cd /var/virtualization/iso-choosable/&lt;br /&gt;
wget http://www.imedias.ch/dateien/lernstick-testversion/lernstick_debian7_2013-12-12.iso&lt;br /&gt;
chown apache:vm-storage lernstick_debian7_2013-12-12.iso&lt;br /&gt;
chmod 644 lernstick_debian7_2013-12-12.iso&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Get your debian image:&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
version=7.8.0        # Debian version&lt;br /&gt;
&lt;br /&gt;
cd /var/virtualization/iso-choosable/&lt;br /&gt;
wget http://cdimage.debian.org/debian-cd/${version}/amd64/iso-cd/debian-${version}-amd64-netinst.iso&lt;br /&gt;
chown apache:vm-storage debian-${version}-amd64-netinst.iso&lt;br /&gt;
chmod 644 debian-${version}-amd64-netinst.iso&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Get your ubuntu desktop image:&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
version=14.04        # ubuntu version&lt;br /&gt;
&lt;br /&gt;
cd /var/virtualization/iso-choosable/&lt;br /&gt;
wget http://mirror.switch.ch/ftp/mirror/ubuntu-cdimage/${version}/ubuntu-${version}-desktop-amd64.iso&lt;br /&gt;
chown apache:vm-storage ubuntu-${version}-desktop-amd64.iso&lt;br /&gt;
chmod 644 ubuntu-${version}-desktop-amd64.iso&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Get your ubuntu server image:&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
version=14.04        # ubuntu version&lt;br /&gt;
&lt;br /&gt;
cd /var/virtualization/iso-choosable/&lt;br /&gt;
wget http://mirror.switch.ch/ftp/mirror/ubuntu-cdimage/${version}/ubuntu-${version}-server-amd64.iso&lt;br /&gt;
chown apache:vm-storage ubuntu-${version}-server-amd64.iso&lt;br /&gt;
chmod 644 ubuntu-${version}-server-amd64.iso&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Get a Windows 2012 Server R2 ISO image:&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
cd /var/virtualization/iso-choosable/&lt;br /&gt;
http://care.dlservice.microsoft.com/dl/download/6/2/A/62A76ABB-9990-4EFC-A4FE-C7D698DAEB96/9600.17050.WINBLUE_REFRESH.140317-1640_X64FRE_SERVER_EVAL_EN-US-IR3_SSS_X64FREE_EN-US_DV9.ISO&lt;br /&gt;
mv 9600.17050.WINBLUE_REFRESH.140317-1640_X64FRE_SERVER_EVAL_EN-US-IR3_SSS_X64FREE_EN-US_DV9.ISO windows2012r2_64bit_en.iso&lt;br /&gt;
chown apache:vm-storage windows2012r2_64bit_en.iso&lt;br /&gt;
chmod 640 windows2012r2_64bit_en.iso&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set three network ranges under https://192.168.140.10/vm-manager/subnet/index.html&lt;br /&gt;
 192.168.140.64&lt;br /&gt;
 26&lt;br /&gt;
 Template Range&lt;br /&gt;
 template&lt;br /&gt;
&lt;br /&gt;
 192.168.140.128&lt;br /&gt;
 26&lt;br /&gt;
 Persistent Range&lt;br /&gt;
 persistent&lt;br /&gt;
&lt;br /&gt;
 192.168.140.192&lt;br /&gt;
 26&lt;br /&gt;
 Dynamic Range&lt;br /&gt;
 dynamic&lt;br /&gt;
&lt;br /&gt;
Add the three newly creates network ranges to the VM-Pools under https://192.168.140.10/vm-manager/vmPool/index.html&lt;br /&gt;
&lt;br /&gt;
Create a Virtual Machine Profile under https://192.168.140.10/vm-manager/vmProfile/create.html&lt;br /&gt;
&lt;br /&gt;
Create a Virtual Machine Template under https://192.168.140.10/vm-manager/vmTemplate/create.html and install a basic operating system.&lt;br /&gt;
&lt;br /&gt;
Create a persistent Virtual Machine from the newly created Virtual Machine Template.&lt;br /&gt;
&lt;br /&gt;
== Known Issues ==&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;br /&gt;
[[Category:stoney cloud]]&lt;/div&gt;</summary>
		<author><name>Pascal</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Upgrade&amp;diff=4538</id>
		<title>stoney cloud: Upgrade</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Upgrade&amp;diff=4538"/>
		<updated>2015-02-26T15:10:22Z</updated>

		<summary type="html">&lt;p&gt;Pascal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Overview =&lt;br /&gt;
This guide explains, what you need to do during the installation of your Multi-Node Installation.&lt;br /&gt;
&lt;br /&gt;
== Prepare your stoney cloud installation for the update ==&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;= 1.2.10.3 ===&lt;br /&gt;
&lt;br /&gt;
If you have a &#039;&#039;&#039;productive&#039;&#039;&#039; (releases) stoney cloud Installation, execute the following command:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
echo &#039;PORTAGE_BINHOST=&amp;quot;http://packages.stoney-cloud.org/stoney-cloud/releases/1.2/packages&amp;quot;&#039; &amp;gt;&amp;gt; /etc/portage/make.conf&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you have a &#039;&#039;&#039;test&#039;&#039;&#039; (pre-releases) stoney cloud Installation instead, execute the following command:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
echo &#039;PORTAGE_BINHOST=&amp;quot;http://packages.stoney-cloud.org/stoney-cloud/pre-releases/1.2/packages&amp;quot;&#039; &amp;gt;&amp;gt; /etc/portage/make.conf&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT:&#039;&#039;&#039; Even a pre-release ISO may result in a stable installation, depending on when it was generated in the release cycle. Please verify by executing &amp;lt;code&amp;gt;git branch&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;/usr/portage&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/lib/layman/foss-cloud&amp;lt;/code&amp;gt; whether this is the case, and [[stoney_cloud:_Switch_to_testing_branch|switch to the testing branch]] if needed (that is: if the branch displayed does not contain the words &amp;lt;code&amp;gt;pre&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;testing&amp;lt;/code&amp;gt;. If the branch is empty, that means you have a brand new installation without anything yet. In that case, directly check the configuration files &amp;lt;code&amp;gt;/usr/portage/.git/config&amp;lt;/code&amp;gt; and/or &amp;lt;code&amp;gt;/var/lib/layman/foss-cloud/.git/config&amp;lt;/code&amp;gt; to see which branch it would check out upon &amp;lt;code&amp;gt;emerge --sync&amp;lt;/code&amp;gt; and from where.).&lt;br /&gt;
&lt;br /&gt;
=== &amp;gt;= 1.2.10.4 ===&lt;br /&gt;
&lt;br /&gt;
Execute the following command to register the binary package mirror (since for now there will be only pre-releases, but with better quality than FOSS-Cloud releases):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
echo &#039;PORTAGE_BINHOST=&amp;quot;http://packages.stoney-cloud.org/stoney-cloud/pre-releases/1.2/packages&amp;quot;&#039; &amp;gt;&amp;gt; /etc/portage/make.conf&lt;br /&gt;
&lt;br /&gt;
# Disable the SYNC from rsync since newer portage versions otherwise won&#039;t accept a portage tree via git&lt;br /&gt;
sed -i -e &#039;s|^SYNC|#SYNC|&#039; /etc/portage/make.conf&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Update ==&lt;br /&gt;
&lt;br /&gt;
=== Updating from 1.2.10.7 or earlier to 1.2.10.8_rc4 or newer ===&lt;br /&gt;
&lt;br /&gt;
A complete rebuild of all packages was required, therefore the update guide is different:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
emerge --sync&lt;br /&gt;
&lt;br /&gt;
emerge -eK world -va&lt;br /&gt;
 &lt;br /&gt;
# sst-libvirt-hooks is not part of the stoney-cloud anymore since it requires further configuration&lt;br /&gt;
# make sure that it still gets updated and not removed later, if you have it installed and enabled&lt;br /&gt;
emerge -K app-emulation/sst-libvirt-hooks&lt;br /&gt;
 &lt;br /&gt;
dispatch-conf&lt;br /&gt;
 &lt;br /&gt;
# Switch runtime switchable options&lt;br /&gt;
eselect python set python3.3&lt;br /&gt;
eselect php set cli php5.5&lt;br /&gt;
eselect php set apache2 php5.5&lt;br /&gt;
gcc-config x86_64-pc-linux-gnu-4.7.3&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
During the dispatch-conf the following may appear:&lt;br /&gt;
* /etc/libvirt/libvirt.conf: you may get the suggestion to remove almost all content. Quit dispatch-conf and do: &amp;lt;code&amp;gt;rm /etc/libvirt/._mrg*&amp;lt;/code&amp;gt; and start dispatch-conf again.&lt;br /&gt;
* /etc/libvirt/libvirt.conf: merge all whitespace/comment changes but make sure you don&#039;t overwrite the &amp;lt;code&amp;gt;listen_addr&amp;lt;/code&amp;gt;&lt;br /&gt;
* /etc/portage/make.conf: merge all changes beside the &amp;lt;code&amp;gt;PORTAGE_BINHOST&amp;lt;/code&amp;gt;&lt;br /&gt;
* /var/www/localhost/htdocs/vm-manager/vm_config.php: merge the versions, newly added lines and comments. Avoid changes on sstSourceHostName array&lt;br /&gt;
&lt;br /&gt;
To make sure everything works, reboot and then cleanup:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
emerge --depclean -va&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* If the cleanup fails stating that &amp;lt;code&amp;gt;Locale-gettext&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;dev-libs/boost&amp;lt;/code&amp;gt; depends on some version of perl, reinstall that package manually once and try again:&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
emerge -1Kva dev-libs/boost Locale-gettext&lt;br /&gt;
&lt;br /&gt;
# same for autoconf-/automake-wrapper if host was used to build stuff:&lt;br /&gt;
emerge -1K sys-devel/autoconf-wrapper sys-devel/automake-wrapper&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;WARNING&#039;&#039;&#039;: this also removes the current kernel. If you want to play it safe, reboot first, then depclean, then reboot again&lt;br /&gt;
* Rebuilde separately installed perl modules and remove traces of the old perl version:&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
perl-cleaner --all -- -va&lt;br /&gt;
rm -rf /usr/lib64/perl5/{vendor_perl,}/5.12.4&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Emulator ====&lt;br /&gt;
* u=devices,sstVirtualMachine=*,ou=virtual machines,ou=virtualization,ou=services,o=stepping-stone,c=ch&lt;br /&gt;
&lt;br /&gt;
Change&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sstEmulator: /usr/bin/qemu-kvm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sstEmulator: /usr/bin/qemu-system-x86_64&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Source Port ====&lt;br /&gt;
* sstDisk=vda,ou=devices,sstVirtualMachine=*,ou=virtual machines,ou=virtualization,ou=services,dc=stoney-cloud,dc=org&lt;br /&gt;
* sstDisk=vdb,ou=devices,sstVirtualMachine=*,ou=virtual machines,ou=virtualization,ou=services,dc=stoney-cloud,dc=org&lt;br /&gt;
&lt;br /&gt;
Add&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sstSourcePort: 24007&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Firewall / Subversion ====&lt;br /&gt;
If you are using our firewall scripts (libvirt-hooks based), you&#039;ll also have to upgrade subversion (on all the stoney cloud nodes):&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
cd /usr/local/scripts/netfilter/local/chains/vms&lt;br /&gt;
svn upgrade&lt;br /&gt;
cd /usr/local/scripts/netfilter/local/chains/$(hostname -s)&lt;br /&gt;
svn upgrade&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Regular Update ===&lt;br /&gt;
&lt;br /&gt;
Makes sure, your local portage tree is updated:&lt;br /&gt;
 emerge --sync&lt;br /&gt;
&lt;br /&gt;
Now you can make sure, that you&#039;ve got the current stoney cloud version installed:&lt;br /&gt;
 emerge -KuDva virtual/foss-cloud&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Local copy of remote index is up-to-date and will be used.&lt;br /&gt;
&lt;br /&gt;
These are the packages that would be merged, in order:&lt;br /&gt;
&lt;br /&gt;
Calculating dependencies... done!&lt;br /&gt;
&lt;br /&gt;
Total: 0 packages, Size of downloads: 0 kB&lt;br /&gt;
&lt;br /&gt;
 * virtual/foss-cloud-1.2.10.4&lt;br /&gt;
&lt;br /&gt;
Would you like to add these packages to your world favorites? [Yes/No] &#039;&#039;&#039;no&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you have updated you stoney cloud, you might want to sanely update your configuration files after emerging new packages (including updates):&lt;br /&gt;
 dispatch-conf&lt;br /&gt;
&lt;br /&gt;
== Installing Software Examples ==&lt;br /&gt;
Per default, the stoney cloud expects you to install binary packages. So if you don&#039;t pass any special parameters to the emerge command, the binary package (if it exists) will be used.&lt;br /&gt;
&lt;br /&gt;
=== Binary Package ===&lt;br /&gt;
Per default, the stoney cloud expects you to install binary packages, which can be seen with &#039;&#039;&#039;[binary   R    ]&#039;&#039;&#039; output.&lt;br /&gt;
 emerge -va git&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
These are the packages that would be merged, in order:&lt;br /&gt;
&lt;br /&gt;
Calculating dependencies... done!&lt;br /&gt;
[binary   R    ] dev-vcs/git-1.7.12.4  USE=&amp;quot;blksha1 curl iconv nls pcre perl threads webdav -cgi -cvs -doc -emacs -gpg -gtk -highlight (-ppcsha1) -python -subversion {-test} -tk -xinetd&amp;quot; 5,295 kB&lt;br /&gt;
&lt;br /&gt;
Total: 1 package (1 reinstall, 1 binary), Size of downloads: 5,295 kB&lt;br /&gt;
&lt;br /&gt;
Would you like to merge these packages? [Yes/No] no&lt;br /&gt;
&lt;br /&gt;
Quitting.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Force Non-Binary Package ===&lt;br /&gt;
If you force a non-binary package, the output will be in the form of &#039;&#039;&#039;[ebuild   R    ]&#039;&#039;&#039;.&lt;br /&gt;
 FEATURES=&amp;quot;-getbinpkg&amp;quot; emerge -va git&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
These are the packages that would be merged, in order:&lt;br /&gt;
&lt;br /&gt;
Calculating dependencies... done!&lt;br /&gt;
[ebuild  N     ] app-arch/cpio-2.11  USE=&amp;quot;nls&amp;quot; 995 kB&lt;br /&gt;
[ebuild   R    ] dev-vcs/git-1.7.12.4  USE=&amp;quot;blksha1 curl iconv nls pcre perl threads webdav -cgi -cvs -doc -emacs -gpg -gtk -highlight (-ppcsha1) -python -subversion {-test} -tk -xinetd&amp;quot; 4,523 kB&lt;br /&gt;
&lt;br /&gt;
Total: 2 packages (1 new, 1 reinstall), Size of downloads: 5,518 kB&lt;br /&gt;
&lt;br /&gt;
Would you like to merge these packages? [Yes/No] &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== No Binary Package Exists ===&lt;br /&gt;
The following example shows you a package with no existing binary package, therefore the package must be compiled on the fly, shown with &#039;&#039;&#039;[ebuild  N     ]&#039;&#039;&#039;.&lt;br /&gt;
 emerge -va htop&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Local copy of remote index is up-to-date and will be used.&lt;br /&gt;
&lt;br /&gt;
These are the packages that would be merged, in order:&lt;br /&gt;
&lt;br /&gt;
Calculating dependencies... done!&lt;br /&gt;
[ebuild  N     ] sys-process/htop-1.0.2  USE=&amp;quot;unicode -openvz -vserver&amp;quot; 380 kB&lt;br /&gt;
&lt;br /&gt;
Total: 1 package (1 new), Size of downloads: 380 kB&lt;br /&gt;
&lt;br /&gt;
Would you like to merge these packages? [Yes/No] &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Multi-Node Installation ==&lt;br /&gt;
Follow the [[Multi-Node_Installation#Specialized_Installation | Specialized Installation]] Guide.&lt;br /&gt;
&lt;br /&gt;
== Basic Testing Steps ==&lt;br /&gt;
Get your stoney cloud image:&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
version=1.2.10.7        # stoney cloud version&lt;br /&gt;
&lt;br /&gt;
cd /var/virtualization/iso-choosable/&lt;br /&gt;
wget http://packages.stoney-cloud.org/stoney-cloud/pre-releases/1.2/iso/foss-cloud-installer-${version}.iso&lt;br /&gt;
chown apache:vm-storage foss-cloud-installer-${version}.iso&lt;br /&gt;
chmod 644 foss-cloud-installer-${version}.iso&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Get a Fedora ISO image:&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
version=21        # Fedora version&lt;br /&gt;
&lt;br /&gt;
cd /var/virtualization/iso-choosable/&lt;br /&gt;
wget http://mirror.switch.ch/ftp/mirror/fedora/linux/releases/${version}/Server/x86_64/iso/Fedora-Server-netinst-x86_64-${version}.iso&lt;br /&gt;
chown apache:vm-storage Fedora-Server-netinst-x86_64-${version}.iso&lt;br /&gt;
chmod 644 Fedora-Server-netinst-x86_64-${version}.iso&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Lernstick (Test):&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
cd /var/virtualization/iso-choosable/&lt;br /&gt;
wget http://www.imedias.ch/dateien/lernstick-testversion/lernstick_debian7_2013-12-12.iso&lt;br /&gt;
chown apache:vm-storage lernstick_debian7_2013-12-12.iso&lt;br /&gt;
chmod 644 lernstick_debian7_2013-12-12.iso&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Get your debian image:&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
version=7.8.0        # Debian version&lt;br /&gt;
&lt;br /&gt;
cd /var/virtualization/iso-choosable/&lt;br /&gt;
wget http://cdimage.debian.org/debian-cd/${version}/amd64/iso-cd/debian-${version}-amd64-netinst.iso&lt;br /&gt;
chown apache:vm-storage debian-${version}-amd64-netinst.iso&lt;br /&gt;
chmod 644 debian-${version}-amd64-netinst.iso&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Get your ubuntu desktop image:&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
version=14.04        # ubuntu version&lt;br /&gt;
&lt;br /&gt;
cd /var/virtualization/iso-choosable/&lt;br /&gt;
wget http://mirror.switch.ch/ftp/mirror/ubuntu-cdimage/${version}/ubuntu-${version}-desktop-amd64.iso&lt;br /&gt;
chown apache:vm-storage ubuntu-${version}-desktop-amd64.iso&lt;br /&gt;
chmod 644 ubuntu-${version}-desktop-amd64.iso&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Get your ubuntu server image:&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
version=14.04        # ubuntu version&lt;br /&gt;
&lt;br /&gt;
cd /var/virtualization/iso-choosable/&lt;br /&gt;
wget http://mirror.switch.ch/ftp/mirror/ubuntu-cdimage/${version}/ubuntu-${version}-server-amd64.iso&lt;br /&gt;
chown apache:vm-storage ubuntu-${version}-server-amd64.iso&lt;br /&gt;
chmod 644 ubuntu-${version}-server-amd64.iso&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Get a Windows 2012 Server R2 ISO:&lt;br /&gt;
&amp;lt;source lang=&#039;bash&#039;&amp;gt;&lt;br /&gt;
cd /var/virtualization/iso-choosable/&lt;br /&gt;
http://care.dlservice.microsoft.com/dl/download/6/2/A/62A76ABB-9990-4EFC-A4FE-C7D698DAEB96/9600.17050.WINBLUE_REFRESH.140317-1640_X64FRE_SERVER_EVAL_EN-US-IR3_SSS_X64FREE_EN-US_DV9.ISO&lt;br /&gt;
mv 9600.17050.WINBLUE_REFRESH.140317-1640_X64FRE_SERVER_EVAL_EN-US-IR3_SSS_X64FREE_EN-US_DV9.ISO windows2012r2_64bit_en.iso&lt;br /&gt;
chown apache:vm-storage windows2012r2_64bit_en.iso&lt;br /&gt;
chmod 640 windows2012r2_64bit_en.iso&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set three network ranges under https://192.168.140.10/vm-manager/subnet/index.html&lt;br /&gt;
 192.168.140.64&lt;br /&gt;
 26&lt;br /&gt;
 Template Range&lt;br /&gt;
 template&lt;br /&gt;
&lt;br /&gt;
 192.168.140.128&lt;br /&gt;
 26&lt;br /&gt;
 Persistent Range&lt;br /&gt;
 persistent&lt;br /&gt;
&lt;br /&gt;
 192.168.140.192&lt;br /&gt;
 26&lt;br /&gt;
 Dynamic Range&lt;br /&gt;
 dynamic&lt;br /&gt;
&lt;br /&gt;
Add the three newly creates network ranges to the VM-Pools under https://192.168.140.10/vm-manager/vmPool/index.html&lt;br /&gt;
&lt;br /&gt;
Create a Virtual Machine Profile under https://192.168.140.10/vm-manager/vmProfile/create.html&lt;br /&gt;
&lt;br /&gt;
Create a Virtual Machine Template under https://192.168.140.10/vm-manager/vmTemplate/create.html and install a basic operating system.&lt;br /&gt;
&lt;br /&gt;
Create a persistent Virtual Machine from the newly created Virtual Machine Template.&lt;br /&gt;
&lt;br /&gt;
== Known Issues ==&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;br /&gt;
[[Category:stoney cloud]]&lt;/div&gt;</summary>
		<author><name>Pascal</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Multi-Node_Installation&amp;diff=1148</id>
		<title>stoney cloud: Multi-Node Installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Multi-Node_Installation&amp;diff=1148"/>
		<updated>2013-09-06T15:00:22Z</updated>

		<summary type="html">&lt;p&gt;Pascal: /* Manual Steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Specialized Installation ==&lt;br /&gt;
=== Primary-Master-Node (vm-node-01) ===&lt;br /&gt;
If you configured a additional Backup Volume on the Storage Nodes, you want to mount them now in the VM-Node.&lt;br /&gt;
&lt;br /&gt;
Log into the Primary-Master-Node and execute the node-configuration script as follows:&lt;br /&gt;
 /usr/sbin/fc-node-configuration --node-type primary-master-node&lt;br /&gt;
&lt;br /&gt;
==== Manual Steps ====&lt;br /&gt;
In order to be able to migrate a VM from a carrier, a special user called transfer will be created.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L 60G -n transfer local0&lt;br /&gt;
&lt;br /&gt;
mkfs.xfs -L &amp;quot;OSBD_transfe&amp;quot; /dev/local0/transfer &lt;br /&gt;
&lt;br /&gt;
cat &amp;lt;&amp;lt; EOF &amp;gt;&amp;gt; /etc/fstab&lt;br /&gt;
&lt;br /&gt;
LABEL=OSBD_transfe  /home/transfer    xfs      noatime,nodev,nosuid,noexec  0 2&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
mount /home/transfer&lt;br /&gt;
&lt;br /&gt;
useradd --comment &amp;quot;User which is used for VM disk file transfer between carriers&amp;quot; \&lt;br /&gt;
        --create-home \&lt;br /&gt;
        --system \&lt;br /&gt;
        --user-group \&lt;br /&gt;
        transfer&lt;br /&gt;
&lt;br /&gt;
passwd transfer&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Allow password authentication for the transfer user:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$EDITOR /etc/ssh/sshd_config&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[...]&lt;br /&gt;
&lt;br /&gt;
Match User transfer&lt;br /&gt;
        PasswordAuthentication yes&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To apply the changes above, restart the SSH daemon:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/etc/init.d/sshd restart&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>Pascal</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Multi-Node_Installation&amp;diff=1147</id>
		<title>stoney cloud: Multi-Node Installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Multi-Node_Installation&amp;diff=1147"/>
		<updated>2013-09-06T14:59:50Z</updated>

		<summary type="html">&lt;p&gt;Pascal: /* Manual Steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Specialized Installation ==&lt;br /&gt;
=== Primary-Master-Node (vm-node-01) ===&lt;br /&gt;
If you configured a additional Backup Volume on the Storage Nodes, you want to mount them now in the VM-Node.&lt;br /&gt;
&lt;br /&gt;
Log into the Primary-Master-Node and execute the node-configuration script as follows:&lt;br /&gt;
 /usr/sbin/fc-node-configuration --node-type primary-master-node&lt;br /&gt;
&lt;br /&gt;
==== Manual Steps ====&lt;br /&gt;
In order to be able to migrate a VM from a carrier, a special user called transfer will be created.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L 60G -n transfer local0&lt;br /&gt;
&lt;br /&gt;
mkfs.xfs -L &amp;quot;OSBD_transfe&amp;quot; /dev/local0/transfer &lt;br /&gt;
&lt;br /&gt;
cat &amp;lt;&amp;lt; EOF &amp;gt;&amp;gt; /etc/fstab&lt;br /&gt;
&lt;br /&gt;
LABEL=OSBD_transfe  /home/transfer    xfs      noatime,nodev,nosuid,noexec  0 2&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
mount /home/transfer&lt;br /&gt;
&lt;br /&gt;
useradd --comment &amp;quot;User which is used for VM disk file transfer between carriers&amp;quot; \&lt;br /&gt;
        --create-home \&lt;br /&gt;
        --system \&lt;br /&gt;
        --user-group \&lt;br /&gt;
        transfer&lt;br /&gt;
&lt;br /&gt;
passwd transfer&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Allow password authentication for the transfer user:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$EDITOR /etc/ssh/sshd_config&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[...]&lt;br /&gt;
&lt;br /&gt;
Match User transfer&lt;br /&gt;
        PasswordAuthentication yes&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To apply the changes above, restart the SSH daemon:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/etc/init.d/sshd restart&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>Pascal</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Multi-Node_Installation&amp;diff=1146</id>
		<title>stoney cloud: Multi-Node Installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Multi-Node_Installation&amp;diff=1146"/>
		<updated>2013-09-06T14:54:19Z</updated>

		<summary type="html">&lt;p&gt;Pascal: /* Manual Steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Specialized Installation ==&lt;br /&gt;
=== Primary-Master-Node (vm-node-01) ===&lt;br /&gt;
If you configured a additional Backup Volume on the Storage Nodes, you want to mount them now in the VM-Node.&lt;br /&gt;
&lt;br /&gt;
Log into the Primary-Master-Node and execute the node-configuration script as follows:&lt;br /&gt;
 /usr/sbin/fc-node-configuration --node-type primary-master-node&lt;br /&gt;
&lt;br /&gt;
==== Manual Steps ====&lt;br /&gt;
In order to be able to migrate a VM from one carrier to another, a special user called transfer will be created. This user is able to open connections to another carrier and fetch a VM&#039;s disk file (qcow2 image).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L 60G -n transfer local0&lt;br /&gt;
&lt;br /&gt;
mkfs.xfs -L &amp;quot;OSBD_transfe&amp;quot; /dev/local0/transfer &lt;br /&gt;
&lt;br /&gt;
cat &amp;lt;&amp;lt; EOF &amp;gt;&amp;gt; /etc/fstab&lt;br /&gt;
&lt;br /&gt;
LABEL=OSBD_transfe  /home/transfer    xfs      noatime,nodev,nosuid,noexec  0 2&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
mount /home/transfer&lt;br /&gt;
&lt;br /&gt;
useradd --comment &amp;quot;User which is used for VM disk file transfer between carriers&amp;quot; \&lt;br /&gt;
        --create-home \&lt;br /&gt;
        --system \&lt;br /&gt;
        --user-group \&lt;br /&gt;
        transfer&lt;br /&gt;
&lt;br /&gt;
passwd transfer&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Allow password authentication for the transfer user:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$EDITOR /etc/ssh/sshd_config&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[...]&lt;br /&gt;
&lt;br /&gt;
Match User transfer&lt;br /&gt;
        PasswordAuthentication yes&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To apply the changes above, restart the SSH daemon:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/etc/init.d/sshd restart&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>Pascal</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Multi-Node_Installation&amp;diff=1145</id>
		<title>stoney cloud: Multi-Node Installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Multi-Node_Installation&amp;diff=1145"/>
		<updated>2013-09-06T14:54:10Z</updated>

		<summary type="html">&lt;p&gt;Pascal: /* Manual Steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Specialized Installation ==&lt;br /&gt;
=== Primary-Master-Node (vm-node-01) ===&lt;br /&gt;
If you configured a additional Backup Volume on the Storage Nodes, you want to mount them now in the VM-Node.&lt;br /&gt;
&lt;br /&gt;
Log into the Primary-Master-Node and execute the node-configuration script as follows:&lt;br /&gt;
 /usr/sbin/fc-node-configuration --node-type primary-master-node&lt;br /&gt;
&lt;br /&gt;
==== Manual Steps ====&lt;br /&gt;
In order to be able to migrate a VM from one carrier to another, a special user called transfer will be created. This user is able to open connections to another carrier and fetch a VM&#039;s disk file (qcow2 image).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L 60G -n transfer local0&lt;br /&gt;
&lt;br /&gt;
mkfs.xfs -L &amp;quot;OSBD_transfe&amp;quot; /dev/local0/transfer &lt;br /&gt;
&lt;br /&gt;
cat &amp;lt;&amp;lt; EOF &amp;gt;&amp;gt; /etc/fstab&lt;br /&gt;
&lt;br /&gt;
LABEL=OSBD_transfe  /home/transfer    xfs      noatime,nodev,nosuid,noexec  0 2&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
mount /home/transfer&lt;br /&gt;
&lt;br /&gt;
useradd --comment &amp;quot;User which is used for VM disk file transfer between carriers&amp;quot; \&lt;br /&gt;
        --create-home \&lt;br /&gt;
        --system \&lt;br /&gt;
        --user-group \&lt;br /&gt;
        transfer&lt;br /&gt;
&lt;br /&gt;
passwd transfer&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Allow password authentication for the transfer user:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$EDITOR /etc/ssh/sshd_config&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[...]&lt;br /&gt;
&lt;br /&gt;
Match User transfer&lt;br /&gt;
        PasswordAuthentication yes&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To apply the changes above, restart the SSH daemon:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/etc/init.d/sshd restart&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>Pascal</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Multi-Node_Installation&amp;diff=1144</id>
		<title>stoney cloud: Multi-Node Installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Multi-Node_Installation&amp;diff=1144"/>
		<updated>2013-09-06T14:53:52Z</updated>

		<summary type="html">&lt;p&gt;Pascal: /* Manual Steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Specialized Installation ==&lt;br /&gt;
=== Primary-Master-Node (vm-node-01) ===&lt;br /&gt;
If you configured a additional Backup Volume on the Storage Nodes, you want to mount them now in the VM-Node.&lt;br /&gt;
&lt;br /&gt;
Log into the Primary-Master-Node and execute the node-configuration script as follows:&lt;br /&gt;
 /usr/sbin/fc-node-configuration --node-type primary-master-node&lt;br /&gt;
&lt;br /&gt;
==== Manual Steps ====&lt;br /&gt;
In order to be able to migrate a VM from one carrier to another, a special user called transfer will be created. This user is able to open connections to another carrier and fetch a VM&#039;s disk file (qcow2 image).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Install a transfer user.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L 60G -n transfer local0&lt;br /&gt;
&lt;br /&gt;
mkfs.xfs -L &amp;quot;OSBD_transfe&amp;quot; /dev/local0/transfer &lt;br /&gt;
&lt;br /&gt;
cat &amp;lt;&amp;lt; EOF &amp;gt;&amp;gt; /etc/fstab&lt;br /&gt;
&lt;br /&gt;
LABEL=OSBD_transfe  /home/transfer    xfs      noatime,nodev,nosuid,noexec  0 2&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
mount /home/transfer&lt;br /&gt;
&lt;br /&gt;
useradd --comment &amp;quot;User which is used for VM disk file transfer between carriers&amp;quot; \&lt;br /&gt;
        --create-home \&lt;br /&gt;
        --system \&lt;br /&gt;
        --user-group \&lt;br /&gt;
        transfer&lt;br /&gt;
&lt;br /&gt;
passwd transfer&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Allow password authentication for the transfer user:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$EDITOR /etc/ssh/sshd_config&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[...]&lt;br /&gt;
&lt;br /&gt;
Match User transfer&lt;br /&gt;
        PasswordAuthentication yes&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To apply the changes above, restart the SSH daemon:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/etc/init.d/sshd restart&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>Pascal</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Multi-Node_Installation&amp;diff=1143</id>
		<title>stoney cloud: Multi-Node Installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Multi-Node_Installation&amp;diff=1143"/>
		<updated>2013-09-06T14:53:41Z</updated>

		<summary type="html">&lt;p&gt;Pascal: /* Manual Steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Specialized Installation ==&lt;br /&gt;
=== Primary-Master-Node (vm-node-01) ===&lt;br /&gt;
If you configured a additional Backup Volume on the Storage Nodes, you want to mount them now in the VM-Node.&lt;br /&gt;
&lt;br /&gt;
Log into the Primary-Master-Node and execute the node-configuration script as follows:&lt;br /&gt;
 /usr/sbin/fc-node-configuration --node-type primary-master-node&lt;br /&gt;
&lt;br /&gt;
==== Manual Steps ====&lt;br /&gt;
In order to be able to migrate a VM from one carrier to another, a special user called transfer will be created. This user is able to open connections to another carrier and fetch a VM&#039;s disk file (qcow2 image).&lt;br /&gt;
&lt;br /&gt;
Install a transfer user.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L 60G -n transfer local0&lt;br /&gt;
&lt;br /&gt;
mkfs.xfs -L &amp;quot;OSBD_transfe&amp;quot; /dev/local0/transfer &lt;br /&gt;
&lt;br /&gt;
cat &amp;lt;&amp;lt; EOF &amp;gt;&amp;gt; /etc/fstab&lt;br /&gt;
&lt;br /&gt;
LABEL=OSBD_transfe  /home/transfer    xfs      noatime,nodev,nosuid,noexec  0 2&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
mount /home/transfer&lt;br /&gt;
&lt;br /&gt;
useradd --comment &amp;quot;User which is used for VM disk file transfer between carriers&amp;quot; \&lt;br /&gt;
        --create-home \&lt;br /&gt;
        --system \&lt;br /&gt;
        --user-group \&lt;br /&gt;
        transfer&lt;br /&gt;
&lt;br /&gt;
passwd transfer&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Allow password authentication for the transfer user:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$EDITOR /etc/ssh/sshd_config&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[...]&lt;br /&gt;
&lt;br /&gt;
Match User transfer&lt;br /&gt;
        PasswordAuthentication yes&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To apply the changes above, restart the SSH daemon:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/etc/init.d/sshd restart&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>Pascal</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Multi-Node_Installation&amp;diff=1142</id>
		<title>stoney cloud: Multi-Node Installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Multi-Node_Installation&amp;diff=1142"/>
		<updated>2013-09-06T14:53:18Z</updated>

		<summary type="html">&lt;p&gt;Pascal: /* Manual Steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Specialized Installation ==&lt;br /&gt;
=== Primary-Master-Node (vm-node-01) ===&lt;br /&gt;
If you configured a additional Backup Volume on the Storage Nodes, you want to mount them now in the VM-Node.&lt;br /&gt;
&lt;br /&gt;
Log into the Primary-Master-Node and execute the node-configuration script as follows:&lt;br /&gt;
 /usr/sbin/fc-node-configuration --node-type primary-master-node&lt;br /&gt;
&lt;br /&gt;
==== Manual Steps ====&lt;br /&gt;
In order to be able to migrate a VM from one carrier to another, a special user called transfer will be created. This user is able to open connections to another carrier and fetch a VM&#039;s disk file (qcow2 image).&lt;br /&gt;
&lt;br /&gt;
Install a transfer user.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L 60G -n transfer local0&lt;br /&gt;
&lt;br /&gt;
mkfs.xfs -L &amp;quot;OSBD_transfe&amp;quot; /dev/local0/transfer &lt;br /&gt;
&lt;br /&gt;
cat &amp;lt;&amp;lt; EOF &amp;gt;&amp;gt; /etc/fstab&lt;br /&gt;
&lt;br /&gt;
LABEL=OSBD_transfe  /home/transfer    xfs      noatime,nodev,nosuid,noexec  0 2&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
mount /home/transfer&lt;br /&gt;
&lt;br /&gt;
useradd --comment &amp;quot;User which is used for VM disk file transfer between carriers&amp;quot; \&lt;br /&gt;
        --create-home \&lt;br /&gt;
        --system \&lt;br /&gt;
        --user-group \&lt;br /&gt;
        transfer&lt;br /&gt;
&lt;br /&gt;
passwd transfer&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Allow password authentication for the transfer user:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$EDITOR /etc/ssh/sshd_config&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
[...]&lt;br /&gt;
&lt;br /&gt;
Match User transfer&lt;br /&gt;
        PasswordAuthentication yes&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To apply the changes above, restart the SSH daemon:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/etc/init.d/sshd restart&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>Pascal</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Multi-Node_Installation&amp;diff=1141</id>
		<title>stoney cloud: Multi-Node Installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Multi-Node_Installation&amp;diff=1141"/>
		<updated>2013-09-06T14:51:18Z</updated>

		<summary type="html">&lt;p&gt;Pascal: /* Manual Steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Specialized Installation ==&lt;br /&gt;
=== Primary-Master-Node (vm-node-01) ===&lt;br /&gt;
If you configured a additional Backup Volume on the Storage Nodes, you want to mount them now in the VM-Node.&lt;br /&gt;
&lt;br /&gt;
Log into the Primary-Master-Node and execute the node-configuration script as follows:&lt;br /&gt;
 /usr/sbin/fc-node-configuration --node-type primary-master-node&lt;br /&gt;
&lt;br /&gt;
==== Manual Steps ====&lt;br /&gt;
In order to be able to migrate a VM from one carrier to another, a special user called transfer will be created. This user is able to open connections to another carrier and fetch a VM&#039;s disk file (qcow2 image).&lt;br /&gt;
&lt;br /&gt;
Install a transfer user.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L 60G -n transfer local0&lt;br /&gt;
&lt;br /&gt;
mkfs.xfs -L &amp;quot;OSBD_transfe&amp;quot; /dev/local0/transfer &lt;br /&gt;
&lt;br /&gt;
cat &amp;lt;&amp;lt; EOF &amp;gt;&amp;gt; /etc/fstab&lt;br /&gt;
&lt;br /&gt;
LABEL=OSBD_transfe  /home/transfer    xfs      noatime,nodev,nosuid,noexec  0 2&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
mount /home/transfer&lt;br /&gt;
&lt;br /&gt;
useradd --comment &amp;quot;User which is used for VM disk file transfer between carriers&amp;quot; \&lt;br /&gt;
        --create-home \&lt;br /&gt;
        --system \&lt;br /&gt;
        --user-group \&lt;br /&gt;
        transfer&lt;br /&gt;
&lt;br /&gt;
passwd transfer&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Allow password authentication for the transfer user:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$EDITOR /etc/ssh/sshd_config&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[...]&lt;br /&gt;
&lt;br /&gt;
Match User transfer&lt;br /&gt;
        PasswordAuthentication yes&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To apply the changes above, restart the SSH daemon:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/etc/init.d/sshd restart&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>Pascal</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Multi-Node_Installation&amp;diff=1140</id>
		<title>stoney cloud: Multi-Node Installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Multi-Node_Installation&amp;diff=1140"/>
		<updated>2013-09-06T14:40:36Z</updated>

		<summary type="html">&lt;p&gt;Pascal: /* Manual Steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Specialized Installation ==&lt;br /&gt;
=== Primary-Master-Node (vm-node-01) ===&lt;br /&gt;
If you configured a additional Backup Volume on the Storage Nodes, you want to mount them now in the VM-Node.&lt;br /&gt;
&lt;br /&gt;
Log into the Primary-Master-Node and execute the node-configuration script as follows:&lt;br /&gt;
 /usr/sbin/fc-node-configuration --node-type primary-master-node&lt;br /&gt;
&lt;br /&gt;
==== Manual Steps ====&lt;br /&gt;
In order to be able to migrate a VM from one carrier to another, a special user called transfer will be created. This user is able to open connections to another carrier and fetch a VM&#039;s disk file (qcow2 image).&lt;br /&gt;
&lt;br /&gt;
Install a transfer user.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L 60G -n transfer local0&lt;br /&gt;
&lt;br /&gt;
mkfs.xfs -L &amp;quot;OSBD_transfe&amp;quot; /dev/local0/transfer &lt;br /&gt;
&lt;br /&gt;
cat &amp;lt;&amp;lt; EOF &amp;gt;&amp;gt; /etc/fstab&lt;br /&gt;
&lt;br /&gt;
LABEL=OSBD_transfe  /home/transfer    xfs      noatime,nodev,nosuid,noexec  0 2&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
mount /home/transfer&lt;br /&gt;
&lt;br /&gt;
useradd --comment &amp;quot;User which is used for VM disk file transfer between carriers&amp;quot; \&lt;br /&gt;
        --create-home \&lt;br /&gt;
        --system \&lt;br /&gt;
        --user-group \&lt;br /&gt;
        transfer&lt;br /&gt;
&lt;br /&gt;
passwd transfer&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adjust sshd config to allow password authentication:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$EDITOR /etc/ssh/sshd_config&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[...]&lt;br /&gt;
Match User transfer&lt;br /&gt;
        PasswordAuthentication yes&lt;br /&gt;
[...]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To apply the changes above, restart the SSH daemon:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/etc/init.d/sshd restart&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>Pascal</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Multi-Node_Installation&amp;diff=1139</id>
		<title>stoney cloud: Multi-Node Installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Multi-Node_Installation&amp;diff=1139"/>
		<updated>2013-09-06T14:40:19Z</updated>

		<summary type="html">&lt;p&gt;Pascal: /* Manual Steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Specialized Installation ==&lt;br /&gt;
=== Primary-Master-Node (vm-node-01) ===&lt;br /&gt;
If you configured a additional Backup Volume on the Storage Nodes, you want to mount them now in the VM-Node.&lt;br /&gt;
&lt;br /&gt;
Log into the Primary-Master-Node and execute the node-configuration script as follows:&lt;br /&gt;
 /usr/sbin/fc-node-configuration --node-type primary-master-node&lt;br /&gt;
&lt;br /&gt;
==== Manual Steps ====&lt;br /&gt;
In order to be able to migrate a VM from one carrier to another, a special user called transfer will be created. This user is able to open connections to another carrier and fetch a VM&#039;s disk file (qcow2 image).&lt;br /&gt;
&lt;br /&gt;
Install a transfer user.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L 60G -n transfer local0&lt;br /&gt;
&lt;br /&gt;
mkfs.xfs -L &amp;quot;OSBD_transfe&amp;quot; /dev/local0/transfer &lt;br /&gt;
&lt;br /&gt;
cat &amp;lt;&amp;lt; EOF &amp;gt;&amp;gt; /etc/fstab&lt;br /&gt;
&lt;br /&gt;
LABEL=OSBD_transfe  /home/transfer    xfs      noatime,nodev,nosuid,noexec  0 2&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
mount /home/transfer&lt;br /&gt;
&lt;br /&gt;
useradd --comment &amp;quot;User which is used for VM disk file transfer between carriers&amp;quot; \&lt;br /&gt;
        --create-home \&lt;br /&gt;
        --system \&lt;br /&gt;
        --user-group \&lt;br /&gt;
        transfer&lt;br /&gt;
&lt;br /&gt;
passwd transfer&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adjust sshd config to allow password authentication:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$EDITOR /etc/ssh/sshd_config&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
[...]&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Match User transfer&lt;br /&gt;
        PasswordAuthentication yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To apply the changes above, restart the SSH daemon:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/etc/init.d/sshd restart&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>Pascal</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Multi-Node_Installation&amp;diff=1138</id>
		<title>stoney cloud: Multi-Node Installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Multi-Node_Installation&amp;diff=1138"/>
		<updated>2013-09-06T14:39:37Z</updated>

		<summary type="html">&lt;p&gt;Pascal: /* Manual Steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Specialized Installation ==&lt;br /&gt;
=== Primary-Master-Node (vm-node-01) ===&lt;br /&gt;
If you configured a additional Backup Volume on the Storage Nodes, you want to mount them now in the VM-Node.&lt;br /&gt;
&lt;br /&gt;
Log into the Primary-Master-Node and execute the node-configuration script as follows:&lt;br /&gt;
 /usr/sbin/fc-node-configuration --node-type primary-master-node&lt;br /&gt;
&lt;br /&gt;
==== Manual Steps ====&lt;br /&gt;
In order to be able to migrate a VM from one carrier to another, a special user called transfer will be created. This user is able to open connections to another carrier and fetch a VM&#039;s disk file (qcow2 image).&lt;br /&gt;
&lt;br /&gt;
Install a transfer user.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L 60G -n transfer local0&lt;br /&gt;
&lt;br /&gt;
mkfs.xfs -L &amp;quot;OSBD_transfe&amp;quot; /dev/local0/transfer &lt;br /&gt;
&lt;br /&gt;
cat &amp;lt;&amp;lt; EOF &amp;gt;&amp;gt; /etc/fstab&lt;br /&gt;
&lt;br /&gt;
LABEL=OSBD_transfe  /home/transfer    xfs      noatime,nodev,nosuid,noexec  0 2&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
mount /home/transfer&lt;br /&gt;
&lt;br /&gt;
useradd --comment &amp;quot;User which is used for VM disk file transfer between carriers&amp;quot; \&lt;br /&gt;
        --create-home \&lt;br /&gt;
        --system \&lt;br /&gt;
        --user-group \&lt;br /&gt;
        transfer&lt;br /&gt;
&lt;br /&gt;
passwd transfer&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adjust sshd config to allow password authentication:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$EDITOR /etc/ssh/sshd_config&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ListenAddress &amp;lt;ADMIN-IP&amp;gt;&lt;br /&gt;
ListenAddress &amp;lt;DATA-IP&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# override default of no subsystems&lt;br /&gt;
Subsystem       sftp    internal-sftp&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
&lt;br /&gt;
AllowUsers admin@192.168.16.254 vmmanager vm-transfer@10.16.97.*&lt;br /&gt;
&lt;br /&gt;
Match User vm-transfer&lt;br /&gt;
    ChrootDirectory /var/virtualization&lt;br /&gt;
    ForceCommand internal-sftp&lt;br /&gt;
    AllowTcpForwarding no&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To apply the changes above, restart the SSH daemon:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/etc/init.d/sshd restart&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>Pascal</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Multi-Node_Installation&amp;diff=1137</id>
		<title>stoney cloud: Multi-Node Installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Multi-Node_Installation&amp;diff=1137"/>
		<updated>2013-09-06T14:34:52Z</updated>

		<summary type="html">&lt;p&gt;Pascal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Specialized Installation ==&lt;br /&gt;
=== Primary-Master-Node (vm-node-01) ===&lt;br /&gt;
If you configured a additional Backup Volume on the Storage Nodes, you want to mount them now in the VM-Node.&lt;br /&gt;
&lt;br /&gt;
Log into the Primary-Master-Node and execute the node-configuration script as follows:&lt;br /&gt;
 /usr/sbin/fc-node-configuration --node-type primary-master-node&lt;br /&gt;
&lt;br /&gt;
==== Manual Steps ====&lt;br /&gt;
In order to be able to migrate a VM from one carrier to another, a special user called transfer will be created. This user is able to open connections to another carrier and fetch a VM&#039;s disk file (qcow2 image).&lt;br /&gt;
&lt;br /&gt;
Install a transfer user.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L 60G -n transfer local0&lt;br /&gt;
&lt;br /&gt;
mkfs.xfs -L &amp;quot;OSBD_transfe&amp;quot; /dev/local0/transfer &lt;br /&gt;
&lt;br /&gt;
cat &amp;lt;&amp;lt; EOF &amp;gt;&amp;gt; /etc/fstab&lt;br /&gt;
&lt;br /&gt;
LABEL=OSBD_transfe  /home/transfer    xfs      noatime,nodev,nosuid,noexec  0 2&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
mount /home/transfer&lt;br /&gt;
&lt;br /&gt;
useradd --comment &amp;quot;User which is used for VM disk file transfer between carriers&amp;quot; \&lt;br /&gt;
        --create-home \&lt;br /&gt;
        --system \&lt;br /&gt;
        --user-group \&lt;br /&gt;
        transfer&lt;br /&gt;
&lt;br /&gt;
passwd transfer&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>Pascal</name></author>
	</entry>
	<entry>
		<id>https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Multi-Node_Installation&amp;diff=1136</id>
		<title>stoney cloud: Multi-Node Installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.stoney-cloud.org/w/index.php?title=stoney_cloud:_Multi-Node_Installation&amp;diff=1136"/>
		<updated>2013-09-06T14:33:44Z</updated>

		<summary type="html">&lt;p&gt;Pascal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Specialized Installation ==&lt;br /&gt;
=== Primary-Master-Node (vm-node-01) ===&lt;br /&gt;
If you configured a additional Backup Volume on the Storage Nodes, you want to mount them now in the VM-Node.&lt;br /&gt;
&lt;br /&gt;
Log into the Primary-Master-Node and execute the node-configuration script as follows:&lt;br /&gt;
 /usr/sbin/fc-node-configuration --node-type primary-master-node&lt;br /&gt;
&lt;br /&gt;
==== Manual Steps ====&lt;br /&gt;
In order to be able to migrate a VM from one carrier to another, a special unprivileged user called transfer will be created. This user is able to open sftp connections to another carrier and fetch a VM&#039;s disk file (qcow2 image).&lt;br /&gt;
&lt;br /&gt;
Install a transfer user.&lt;br /&gt;
&lt;br /&gt;
Create the user and generate an SSH private/public key pair (without a pass phrase):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
lvcreate -L 60G -n transfer local0&lt;br /&gt;
&lt;br /&gt;
mkfs.xfs -L &amp;quot;OSBD_transfe&amp;quot; /dev/local0/transfer &lt;br /&gt;
&lt;br /&gt;
cat &amp;lt;&amp;lt; EOF &amp;gt;&amp;gt; /etc/fstab&lt;br /&gt;
&lt;br /&gt;
LABEL=OSBD_transfe  /home/transfer    xfs      noatime,nodev,nosuid,noexec  0 2&lt;br /&gt;
EOF&lt;br /&gt;
&lt;br /&gt;
mount /home/transfer&lt;br /&gt;
&lt;br /&gt;
useradd --comment &amp;quot;User which is used for VM disk file transfer between carriers&amp;quot; \&lt;br /&gt;
        --create-home \&lt;br /&gt;
        --system \&lt;br /&gt;
        --user-group \&lt;br /&gt;
        transfer&lt;br /&gt;
&lt;br /&gt;
passwd transfer&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>Pascal</name></author>
	</entry>
</feed>