<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>hmarcy.com &#187; Virtualization</title>
	<atom:link href="http://www.hmarcy.com/tag/virtualization/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hmarcy.com</link>
	<description>&#34;What would you do if you knew you could not fail ?&#34; Robert H. Schuller</description>
	<lastBuildDate>Sun, 15 Jan 2012 20:52:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>An introduction to HP-UX</title>
		<link>http://www.hmarcy.com/2009/05/an-introduction-to-hp-ux/</link>
		<comments>http://www.hmarcy.com/2009/05/an-introduction-to-hp-ux/#comments</comments>
		<pubDate>Sun, 24 May 2009 16:24:17 +0000</pubDate>
		<dc:creator>Hervé</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Job]]></category>
		<category><![CDATA[HP-UX]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.hmarcy.com/?p=137</guid>
		<description><![CDATA[For a couple of months now, I work daily on HP&#8217;s homegrown Unix : HP-UX. Since I had no idea what this OS was about when I was a student, I think some people can be interested in discovering it with this short introduction. HP-UX is one of the few remainig commercial Unices out there. [...]]]></description>
			<content:encoded><![CDATA[<p>For a couple of months now, I work daily on HP&#8217;s homegrown Unix : HP-UX. Since I had no idea what this OS was about when I was a student, I think some people can be interested in discovering it with this short introduction.</p>
<p>HP-UX is one of the few remainig commercial Unices out there. Today, only 3 play a significant role on the enterprise OS market : IBM AIX, running on Power processors, SUN Solaris, running on SPARC and x86 processors and HP-UX, running today on Intel Itanium-based servers. The latter used to run on HP&#8217;s own processors PA-RISC (for Precision Architecture) but after HP consolidated its portfolio on the only Itanium processors, it can only be purchased on IA64 processors.<br />
HP-UX&#8217;s last version is HP-UX 11i v3, and this version has been enhanced and extended by three following updates.</p>
<h3 style="padding-left: 30px;"><strong>File Hierarchy Standard (FHS)<br />
</strong></h3>
<p>HP-UX is a System V Unix. Let&#8217;s take a look at the root directory structure:</p>
<p>- <strong>/dev</strong><br />
This directory contains all device files, representing all devices attached to the system. Raw devices can be found under /dev/rdisk, block devices are in /dev/dsk and logical volumes are also placed in /dev</p>
<p><strong>- /etc</strong><br />
As usual on Unix systems, all configuration files are stored in this directory.<br />
All files controlling system startup and shutdown and daemons are located in /etc/rc.config.d. For instance, to configure your network interfaces for each boot and setup routes, you will edit the file /etc/rc.config.d/netconf and insert</p>
<p>INTERFACE_NAME[0]=lan0<br />
IP_ADDRESS[0]=xx.xx.xx.xx<br />
SUBNET_MASK[0]=xx.xx.xx.xx<br />
BROADCAST_ADDRESS[0]=&#8221;"<br />
INTERFACE_STATE[0]=&#8221;"<br />
DHCP_ENABLE[0]=0<br />
INTERFACE_MODULES[0]=&#8221;"</p>
<p><strong>- /home</strong><br />
The usual home directory</p>
<p><strong>- /sbin</strong><br />
The files located here are needed at boot time. The rc script that controls the the system startup is located in this directory as well as all runlevel dependent links to scripts respectively in /sbin/rc0.d/ , /sbin/rc1.d/ , etc. All available startup scripts are located in /sbin/init.d/</p>
<p><strong>- /stand</strong><br />
The HP-UX kernel is kept in this directory. The kernel file is /stand/vmunix and the configuration file is /stand/system.</p>
<p><strong>- /net</strong><br />
Reserved for remote file system mount points</p>
<p><strong>- /opt</strong><br />
This directory is used to install applications on HP-UX. Each application has its own directory hierarchy. For the Apache Webserver, this will look like the following : /opt/hpws/ (for HP web services, the root directory, where Apache, Tomcat, and others are located) : /opt/hpws/apache/bin for executable binaries, /opt/hpws/apache/etc for the config files, and so on&#8230;</p>
<p><strong>- /tmp</strong><br />
The temporary directory where anybody can create or delete files. Unlike Solaris, this directory is not flushed after reboot.</p>
<p><strong>- /usr</strong><br />
Most HP-UX files are located here, especially user-relates commands, libraries, doc &amp; manual pages and contributed software.<br />
/usr/bin : user commands, applications and utilities.<br />
/usr/include : include and header files for programming<br />
/usr/lib : libraries for programming<br />
/usr/sbin : many administration commands are located here<br />
/usr/share/man : man pages</p>
<p><strong>- /var</strong><br />
/var contains log files distributed across different directories:<br />
/var/adm : system administration related programs (for instance /var/adm/sw for software installation/removal, /var/cron for cron log files, etc.)<br />
/var/opt : application-related logs<br />
/var/spool : print services related files</p>
<h3 style="padding-left: 30px;"><strong>Virtualization</strong></h3>
<p>On the virtualization side, there are one feature shipped with any HP-UX instance : the Secure Resource Partitions (SRP) which are somehow similar to the Solaris zones.<br />
You can assign particular resources to these partitions such as CPU shares, entire CPU&#8217;s (psets), memory as well as disk bandwith. Moreover, the security features of the SRP allow you to assign disk and network access to a particular partition. On the top of that, the SRP will make sur that your files (sockets, links, whatever&#8230;) cannot be accessed from outside the partition, unless a rule has been expressly defined in the config file. The SRP&#8217;s also use the capabilities of the role-based access control (RBAC) that allow a user to gain privileges to execute a single operation (e.g. a user can get privileges to mount a disk without having to be root). This allows the admin to define precise roles and increases the accountability of each user.</p>
<p>Beside the Base Operating Environment (BOE), which is shipped with any HP-UX, the user can also choose between the High Availibility OE and the Virtual Server Environment OE (or the Datacenter OE that contains everything).</p>
<p>With the VSE-OE, you have the choice between different virtualization types :<br />
- nPars<br />
nPars (for Node Partitions) are only available on mid-range and high-end cell-based servers. These cells consist of a kind of a plate on which CPUs and memory reside. Npars are just grouped cells that act as a single server.<br />
- vPars<br />
vPars (for Virtual Partitions) are more fine-grained: you can assign here resources on a per CPU basis. They run on HP-UX 11i v1, v2 and v3 only.<br />
- Integrity Virtual Machines<br />
The Integrity Virtual Machines are some kind of VMware-like virtual machines. They run on the top of a HP-UX guest that emulates the hardware and can paravirtualize the I/O drivers to accelerate the I/O throughput. Sysadmins create then virtual switches that can be internal or related to a physical interface to let the IVM communicate with the outside world. For network intensive workloads, you can assign an interface to a dedicated VM over a virtual switch to enhance performance. The last feature brought by the third update of HP-UX 11i v3 is the capability for IVM to migrate from one physical host to another (just like VMotion or Citrix XenMotion do).</p>
<h3 style="padding-left: 30px;"><strong>Software and patch management<br />
</strong></h3>
<p>HP-UX&#8217;s software and patch management is based on Software Depot (SD-UX). Software packages are divided in different structures:</p>
<p>- Filesets: a collection of files<br />
- Subproducts: group of filesets<br />
- Products: examples are X11, Oracle, etc.<br />
- Bundles: group of products<br />
- Software depot: repository where software packages are made available for download and install on clients</p>
<p>Software depot can be used with an X or text-only interface, or for some tasks with the command line.</p>
<p>You can list the currently installed software on your system by entering the &#8220;swlist&#8221; command.<br />
To install a new package, find out first on which server server has software depots. Then enter<br />
# swlist -l depot @ hostname<br />
to list all available depots on this server. Since you want to install a single package, enter<br />
# swlist -d @ hostname:/path/to/the/depot<br />
in order to list all applications and their description.<br />
# swinstall -s hostname:/path/to/the/depot packagename<br />
will then install the required software, resolving automatically the software dependencies.</p>
<p>Patches are managed in the same way and are also installed with the swinstall command.</p>
<h3 style="padding-left: 30px;"><strong>Applications</strong></h3>
<p style="text-align: left;">HP-UX and the Integrity servers are designed for mission critical applications. Running an Apache server is possible, but it is not the kind of applications you will expect to see on such machines. Databases and Java application servers are rather the sweet spots of this OS.</p>
<p style="text-align: left;">A lot of commercial applications are available (to name a few : Oracle, Websphere, Weblogic,&#8230;) but MySQL, Tomcat, Apache and other Free Software are also ported and maintained on HP-UX.</p>
<p style="text-align: left;">The default shell is the Bourne shell, set in vi mode. Coming from a Linux/Bash world, it took me a little adaptation time.</p>
<h3 style="padding-left: 30px;"><strong>Network</strong></h3>
<p>The network is managed with the tools lanscan (which will give information about the interfaces) and ifconfig (that will help configuring them). As we have seen it, the interfaces can be configured automatically at boot time in the file /etc/rc.config.d/netconf.</p>
<p>The domain names are resolved with the following files: /etc/hosts,  /etc/nsswitch.conf</p>
<h3 style="padding-left: 30px;"><strong>Managing disks / SAN / Filesystems</strong></h3>
<p>The disks files are placed in the /dev/disks/ directory, the raw devices in /dev/rdisks/ . Note that you will only have one file to manage for a presented SAN LUN. The multipathing and failover are handled at the kernel level.</p>
<p>The most commonly used file system is onlineJFS, which is in fact a rebranded Veritas VxFS, and offers such features as online shrinking and extending of the filesystem and online refragmenting, which are much more reliable than, for instance, for ext3.</p>
<p style="text-align: left;">Resources : http://www.amazon.com/HP-Certified-HP-UX-System-Administration/dp/0130183741</p>
<div class="simple_likebuttons_container_small">
      <div class="simple_likebuttons_googleplus">
        <g:plusone size="medium" count="false" href="http://www.hmarcy.com/2009/05/an-introduction-to-hp-ux/"></g:plusone>
      </div>
    
      <div class="simple_likebuttons_twitter simple_likebuttons_twitter_s">
        <a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-url="http://www.hmarcy.com/2009/05/an-introduction-to-hp-ux/" data-lang="en">Tweet</a>
      </div>
    
      <div class="simple_likebuttons_facebook">
        <div id="fb-root"></div>
        <script>(function(d, s, id) {
          var js, fjs = d.getElementsByTagName(s)[0];
          if (d.getElementById(id)) {return;}
          js = d.createElement(s); js.id = id;
          js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
          fjs.parentNode.insertBefore(js, fjs);
        }(document, "script", "facebook-jssdk"));</script>
        <div class="fb-like" data-href="http://www.hmarcy.com/2009/05/an-introduction-to-hp-ux/" data-send="false" data-layout="button_count" data-show-faces="false" data-width="90"></div>
      </div>
    </div>]]></content:encoded>
			<wfw:commentRss>http://www.hmarcy.com/2009/05/an-introduction-to-hp-ux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable Intel VT on a HP laptop</title>
		<link>http://www.hmarcy.com/2008/10/enable-intel-vt-on-a-hp-laptop/</link>
		<comments>http://www.hmarcy.com/2008/10/enable-intel-vt-on-a-hp-laptop/#comments</comments>
		<pubDate>Sun, 05 Oct 2008 13:13:20 +0000</pubDate>
		<dc:creator>Hervé</dc:creator>
				<category><![CDATA[KVM]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Xen]]></category>
		<category><![CDATA[HP]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.hmarcy.com/?p=106</guid>
		<description><![CDATA[Intel VT technology is especially useful if you want to use virtualization technology such as Xen or KVM. I personnally had the following problem after trying to insert the kvm-intel module on my Ubuntu 8.04 : sudo modprobe kvm-intel FATAL: Error inserting kvm_intel (/lib/modules/2.6.20-6-generic/kernel/drivers/kvm/kvm-intel.ko): Operation not permitted In order to fully use your Intel processor [...]]]></description>
			<content:encoded><![CDATA[<p>Intel VT technology is especially useful if you want to use virtualization technology such as Xen or KVM.<br />
I personnally had the following problem after trying to insert the kvm-intel module on my Ubuntu 8.04 :</p>
<p>sudo modprobe kvm-intel<br />
FATAL: Error inserting kvm_intel (/lib/modules/2.6.20-6-generic/kernel/drivers/kvm/kvm-intel.ko): Operation not permitted</p>
<p>In order to fully use your Intel processor on a HP laptop, follow the following steps :</p>
<p>- boot your computer<br />
- when the BIOS window shows up, enter the BIOS manager<br />
- enable the Virtualization technology in the BIOS menu<br />
- save the changes and exit<br />
- shut down your computer<br />
- remove the battery and put it back in your PC<br />
- boot your computer</p>
<p>and Intel VT should work without problem.</p>
<div class="simple_likebuttons_container_small">
      <div class="simple_likebuttons_googleplus">
        <g:plusone size="medium" count="false" href="http://www.hmarcy.com/2008/10/enable-intel-vt-on-a-hp-laptop/"></g:plusone>
      </div>
    
      <div class="simple_likebuttons_twitter simple_likebuttons_twitter_s">
        <a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-url="http://www.hmarcy.com/2008/10/enable-intel-vt-on-a-hp-laptop/" data-lang="en">Tweet</a>
      </div>
    
      <div class="simple_likebuttons_facebook">
        <div id="fb-root"></div>
        <script>(function(d, s, id) {
          var js, fjs = d.getElementsByTagName(s)[0];
          if (d.getElementById(id)) {return;}
          js = d.createElement(s); js.id = id;
          js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
          fjs.parentNode.insertBefore(js, fjs);
        }(document, "script", "facebook-jssdk"));</script>
        <div class="fb-like" data-href="http://www.hmarcy.com/2008/10/enable-intel-vt-on-a-hp-laptop/" data-send="false" data-layout="button_count" data-show-faces="false" data-width="90"></div>
      </div>
    </div>]]></content:encoded>
			<wfw:commentRss>http://www.hmarcy.com/2008/10/enable-intel-vt-on-a-hp-laptop/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Citrix certified administrator XenServer Enterprise Edition 4</title>
		<link>http://www.hmarcy.com/2008/09/citrix-certified-administrator-xenserver-enterprise-edition-4/</link>
		<comments>http://www.hmarcy.com/2008/09/citrix-certified-administrator-xenserver-enterprise-edition-4/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 20:47:29 +0000</pubDate>
		<dc:creator>Hervé</dc:creator>
				<category><![CDATA[Xen]]></category>
		<category><![CDATA[Job]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.hmarcy.com/?p=21</guid>
		<description><![CDATA[After I wrote my degree dissertation about Xen, I took a Citrix Xenserver 4.1 training and I successfully passed the Xenserver certification. Even if I disagree on the evolution of the project (Red Hat resigned from it, Linux distributions are optionally supported if you install the Linux pack from another DVD and, as we expected [...]]]></description>
			<content:encoded><![CDATA[<div class="entry">
<p>After I wrote my <a title="Diplomarbeit / Degree dissertation " href="http://www.hmarcy.com/2008/09/disaster-recovery-with-xen/" target="_blank">degree dissertation about Xen</a>, I took a Citrix Xenserver 4.1 training and I successfully passed the Xenserver certification.</p>
<p>Even if I disagree on the evolution of the project (Red Hat resigned from it, Linux distributions are optionally supported if you install the Linux pack from another DVD and, as we expected from Citrix, virtual servers running Windows are the priority of this platform), I already have a good knowledge of this technology and since it will be soon part of <a title="HP's insight dynamics management software" href="http://h18013.www1.hp.com/products/servers/management/insightdynamics.html" target="_blank">HP’s Insight dynamics</a>, a management software managing virtual machines, I thought it was a good opportunity to go on with Xen. Moreover, it is still an open-source project and that is the reason why a VMware training would not have interested me that much.</p>
<p>Finally, I hope that HP will continue to support other virualization projects such as <a title="The KVM project" href="http://kvm.qumranet.com/kvmwiki" target="_blank">KVM</a>, which is already part of the Linux kernel, and is really being pushed forward by IBM and <a title="Red Hat's virtualization strategy" href="http://www.virtualization.info/2008/06/red-hat-adopts-kvm-what-happens-to-xen.html" target="_blank">Red Hat</a>, for example.</div>
<div class="simple_likebuttons_container_small">
      <div class="simple_likebuttons_googleplus">
        <g:plusone size="medium" count="false" href="http://www.hmarcy.com/2008/09/citrix-certified-administrator-xenserver-enterprise-edition-4/"></g:plusone>
      </div>
    
      <div class="simple_likebuttons_twitter simple_likebuttons_twitter_s">
        <a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-url="http://www.hmarcy.com/2008/09/citrix-certified-administrator-xenserver-enterprise-edition-4/" data-lang="en">Tweet</a>
      </div>
    
      <div class="simple_likebuttons_facebook">
        <div id="fb-root"></div>
        <script>(function(d, s, id) {
          var js, fjs = d.getElementsByTagName(s)[0];
          if (d.getElementById(id)) {return;}
          js = d.createElement(s); js.id = id;
          js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
          fjs.parentNode.insertBefore(js, fjs);
        }(document, "script", "facebook-jssdk"));</script>
        <div class="fb-like" data-href="http://www.hmarcy.com/2008/09/citrix-certified-administrator-xenserver-enterprise-edition-4/" data-send="false" data-layout="button_count" data-show-faces="false" data-width="90"></div>
      </div>
    </div>]]></content:encoded>
			<wfw:commentRss>http://www.hmarcy.com/2008/09/citrix-certified-administrator-xenserver-enterprise-edition-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disaster recovery with Xen</title>
		<link>http://www.hmarcy.com/2008/09/disaster-recovery-with-xen/</link>
		<comments>http://www.hmarcy.com/2008/09/disaster-recovery-with-xen/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 20:45:21 +0000</pubDate>
		<dc:creator>Hervé</dc:creator>
				<category><![CDATA[Studies]]></category>
		<category><![CDATA[Xen]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SAN]]></category>
		<category><![CDATA[SLES]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.hmarcy.com/?p=23</guid>
		<description><![CDATA[Xen has been the subject and of my degree dissertation (German : Diplomarbeit) I have been writing between June and September 2007. I have been doing an internship at Hewlett Packard Germany between April and September in the Technology Solution Group division (the business division of HP for servers, storage and so on…), in the [...]]]></description>
			<content:encoded><![CDATA[<p>Xen has been the subject and of my degree dissertation (German : Diplomarbeit) I have been writing between June and September 2007.</p>
<p>I have been doing an internship at Hewlett Packard Germany between April and September in the Technology Solution Group division (the business division of HP for servers, storage and so on…), in the Outsourcing part of TSG.<br />
This degree dissertation is a report of a disaster-recovery program implemented for the German bank MLP located in Wiesloch. This program has been designed by both MLP an HP people and implemented by HP colleagues and myself.</p>
<p>Basically, the concept is to shift a complete productive environment from one data center to another. This is achieved by a virtualized environment based on two servers SuSE Linux Enterprise 10 SP1 with Xen, two EVA 8000 (SAN solution of HP) and a HP product named “Continuous access” that mirrors constantly the content of one SAN to another.</p>
<p>If you want to learn more about my work, here is a link to my <a title="Diplomarbeit / Degree dissertation in PDF format" href="http://www.hmarcy.com/diplomarbeit.pdf">degree dissertation</a> (only in German available). It is, of course, licensed under a Creative commons license.</p>
<div class="simple_likebuttons_container_small">
      <div class="simple_likebuttons_googleplus">
        <g:plusone size="medium" count="false" href="http://www.hmarcy.com/2008/09/disaster-recovery-with-xen/"></g:plusone>
      </div>
    
      <div class="simple_likebuttons_twitter simple_likebuttons_twitter_s">
        <a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-url="http://www.hmarcy.com/2008/09/disaster-recovery-with-xen/" data-lang="en">Tweet</a>
      </div>
    
      <div class="simple_likebuttons_facebook">
        <div id="fb-root"></div>
        <script>(function(d, s, id) {
          var js, fjs = d.getElementsByTagName(s)[0];
          if (d.getElementById(id)) {return;}
          js = d.createElement(s); js.id = id;
          js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
          fjs.parentNode.insertBefore(js, fjs);
        }(document, "script", "facebook-jssdk"));</script>
        <div class="fb-like" data-href="http://www.hmarcy.com/2008/09/disaster-recovery-with-xen/" data-send="false" data-layout="button_count" data-show-faces="false" data-width="90"></div>
      </div>
    </div>]]></content:encoded>
			<wfw:commentRss>http://www.hmarcy.com/2008/09/disaster-recovery-with-xen/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

