<?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/"
		xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>Architected Information</title>
	<atom:link href="http://www.architected.info/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.architected.info/blog</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Tue, 21 Feb 2012 22:31:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<copyright>Copyright &#xA9; Architected Information 2011 </copyright>
	<managingEditor>morgango@gmail.com (Architected Information)</managingEditor>
	<webMaster>morgango@gmail.com (Architected Information)</webMaster>
	<image>
		<url>http://www.architected.info/blog/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
		<title>Architected Information</title>
		<link>http://www.architected.info/blog</link>
		<width>144</width>
		<height>144</height>
	</image>
	<itunes:subtitle></itunes:subtitle>
	<itunes:summary>Just another WordPress site</itunes:summary>
	<itunes:keywords></itunes:keywords>
	<itunes:category text="Society &#38; Culture" />
	<itunes:author>Architected Information</itunes:author>
	<itunes:owner>
		<itunes:name>Architected Information</itunes:name>
		<itunes:email>morgango@gmail.com</itunes:email>
	</itunes:owner>
	<itunes:block>no</itunes:block>
	<itunes:explicit>no</itunes:explicit>
	<itunes:image href="http://www.architected.info/blog/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<item>
		<title>Bootcamp: 5 &#8211; Overcommitment for the Database Team</title>
		<link>http://www.architected.info/blog/bootcamp-5-overcommitment-for-the-database-team/</link>
		<comments>http://www.architected.info/blog/bootcamp-5-overcommitment-for-the-database-team/#comments</comments>
		<pubDate>Tue, 21 Feb 2012 22:31:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[bootcamp]]></category>
		<category><![CDATA[databases]]></category>
		<category><![CDATA[DBaaS]]></category>
		<category><![CDATA[DBAs]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.architected.info/blog/?p=137</guid>
		<description><![CDATA[According to the vSphere Resource Management Guide: Resource management is the allocation of resources from resource providers to resource consumers. The need for resource management arises from the overcommitment of resources—that is, more demand than capacity and from the fact that demand and capacity vary over time. Resource management allows you to dynamically reallocate resources, so that [...]]]></description>
			<content:encoded><![CDATA[<div>According to the <a href="http://www.vmware.com/pdf/vsphere4/r40/vsp_40_resource_mgmt.pdf">vSphere Resource Management Guide</a>:</div>
<div></div>
<blockquote>
<div>Resource management is the allocation of resources from resource providers to resource consumers.</div>
<div></div>
<div>The need for resource management arises from the <strong>overcommitment of resources</strong>—that is, more demand than capacity and from the fact that demand and capacity vary over time. Resource management allows you to dynamically reallocate resources, so that you can more efficiently use available capacity.</div>
</blockquote>
<div>Overcommitment of resources is the ability to provision more resources than are actually physically available.  Yes, that&#8217;s right, overcommitment is the ability to actually make something out of nothing.  Sounds crazy, right?  But it works, and it works really well in helping to reduce the amount of hardware that you need to run your databases.  Let&#8217;s look at this in a bit more detail &#8230;</div>
<h2>An Example of Overcommitment</h2>
<div>Lets look at a very simple hypothetical example where you have:</div>
<ul>
<li>Eight databases, each needing 400 MHz CPU at peak utilization, but significantly less during normal load.</li>
<li>Two machines, each with a 1.6 GHz CPU.</li>
</ul>
<div>Keep in mind that overcommitment can be done with processor, memory, network, or disk resources, so don&#8217;t get hung up too much on the details here.</div>
<h3>The Physical Solution</h3>
<div>In the physical world, you would:</div>
<ol>
<li>Install 4 databases on server 1.</li>
<li>Install 4 databases on server 2.</li>
<li>Perhaps use something to restrict resource consumption (something like <a href="http://docs.oracle.com/cd/E14072_01/server.112/e10595/dbrm007.htm">Oracle Instance Caging</a>) or just hope for the best.</li>
</ol>
<p>If you were doing this you would run without HA and worry about growth and the fact that one database could get too busy and interfere with the others.  In most production cases, you would probably need to purchase 1-2 more servers in order to run reliably.</p>
<div>And, let&#8217;s be honest.  In many organizations, we would simply purchase 8 servers and run each database independently.  At VMware, did a survey of over 700,000 database servers at our customers and found that on average, they were 6% utilized.</p>
<div>
<div>
<h3>The Virtualized Solution</h3>
<div>If your databases were virtualized, you could:</div>
<ol>
<li>Put each database in a VM and configure the database to use all the CPU available.</li>
<li>Assign each VM 400 MHz of CPU.</li>
<li>Install all databases on server 1, achieving 100% overcommitment.</li>
<li>Allow the hypervisor to use <a href="http://www.vmware.com/products/drs/overview.html">Dynamic Resource Scheduling</a> to allocate CPU resources to the VM (and underlying database) that needs it the most at any given time.</li>
<li>Keep server 2 for HA or utilizing it for additional applications (and not just databases).</li>
</ol>
<div>This means that you can use half the hardware, keep the same (or better) performance, with much greater flexibility, and without any extra configuration needed on your end.  This is fantastic news for the harried database administrator.</div>
<div></div>
<div>Now, this math doesn&#8217;t work if you need 100% of the CPU all of the time.  However, you would be surprised how rare that really is, unless you are talking about production instances of high transaction OLTP systems.  Even with these OLTP systems, there are typically 5-10 clones of that database somwhere in the organization (dev/test/uat) that need to be managed as well.  Between all of the versions of the database, there is typically a ton of wasted CPU, RAM, and Disk that can be managed much more efficiently.</div>
<div></div>
<div>It is really important to point out that with vSphere, you don&#8217;t need to do anything to the database to get this high availability, as it is part of the virtualization layer.</div>
<h2>Why This Matters</h2>
<div>A huge amount of the talk around databases is around grand terms like bigger, better, and faster.  In reality, working with databases is frequently centered around dealing with resource constraints.  It is always easier to do more with more, but the pressure on today&#8217;s IT  is to do more.  Technology like resource overcommitment allows you to do just that.</div>
<div></div>
<div>Virtually all databases have peak usage, and it is simply not efficient to reserve resources just for the high-water mark.  You can consolidate your databases without sacrificing functionality or reserving resources.  In addition, you don&#8217;t have to change how you manage your databases or compromise on things like functionality, backwards compatibility, or security.</div>
<h2>The Takeaway</h2>
<div>With virtualization, you can decrease the amount of hardware you need to run your databases while increasing stability and without impacting performance.  Your databases don&#8217;t have to change, your administration doesn&#8217;t have to change, and your workflow doesn&#8217;t have to change.  Just go with the flow and let virtualization do the work for you!</div>
<h2></h2>
</div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.architected.info/blog/bootcamp-5-overcommitment-for-the-database-team/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bootcamp: 4 – The VMware Stack for the Database Team</title>
		<link>http://www.architected.info/blog/bootcamp-4-the-vmware-stack-for-the-database-team/</link>
		<comments>http://www.architected.info/blog/bootcamp-4-the-vmware-stack-for-the-database-team/#comments</comments>
		<pubDate>Thu, 16 Feb 2012 18:19:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[bootcamp]]></category>
		<category><![CDATA[databases]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.architected.info/blog/?p=130</guid>
		<description><![CDATA[In our previous posts, we talked about virtual machines and the core components of virtualization that DBAs may be interested in.  Having digested that, we need to talk about some core concepts when working in the virtual world. In vSphere, there are a some ideas that are important to understand: The Guest O/S The guest is [...]]]></description>
			<content:encoded><![CDATA[<p>In our <a href="http://www.architected.info/blog/category/bootcamp/">previous posts</a>, we talked about virtual machines and the core components of virtualization that DBAs may be interested in.  Having digested that, we need to talk about some core concepts when working in the virtual world.</p>
<p>In <a href="http://www.vmware.com/products/vsphere/mid-size-and-enterprise-business/overview.html">vSphere</a>, there are a some ideas that are important to understand:</p>
<h3>The Guest O/S</h3>
<p><strong></strong>The guest is the combination of the applications and operating system (Windows, Linux, Mac), the same one that you may be executing today.  However, instead running on its own physical hardware, the guest sits on top of the hypervisor, which abstracts the hardware underneath.  The guest executes based on the operating platform that is presented to it, not the physical hardware itself.</p>
<p>A guest typically will not have any visibility to the virtualization layer, and it will not know the difference between running on physical hardware or a hypervisor.  Also, it is common that a &#8216;template&#8217; can be made such that it is very easy to make many copies of a guest running with minimal effort.  This is a huge productivity savings for system and application administrators.</p>
<p>Thinking about databases, your guest might be an installation of Oracle running on Linux within a VMware VM.</p>
<h3>The Host</h3>
<p>In the physical world, a host is simply an x86 system, typically a blade of some sort in a data center.  In the virtual world, the host represents the aggregate computing and memory resources of the physical x86 server. For example, if the physical x86 server has four dual-core CPUs running at 4GHz each and 32GB of system memory, the host has 32GHz of computing power and 32GB of memory available for running virtual machines that are assigned to it.  Because there are multiple guests running on a host, it is easiest to think of a host in terms of an aggregate, as it is very easy for a hypervisor to allocate resources to fit the needs of your current workload.</p>
<p>As we said before, a database running on an O/S (such as Oracle on Linux) encapsulated in a VM would be considered a guest.  You could easily have a large number of databases running on the same host without interfering with one another (in fact, they would probably run better together, more on that later).  Each guest is completely isolated from one another and they will not consume each others resources, as they are managed by the hypervisor.</p>
<p>Also, multiple guests can be running on the same hosts and they do not need to be segregated by application type.  SQL Server, Oracle, and PostgreSQL could run on the same physical host without any issues, and a web server could easily run on the same host as a database server  as separate guests.</p>
<h3>The Cluster</h3>
<p>The cluster is a logical aggregate of a number of hosts, but acts and is managed as a single entity. It represents the aggregate computing and memory resources of a group of physical x86 servers sharing the same network and storage arrays. For example, if the group contains eight servers with four dual-core CPUs each running at 4GHz and 32GB of memory. The cluster then has and aggregate 256GHz of computing power and 256GB of memory available for running virtual machines.</p>
<p>Instead of pairing databases to specific machines, the Guest VM is deployed to a cluster.  The underlying virtual architecture will make sure that the guest is deployed to the host with the correct resource availability, and can even move guests around the cluster as needed.  VMware technologies like <a href="http://www.vmware.com/products/high-availability/overview.html">HA</a>, <a href="http://www.vmware.com/products/drs/overview.html">DRS</a>, and <a href="http://www.vmware.com/products/vmotion/overview.html">vMotion</a>  (more details in <a href="http://www.architected.info/blog/?p=114">Bootcamp 3</a>) take care of the details at deployment time and during operation.</p>
<p>In a practical sense, the clustering technology frees databases from their physical shell, like the <a href="http://en.wikipedia.org/wiki/Ghost_in_the_machine">ghost in the machine</a>.  In my years in development and consulting, it is rare that issues around databases crop up because of tables, indexes, or data types.  Much more often issues arise around resources and interactions between hardware, software, and drivers.  Keeping your database in a highly automated, well managed cluster allows you to get the best out of the technology without being dragged down by physical dependencies.</p>
<h3>Resource Pools</h3>
<p>OK, let&#8217;s think about the world from the point of view of a guest.  In the physical world, it would get its resources by querying the hardware it is running on to find out how much CPU/RAM is available for consumption.  However, in the physical world all the guest can see is what the hypervisor allows it to see.  In reality, the resources of a host can be subdivided and aggregated, almost at will.  This means that we can give a guest part or all of a given host, depending on how much it needs.</p>
<p>Conceptually, VMware calls these resource pools, and they are partitions of computing and memory resources from a single host or a cluster.  Resource pools can be hierarchical and nested. You can partition any resource pool into smaller resource pools to further divide and assign resources to different groups or for different purposes.</p>
<p>A database would receive its resources from a specific resource pool instead of from the actual physical hardware.  Keep in mind that the guest has no idea that there is anything out of the ordinary here, but resource pools can be used to manage large numbers of processes very effectively.</p>
<h3>Overcommitment</h3>
<p>A very common situation with databases (and other applications) is that the amount of resources that are needed at peak usage are significantly lower than the amount of resources that are needed during average usage.  Also, it is not uncommon that peak usage is only a tiny part of the actual time that a system is running.  For example, a BI database might be very busy during business hours while a data mart used for ETL might only be busy after hours. However, in the physical world you need to two under-utilized systems in order to run your architecture effectively.</p>
<p>However, in the virtual world we have a solution for this problem, called overcommitment.  Overcommitment of resources is the ability to provision more resources than are actually physically available.  This may seem counter-intuitive, but it stems from the fact that different applications are busy at different times.  Because the guest is abstracted from the physical hardware of the cluster, resources can be effectively &#8216;borrowed&#8217; from a less busy guest and &#8216;loaned&#8217; to a more busy one.   Overcommitment is done seamlessly by the hypervisor, this is done in a way that is completely automated.</p>
<p>In our example, we might have a physical host with 8GHz of CPU and 64GB of RAM.  However, we can assign a VM with the BI database 8GHz and 64GB of RAM AND we can assign the VM with the ETL Server 8 GHz and 64MB RAM (an overcommitment level of 100%).  Because the two systems have different peak usage, the hypervisor would be able to move resources from one VM to the other without a problem.  Even if there is some overlap, typically virtual resources can be successfully overcommitted with minimal effort.  In addition, <a href="http://www.vmware.com/products/drs/overview.html">Dynamic Resource Scheduling</a> can transparently take the edge of any resource contention.</p>
<h2>Why This Matters</h2>
<p>These core concepts are very different from what members of a database team may be used to today.  However, it is critical to understand that  while the physical building blocks are the same, in a virtualized world your basic concepts of how things work can be very different.</p>
<h2>The Takeaway</h2>
<p>While most of these concepts are fairly straightforward, resource overcommitment is something that may be new to database people.  We will explore this in much further detail &#8230;</p>
<h2><strong>References</strong></h2>
<p><a href="http://www.vmware.com/pdf/vsphere4/r40/vsp_40_intro_vs.pdf">Introduction to vSphere</a></p>
<p><a href="http://blogs.vmware.com/virtualreality/2008/10/memory-overcomm.html">Memory Overcommitment</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.architected.info/blog/bootcamp-4-the-vmware-stack-for-the-database-team/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bootcamp: 3 &#8211; The VMware Stack for the Database Team</title>
		<link>http://www.architected.info/blog/bootcamp-3-the-vmware-stack-for-the-database-team/</link>
		<comments>http://www.architected.info/blog/bootcamp-3-the-vmware-stack-for-the-database-team/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 16:57:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[bootcamp]]></category>
		<category><![CDATA[databases]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.architected.info/blog/?p=114</guid>
		<description><![CDATA[BTW, A huge amount of this is covered in this whitepaper.  I would most heartily recommend you read it if you are looking for more details.  I have cribbed mightily. In reality, vSphere is a brand that represents VMware&#8217;s a cloud operating system. vSphere is a collection of tools that: manages large collections of infrastructure (such [...]]]></description>
			<content:encoded><![CDATA[<div>BTW, A huge amount of this is covered in <a href="http://www.vmware.com/pdf/vsphere4/r40/vsp_40_intro_vs.pdf">this whitepaper</a>.  I would most heartily recommend you read it if you are looking for more details.  I have cribbed mightily.</div>
<div></div>
<div>In reality, vSphere is a brand that represents VMware&#8217;s a cloud operating system.</div>
<div></div>
<div>vSphere is a collection of tools that:</div>
<blockquote>
<div>manages large collections of infrastructure (such as CPUs, storage, and networking) as a seamless and dynamic operating environment, and also manages the complexity of a datacenter.</div>
</blockquote>
<div>From the database point of view, you need to understand a few key technolgies from the VMware stack:</div>
<h3>ESX</h3>
<div><a href="http://www.vmware.com/products/vsphere/esxi-and-esx/index.html">ESX</a> is he <a href="http://en.wikipedia.org/wiki/Hypervisor">hypervisor</a> that is run on physical servers that abstracts processor, memory, storage, and resources into multiple virtual machines.  ESX runs directly on the physical server and it presents a virtual operating platform to the guest operating systems running on top of it.  Something handled by the Virtual Infrastructure team, not a DBA thing.</div>
<div>
<h3>vCenter</h3>
</div>
<div><a href="http://www.vmware.com/products/vcenter-server/overview.html">vCenter</a>  is the central point for configuring, provisioning, and managing virtualized IT environments.  It is a web- or windows-based application that allows you to view and control all the virtual machines across multiple ESX servers.  vCenter Server aggregates physical resources from multiple ESX/ESXi hosts and presents a central collection of simple and flexible resources for the system administrator to provision to virtual machines in the virtual environment.  Also used by the Virtual Infrastructure team.</div>
<div>
<h3>vMotion</h3>
</div>
<div><a href="http://www.vmware.com/products/vmotion/overview.html">vMotion</a> - Enables the live migration of running virtual machines from one physical server to another with zero down time, continuous service availability, and complete transaction integrity.  It is relatively easy to do, because you can:</div>
<div>
<ol>
<li>Take a snapshot of a VM.</li>
<li>Copy the snapshot of the VM to a new location.</li>
<li>Start the VM.</li>
<li>Synchronize the changes in the VM since step 1.</li>
<li>Cut over to the new VM.</li>
</ol>
</div>
<div>With vSphere, all of this happens under the sheets, and is transparent to users.  Imagine having a database server that is too busy and being able to move your database to a more lightly used server with a single mouse-click while the database is running with zero downtime.</div>
<div>
<h3>vSphere High Availability</h3>
</div>
<div><a href="http://www.vmware.com/products/high-availability/overview.html">High Availability (HA)</a> provides high availability for applications running in virtual machines. If a server fails, affected virtual machines are restarted on other production servers that have spare capacity.  vSphere keeps a heartbeat connection to a machine under HA and is able to detect a hardware or software failure an initiate HA automatically.</div>
<div></div>
<div>Often with databases, HA is something that is either overlooked or overpaid for.  Most companies will not have HA in their dev/test environments, and will purchase incredibly expensive and proprietary solutions for production machines.  vSphere HA gives you the same features available to all machines at a fraction of the cost.</div>
<div>
<h3>vSphere Fault Tolerance</h3>
</div>
<div>When <a href="http://www.vmware.com/products/fault-tolerance/overview.html">Fault Tolerance (FT)</a> is enabled for a virtual machine, a secondary copy of the original (or primary) virtual machine is created. All actions completed on the primary virtual machine are also applied to the secondary virtual machine. If the primary virtual machine becomes unavailable, the secondary machine becomes active, providing continual availability.</div>
<div></div>
<div>FT takes place at the CPU level, and is limited to 1 CPU at a time, which makes it untenable for database operations.  As this feature is further refined it may become more useful for database operations.</div>
<div>
<h3>Distributed Resource Scheduling</h3>
</div>
<div><a href="http://www.vmware.com/products/drs/overview.html">Distributed Resource Scheduling (DRS)</a> allocates and balances computing capacity dynamically across collections of hardware resources for virtual machines. This feature includes distributed power management (DPM) capabilities that enable a datacenter to significantly reduce its power consumption.</div>
<div></div>
<div>Essentially, DRS uses vMotion to place VMs in the right location initially, and to balance VMs across multiple servers based on the state of entire system.  For example, if there are three databases running on a server and one takes a large number of resources, the other databases will automatically be moved away with vMotion while maintaining uptime and database performance.</div>
<div>
<h2>Why This Matters</h2>
<div>In practical terms vSphere is a layer that sits on top of your enterprise servers, networks, and storage and abstracts the details of operation away from the operating system.  This allows you incredible flexibility in how to operate your data center and all the applications within it.</div>
<div></div>
<div>There are additional challenges to making databases run in virtual infrastructure, but it is more than worth it to make the effort.</div>
</div>
<h2>The Takeaway</h2>
<div>This is pretty different from how most database shops run today.  Most DBAs, Analysts, and Developers really have to sweat the details on the infrastructure they are running on.  With vSphere, a huge amount of these worries are removed through abstraction.</div>
<h3>References</h3>
<div><a href="http://www.vmware.com/pdf/vsphere4/r40/vsp_40_resource_mgmt.pdf">vSphere Resource Management</a></div>
<div><a href="http://www.vmware.com/products/vmotion/overview.html">vMotion</a></div>
<div><a href="http://www.vmware.com/products/high-availability/overview.html">HA</a></div>
<div><a href="http://www.vmware.com/products/fault-tolerance/overview.html">FT</a></div>
<div><a href="http://www.vmware.com/products/vcenter-server/overview.html">vCenter</a></div>
<div><a href="http://www.vmware.com/products/drs/overview.html">DRS</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.architected.info/blog/bootcamp-3-the-vmware-stack-for-the-database-team/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bootcamp: 2 &#8211; Virtual Machines for the Database Team</title>
		<link>http://www.architected.info/blog/bootcamp-2-virtual-machines-for-the-database-team/</link>
		<comments>http://www.architected.info/blog/bootcamp-2-virtual-machines-for-the-database-team/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 20:44:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[bootcamp]]></category>
		<category><![CDATA[databases]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.architected.info/blog/?p=108</guid>
		<description><![CDATA[When most people think of virtualization, what they really mean is VMware, and this is how I will focus this article.  If you aren&#8217;t familar with VMware technology, you should read the basics about virtual machines. To quote:  A virtual machine is a tightly isolated software container that can run its own operating systems and applications [...]]]></description>
			<content:encoded><![CDATA[<p>When most people think of virtualization, what they really mean is VMware, and this is how I will focus this article.  If you aren&#8217;t familar with VMware technology, you should read <a href="http://www.vmware.com/virtualization/virtual-machine.html">the basics about virtual machines</a>.</p>
<p>To quote:</p>
<blockquote><p> A virtual machine is a tightly isolated software container that can run its own operating systems and applications as if it were a physical computer. A virtual machine behaves exactly like a physical computer and contains it own virtual (ie, software-based) CPU, RAM hard disk and network interface card (NIC).</p>
<p>An operating system can’t tell the difference between a virtual machine and a physical machine, nor can applications or other computers on a network. Even the virtual machine thinks it is a “real” computer. Nevertheless, a virtual machine is composed entirely of software and contains no hardware components whatsoever. As a result, virtual machines offer a number of distinct advantages over physical hardware.</p>
<p>In general, VMware virtual machines possess four key characteristics that benefit the user:</p>
<ul>
<li><strong>Compatibility</strong>: Virtual machines are compatible with all standard x86 computers</li>
<li><strong>Isolation</strong>: Virtual machines are isolated from each other as if physically separated</li>
<li><strong>Encapsulation</strong>: Virtual machines encapsulate a complete computing environment</li>
<li><strong>Hardware independence</strong>: Virtual machines run independently of underlying hardware</li>
</ul>
</blockquote>
<p>Multiple systems, one machine, no one any the wiser except for the system administrator who teaches them how to share.  From the database point of view, this is FANTASTIC, because it removes a huge number of headaches for DBAs that aren&#8217;t related to the database.</p>
<p>Also, because the operating system is encapsulated and machne independent, there are some important things things that you can do with VM&#8217;s that are difficult to do with physical machines.</p>
<h3>Snapshots</h3>
<p>A snapshot preserves the state and data of a virtual machine at a specific point in time.  The state includes the virtual machine’s power state (for example, powered-on, powered-off, suspended).  The data includes all of the files that make up the virtual machine. This includes disks, memory, and other devices, such as virtual network interface cards.</p>
<p>This operation is typically VERY fast compared to a database backup, typically only taking seconds.  This can be a great way to do a simple checkpoint or an incremental backup.  You just quiesce the database, take a VM snapshot and continue on your merry way.</p>
<h3>Cloning</h3>
<p>A full clone is an independent virtual machine, with no need to access the parent. Full clones do not require an ongoing connection to the parent virtual machine. Because a full clone does not share virtual disks with the parent virtual machine, full clones generally perform better than linked clones. However, full clones take longer to create than linked clones. Creating a full clone can take several minutes if the files involved are large.</p>
<p>This operation is also typically VERY fast compared to a database clone and the clone can be deployed anywhere that you want to.  While there is more work that is needed to be done inside the new VM around database configuration,  there isn&#8217;t anything that needs to be done around hardware.</p>
<h3>Linked Clones</h3>
<p>A linked clone is made from a snapshot of a parent virtual machines. All files available on the parent at the moment of the snapshot continue to remain available to the linked clone. Ongoing changes to the virtual disk of the parent do not affect the linked clone, and changes to the disk of the linked clone do not affect the parent.</p>
<p>Imagine finding a problem in production and in just a few minutes being able to hand your developer a full copy of a 1 TB database that they can query and change at will without impacting anything.  Very difficult to do in the traditional model, easy to do when virtualized.</p>
<p>Pretty cool stuff.</p>
<h2><strong>Why This Matters</strong><span class="Apple-style-span" style="font-size: 13px; font-weight: normal;"> </span></h2>
<p>In reality virtualization wouldn&#8217;t be much more than a nice parlor trick if all you did was create individual VMs and run then on your laptop.  However, virtualizing resources really opens up a world of interesting things for databases, administration, server efficiency, and data movement.</p>
<h2><strong>The Takeaway</strong></h2>
<p>Virtualization makes running existing databases cheaper and easier.  Also, if you are clever operationally, you can manipulate the container to make the database inside run exactly the way you want it to and at the cost you want to pay.  This is the domain of virtual resource management, which we will cover in detail.  However, the first thing we need to understand is VMware&#8217;s virtualization stack.</p>
<h3>References<span class="Apple-style-span" style="font-size: 13px; font-weight: normal;"> </span></h3>
<p><a href="http://www.vmware.com/pdf/vsphere4/r40/vsp_40_intro_vs.pdf">Introduction to vSphere</a></p>
<p><a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1015180">Snapshots</a></p>
<p><a href="http://www.vmware.com/support/ws55/doc/ws_clone_overview.html#wp1028798">Understanding Clones</a></p>
<p><a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1015180">How does a Snapshot Work</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.architected.info/blog/bootcamp-2-virtual-machines-for-the-database-team/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bootcamp: 1 &#8211; Virtualization for the Database Team</title>
		<link>http://www.architected.info/blog/virtualization-bootcamp-for-the-database-team/</link>
		<comments>http://www.architected.info/blog/virtualization-bootcamp-for-the-database-team/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 20:35:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[bootcamp]]></category>
		<category><![CDATA[databases]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://www.architected.info/blog/?p=90</guid>
		<description><![CDATA[In my work evangelizing VMware vFabric Data Director I have found an interesting problem: Databases and virtualization are both great technologies. DBAs typically don&#8217;t know or care much about virtualization.  It simply isn&#8217;t the way things are done. Virtual Infrastructure (VI) Admins typically don&#8217;t know or care much about databases.  A payload is a payload and a VM is [...]]]></description>
			<content:encoded><![CDATA[<p>In my work evangelizing VMware vFabric <a href="http://bit.ly/vdd-intro">Data Director</a> I have found an interesting problem:</p>
<ol>
<li>Databases and virtualization are both great technologies.</li>
<li>DBAs typically don&#8217;t know or care much about virtualization.  It simply isn&#8217;t the way things are done.</li>
<li>Virtual Infrastructure (VI) Admins typically don&#8217;t know or care much about databases.  A payload is a payload and a VM is a black box.</li>
</ol>
<p>However, I understand exactly how it happens.  I have been working with big data, databases, data management, and ETL for the last 10 years and I had very little interaction with virtualization or centralized IT.  Databases are the crown jewels of the IT infrastructure, and are typically managed completely seperately than the rest of IT.</p>
<div>Now, it is possible to <a href="http://communities.vmware.com/community/vmtn/bestpractices/oracle">virtualize Oracle </a>and <a href="http://www.vmware.com/technical-resources/enterprise-applications/sql-server.html">SQL Server</a>, and some companies have had some notable success doing it.  However, it takes a great deal of effort and isn&#8217;t something I have really seen at scale.  The power that enterprise virtualization offers is significantly beyond what can be accomplished by cobbling together a number of virtual machines.  However, both databases and virtual infrastructure have a huge amount to gain from working together and people from the database side of the house need to understand virtualization in order to exploit it.</div>
<div>So, I have put together a series on virtualization designed for the database professional.  Enjoy!</div>
<div>Next up is <a href="http://www.architected.info/blog/bootcamp-2-virtual-machines-for-the-database-team/">a primer on virtual machines</a>.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.architected.info/blog/virtualization-bootcamp-for-the-database-team/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Value of Inaccuracy in Search</title>
		<link>http://www.architected.info/blog/the-value-of-inaccuracy-in-search/</link>
		<comments>http://www.architected.info/blog/the-value-of-inaccuracy-in-search/#comments</comments>
		<pubDate>Mon, 21 Jul 2008 02:25:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blast From The Past]]></category>

		<guid isPermaLink="false">http://www.architected.info/blog/?p=72</guid>
		<description><![CDATA[One of the most highly valued features of information architecture is accuracy. Everyone wants everything to be perfect: every answer should be as factually accurate as possible and available immediately to whomever needs it. This was the promise of the internet as a whole, and of the web specifically (especially the “semantic web“, which I [...]]]></description>
			<content:encoded><![CDATA[<p>One of the most highly valued features of information architecture is accuracy. Everyone wants everything to be perfect: every answer should be as factually accurate as possible and available immediately to whomever needs it. This was the promise of the internet as a whole, and of the web specifically (especially the “<a href="http://web.archive.org/web/20081012145728/http://en.wikipedia.org/wiki/Semantic_Web">semantic web</a>“, which I have <a href="http://web.archive.org/web/20081012145728/http://www.architected.info/blog/two-methods-for-defining-information-quality">ranted about</a> before).</p>
<p><a href="http://web.archive.org/web/20081012145728/http://www.theeconomist.com/">The Economist</a> has a <a href="http://web.archive.org/web/20081012145728/http://www.economist.com/science/displaystory.cfm?story_id=11745514">great article</a> about digital libraries and the effects of imprecision searching for information. Large voices have talked <a href="http://web.archive.org/web/20081012145728/http://www.shirky.com/writings/powerlaw_weblog.html">in great detail</a> about the <a href="http://web.archive.org/web/20081012145728/http://en.wikipedia.org/wiki/The_Long_Tail">Long Tail</a> of information on the web. That is, information doesn’t lose its value on the internet as quickly as it does elsewhere because it remains available forever. For example, an article printed in a newspaper could easily be lost in the dustbin of history simply because it can’t be easily indexed and read by the people who want to see it the most. The same information in a blog will be available through Google for the rest of eternity.</p>
<p>However, researchers have found that exactly the opposite is happening with scientific media. The number of links to older materials actually declined as it was moved from paper to the web. In other words, the newest, most popular material was linked to more often, creating a shorter tail than had otherwise existed. You can read <a href="http://web.archive.org/web/20081012145728/http://www.economist.com/science/displaystory.cfm?story_id=11745514">the article</a> itself for more details on the nature of the experiment itself.</p>
<p>I think that this study actually shows the value of <em><strong>inaccuracy</strong></em> in search. Humans don’t need less accurate information to do their job today. However, in the long term we need less accurate information in order to take us down paths we might not expect. The very act of turning pages in a book might allow some bit of information to catch the eye of the reader (either consciously or unconsciously) and take them down a path they might not otherwise have traveled. Think <a href="http://web.archive.org/web/20081012145728/http://www.ask.com/">ask.com</a> and iTunes <a href="http://web.archive.org/web/20081012145728/http://www.apple.com/itunes/jukebox/coverflow.html">cover flow</a> vs. the <a href="http://web.archive.org/web/20081012145728/http://en.wikipedia.org/wiki/Bubble_sort">bubble sort</a>.</p>
<p>IMHO, this highlights the fact that the brain needs a level of accuracy in order to function, but also requires a bit of fuzziness in order to grow and thrive. This is just a part of our biology and our cognition. As Information Architects, we need to understand this in order to build the right systems for people.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.architected.info/blog/the-value-of-inaccuracy-in-search/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Technology+Vision=Better Schools</title>
		<link>http://www.architected.info/blog/technologyvisionbetter-schools/</link>
		<comments>http://www.architected.info/blog/technologyvisionbetter-schools/#comments</comments>
		<pubDate>Sun, 27 May 2007 21:40:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blast From The Past]]></category>

		<guid isPermaLink="false">http://www.architected.info/blog/?p=9</guid>
		<description><![CDATA[News.com has an article about HorizonOne, a company that is utilizing technology in a way that makes a difference and makes a profit.  They have created new, high-tech vending machines for schools that dispense healthy food and teach children how to eat in a more nutritious manner. According to the article: Software installed in the refrigerated box connects the student IDs [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://web.archive.org/web/20070922024710/http://news.com.com/">News.com</a> has <a href="http://web.archive.org/web/20070922024710/http://news.com.com/Machines+give+kids+lessons+in+food%2C+finance/2009-1041_3-6185887.html?tag=nefd.lede">an article</a> about <a href="http://web.archive.org/web/20070922024710/http://www.horizonsoftware.com/">HorizonOne</a>, a company that is utilizing technology in a way that makes a difference and makes a profit.  They have created <a href="http://web.archive.org/web/20070922024710/http://www.horizonsoftware.com/email/Healthy_Vending/Healthy_Vending07_1.htm">new, high-tech vending machines</a> for schools that dispense healthy food and teach children how to eat in a more nutritious manner.</p>
<p>According to the article:</p>
<blockquote><p>Software installed in the refrigerated box connects the student IDs and purchase data to Horizon’s point of sale servers, which automatically track students’ prepaid account IDs, along with information on whether a student qualifies for free or discounted lunch rates based on household income. School districts get reimbursed by the government for a fraction of the discounted cost when they sell a balanced meal–under USDA rules, three of five of a bread, protein, dairy or fruit and vegetables–to low-income students.</p>
<p>Finally, and this is the <a title="Barbie's last online stand? -- Friday, May 18, 2007" href="http://web.archive.org/web/20070922024710/http://news.com.com/Barbies+last+online+stand/2100-1041_3-6184743.html">selling point for parents</a> who want oversight of their child’s eating habits, parents can log onto a secure Web site, called MealPayPlus, to see what their child ate for lunch, or how they snacked on any given day. They can also add money to their child’s account directly on the Web site</p></blockquote>
<p>This is a very, very cool idea and a true win-win-win for school districts, parents, and children.  The kind of solution that really can only be done with integrated technology and cooperation between everyone involved.  The only losers here are the existing vending industry and suppliers.  They have stubbornly insisted on delivering food that maximizes their profits and tried to lock them in with exclusive contracts and payments to schools that border on bribes.</p>
<p>Kudos to <a href="http://web.archive.org/web/20070922024710/http://www.horizonsoftware.com/">HorizonOne</a> for their innovation and vision!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.architected.info/blog/technologyvisionbetter-schools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Lost Art of Listening</title>
		<link>http://www.architected.info/blog/the-lost-art-of-listening/</link>
		<comments>http://www.architected.info/blog/the-lost-art-of-listening/#comments</comments>
		<pubDate>Tue, 17 Apr 2007 21:35:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blast From The Past]]></category>

		<guid isPermaLink="false">http://www.architected.info/blog/?p=5</guid>
		<description><![CDATA[In the IT world, I am not sure if I should take user-driven innovation to be a sign of progress or a sad display on how difficult things have become. With all the talk about Web 2.0, wikis, social media, and the cathedral and the bazaar, I would think that any technologist who isn’t at least passingly [...]]]></description>
			<content:encoded><![CDATA[<p>In the IT world, I am not sure if I should take <a href="http://web.archive.org/web/20070922024710/http://www.nytimes.com/2007/03/25/business/yourmoney/25Proto.html?ex=1332475200&amp;en=df8ce55e08b17022&amp;ei=5090&amp;partner=rssuserland&amp;emc=rss">user-driven innovation</a> to be a sign of progress or a sad display on how difficult things have become. With all the talk about Web 2.0, wikis, social media, and the cathedral and the bazaar, I would think that any technologist who isn’t at least passingly familiar with these ideas must be on a contract, working out of a cave, typing programs on dusty green screen terminal connected to the corporate mainframe by a thick <a href="http://web.archive.org/web/20070922024710/http://en.wikipedia.org/wiki/Token_ring">token ring</a> cable.</p>
<p>However, the ‘new trend’ of allowing users actually provide feedback into the products that they are using has produced a professorship at <a href="http://web.archive.org/web/20070922024710/http://www.mit.edu/">MIT</a> and been mentioned in the <a href="http://web.archive.org/web/20070922024710/http://www.nytimes.com/2007/03/25/business/yourmoney/25Proto.html?ex=1332475200&amp;en=df8ce55e08b17022&amp;ei=5090&amp;partner=rssuserland&amp;emc=rss">New York Times</a> ::sigh::  IMHO, this is simply the realization that ignoring people is less effective than communicating with them, and less effective means less profitable.  I think the technology world should be embarassed that it is so disfunctional that this is at all new or interesting enough to study.</p>
<p>On a similar note, <a href="http://web.archive.org/web/20070922024710/http://www.benstein.com/stein2.html">Ben Stein</a> has some interesting thoughts about <a href="http://web.archive.org/web/20070922024710/http://finance.yahoo.com/expert/article/yourlife/29225">how to have a business conversation</a>.  If you plan on doing anything other than pure solo work for the rest of your life it is mandatory reading.  Interestingly, it seems that the best conversationalists are the ones who are the most considerate and do the most listening.  Sounds like organizations might want to focus on having an actual conversation with their customers …</p>
]]></content:encoded>
			<wfw:commentRss>http://www.architected.info/blog/the-lost-art-of-listening/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Lost Art of Listening</title>
		<link>http://www.architected.info/blog/the-lost-art-of-listening-2/</link>
		<comments>http://www.architected.info/blog/the-lost-art-of-listening-2/#comments</comments>
		<pubDate>Tue, 17 Apr 2007 02:02:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blast From The Past]]></category>

		<guid isPermaLink="false">http://www.architected.info/blog/?p=36</guid>
		<description><![CDATA[In the IT world, I am not sure if I should take user-driven innovation to be a sign of progress or a sad display on how difficult things have become. With all the talk about Web 2.0, wikis, social media, and the cathedral and the bazaar, I would think that any technologist who isn’t at least passingly [...]]]></description>
			<content:encoded><![CDATA[<p>In the IT world, I am not sure if I should take <a href="http://web.archive.org/web/20080725170729/http://www.nytimes.com/2007/03/25/business/yourmoney/25Proto.html?ex=1332475200&amp;en=df8ce55e08b17022&amp;ei=5090&amp;partner=rssuserland&amp;emc=rss">user-driven innovation</a> to be a sign of progress or a sad display on how difficult things have become. With all the talk about Web 2.0, wikis, social media, and the cathedral and the bazaar, I would think that any technologist who isn’t at least passingly familiar with these ideas must be on a contract, working out of a cave, typing programs on dusty green screen terminal connected to the corporate mainframe by a thick <a href="http://web.archive.org/web/20080725170729/http://en.wikipedia.org/wiki/Token_ring">token ring</a> cable.</p>
<p>However, the ‘new trend’ of allowing users actually provide feedback into the products that they are using has produced a professorship at <a href="http://web.archive.org/web/20080725170729/http://www.mit.edu/">MIT</a> and been mentioned in the <a href="http://web.archive.org/web/20080725170729/http://www.nytimes.com/2007/03/25/business/yourmoney/25Proto.html?ex=1332475200&amp;en=df8ce55e08b17022&amp;ei=5090&amp;partner=rssuserland&amp;emc=rss">New York Times</a> ::sigh::  IMHO, this is simply the realization that ignoring people is less effective than communicating with them, and less effective means less profitable.  I think the technology world should be embarassed that it is so disfunctional that this is at all new or interesting enough to study.</p>
<p>On a similar note, <a href="http://web.archive.org/web/20080725170729/http://www.benstein.com/stein2.html">Ben Stein</a> has some interesting thoughts about <a href="http://web.archive.org/web/20080725170729/http://finance.yahoo.com/expert/article/yourlife/29225">how to have a business conversation</a>.  If you plan on doing anything other than pure solo work for the rest of your life it is mandatory reading.  Interestingly, it seems that the best conversationalists are the ones who are the most considerate and do the most listening.  Sounds like organizations might want to focus on having an actual conversation with their customers …</p>
]]></content:encoded>
			<wfw:commentRss>http://www.architected.info/blog/the-lost-art-of-listening-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Developing Homegrown Talent</title>
		<link>http://www.architected.info/blog/developing-homegrown-talent/</link>
		<comments>http://www.architected.info/blog/developing-homegrown-talent/#comments</comments>
		<pubDate>Fri, 13 Apr 2007 02:26:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blast From The Past]]></category>

		<guid isPermaLink="false">http://www.architected.info/blog/?p=74</guid>
		<description><![CDATA[Steve Hamm at Business Week has a short post about the hiring practices of Chinese IT firms, which hopefully will open the eyes of some of the leaders here in the west. Symbio is an outsourcing company that was facing a problem with not having enough qualified recruits. Their response? [Symbio CEO Jacob] Hsu and his colleagues decided they needed a [...]]]></description>
			<content:encoded><![CDATA[<p>Steve Hamm at <a href="http://web.archive.org/web/20080725170929/http://www.businessweek.com/">Business Week</a> has <a href="http://web.archive.org/web/20080725170929/http://www.businessweek.com/globalbiz/blog/bangaloretigers/archives/2007/04/want_good_engin.html#more">a short post</a> about the hiring practices of Chinese IT firms, which hopefully will open the eyes of some of the leaders here in the west. <a href="http://web.archive.org/web/20080725170929/http://www.symbio-group.com/">Symbio</a> is an outsourcing company that was facing a problem with not having enough qualified recruits. Their response?</p>
<blockquote><p>[Symbio CEO Jacob] Hsu and his colleagues decided they needed a feeder program to prepare college students to work for them, so they recently established software institutes in the Harbin Institute of Technology and Shandong University, both in the coastal city of Weihai. That’s where Symbio is about to establish a new development center. Says Hsu, who grew up in San Francisco: “Other companies have university partnerships; we run the university departments.”</p>
<p>This isn’t something Symbio undertakes lightly. “We’re a human potential factory. We’re in the talent management business,” says Hsu. “In the next couple of years the companies that win will be the ones who manage talent the best.”</p></blockquote>
<p>The Chinese have an <a href="http://web.archive.org/web/20080725170929/http://www.careerknowhow.com/mentality.htm">abundance mentality</a>, a positive outlook for their long-term future. Not only are they doing business successfully today, they are investing in building a generation of leaders for tomorrow. At the same time, western companies are shedding jobs and looking to outsource jobs and import labor to meet the needs of the moment. The west isn’t going to lose its edge because of quarterly profit outlooks, it is going to lose it because it lacks the vision to see the future and the audacity to put itself at the center of it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.architected.info/blog/developing-homegrown-talent/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

