<?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>WorkSite Zen</title>
	<atom:link href="http://worksitezen.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://worksitezen.com/blog</link>
	<description>Providing Balance and Insight to your WorkSite Environment</description>
	<lastBuildDate>Wed, 30 Nov 2011 16:46: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>
		<item>
		<title>Adding to WorkSite Indexer Sizing Recommendations</title>
		<link>http://worksitezen.com/blog/2011/11/30/adding-to-worksite-indexer-sizing-recommendations/</link>
		<comments>http://worksitezen.com/blog/2011/11/30/adding-to-worksite-indexer-sizing-recommendations/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 16:31:39 +0000</pubDate>
		<dc:creator>jbtrexler</dc:creator>
				<category><![CDATA[IDOL]]></category>
		<category><![CDATA[iManage]]></category>
		<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://worksitezen.com/blog/?p=60</guid>
		<description><![CDATA[When iManage released the IDOL indexer into the legal community, they were being very cautious about ensuring proper performance on this platform.  They require that you fill out an RFI document with information about your environment and submit it to them for examination.  &#8230;<p class="read-more"><a href="http://worksitezen.com/blog/2011/11/30/adding-to-worksite-indexer-sizing-recommendations/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p><a href="http://worksitezen.com/blog/wp-content/uploads/2011/11/Bean.jpg"><img class="alignnone size-thumbnail wp-image-61" title="Bean" src="http://worksitezen.com/blog/wp-content/uploads/2011/11/Bean-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>When iManage released the IDOL indexer into the legal community, they were being very cautious about ensuring proper performance on this platform.  They require that you fill out an RFI document with information about your environment and submit it to them for examination.  They will then give you sizing recommendations to outline hardware specifications for proper performance of IDOL in your environment.  While this information is very useful, I&#8217;ve watched many of my clients mistakenly use that document, with no additional review, as the template for building out their servers.</p>
<p><span id="more-60"></span></p>
<p>At this point, you are probably asking &#8220;Why would I need to modify sizing recommendations from the vendor?&#8221;  The answer is that the recommendations that are provided from iManage are based solely upon running IDOL.  They do not take into consideration any of the overhead of the OS nor the ability to backup the IDOL collections.</p>
<h3>RAM and the OS</h3>
<p>The RAM requirements set forth in the sizing recommendations are for running IDOL only.  If they specify 28 GB of RAM, that is what is needed to manage the overhead of IDOL.  But what about the OS?  It still needs a good memory footprint to run as well.  As a general rule, I add between 2 and 4 GB of RAM on top of any sizing recommendation to allow for this variance.  This assumes that you are using Windows Server 2008 R2 and the official memory guidelines for this platform can be found <a href="http://technet.microsoft.com/en-us/windowsserver/bb414778">here</a>.  If it is a smaller site (1 Million documents or less) you can add 2 GB of RAM, but push for 4 GB if it is larger.</p>
<h3>Backups</h3>
<p>The sizing recommendations lay out your disk arrangement for the deployment of IDOL.  However, they do not specify any amount of space needed for backups.  Furthermore, backups must be stored on a disk local to the Indexer (presented from SAN or Direct Attached Storage) as you cannot backup the collections to a location on the network.  For this reason, you must add additional disk space to your indexer to house backups.</p>
<p>I usually allow 1/3 of the collection size for backups assuming compression is on.  I also use the maximum size of the content engine drive in my calculations as well (Active Content is not backed up).  If we look at this mathematically it would be ((X * Y) * 0.33) Where X = The size of a single content engine and Y = The number of content engines.  If a sizing recommendation specifies 4 content engines, each 100 GB, then we would need 132 GB of space for backups ((100 * 4) * 0.33)</p>
<p>So where do we put these backups? You have several options.  If you are SAN attached, the first thought is to present another drive(s) to the machine to host the backups.  However, this is an expensive option for something that is just housing backups.  Another option would be to put in a Direct Attached Storage (DAS) disk.  Since this is just a temporary location for these backups (and you&#8217;re likely copying them off to some other location, right?) you do not need to worry about RAID and other considerations for this disk.  I&#8217;m sure there are other options out there, but these seem to be the most common.  Just remember that you want to maintain a high I/O rate on the disk or else the backups will take longer.</p>
<p>Hopefully this gives you a little guidance on what to look for and how to balance out your sizing recommendation document to properly deploy IDOL.</p>
<address>When facing a single tree, if you look at a single one of its red leaves, you will not see all the others. When the eye is not set on one leaf, and you face the tree with nothing at all in mind, any number of leaves are visible to the eye without limit. But if a single leaf holds the eye, it will be as if the remaining leaves were not there. &#8211; Takuan Soto</address>
]]></content:encoded>
			<wfw:commentRss>http://worksitezen.com/blog/2011/11/30/adding-to-worksite-indexer-sizing-recommendations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Improve WorkSite Web Security by Using SharePoint Web Parts</title>
		<link>http://worksitezen.com/blog/2011/11/11/improve-worksite-web-security-by-using-sharepoint-web-parts/</link>
		<comments>http://worksitezen.com/blog/2011/11/11/improve-worksite-web-security-by-using-sharepoint-web-parts/#comments</comments>
		<pubDate>Fri, 11 Nov 2011 12:06:25 +0000</pubDate>
		<dc:creator>jbtrexler</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[WorkSite Web]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Web Parts]]></category>

		<guid isPermaLink="false">http://worksitezen.com/blog/?p=40</guid>
		<description><![CDATA[So you&#8217;ve decided to use WorkSite Web as your Extranet?  This makes sense as you can control the content in one place, rather than publishing multiple copies to multiple locations.  Anyone that&#8217;s been through a litigation hold can appreciate this. &#8230;<p class="read-more"><a href="http://worksitezen.com/blog/2011/11/11/improve-worksite-web-security-by-using-sharepoint-web-parts/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p><a href="http://worksitezen.com/blog/wp-content/uploads/2011/11/SPSmall.jpg"><img class="alignnone size-full wp-image-57" title="SPSmall" src="http://worksitezen.com/blog/wp-content/uploads/2011/11/SPSmall.jpg" alt="" width="75" height="83" /></a></p>
<p>So you&#8217;ve decided to use WorkSite Web as your Extranet?  This makes sense as you can control the content in one place, rather than publishing multiple copies to multiple locations.  Anyone that&#8217;s been through a litigation hold can appreciate this.  It also makes managing the current version of the official record much easier to maintain.  However, before you prop up a WorkSite Web Server and expose it to the world, take some time to consider the security ramifications.</p>
<p><span id="more-40"></span>I try to think of security in two contexts, system authentication and content access.  System authentication is how you gain access to the hardware or system that the content resides in.  Content access defines the scope of what content you can see within that system.  I try to rate products by scoring them against both of these areas and see where they end up.  I rate these on a low, medium, high scale.  A low value in System authentication means there is poor security access control to the system, while a low value in content access means that there is low security around content access.</p>
<p>While WorkSite Web does allow for some basic IIS Authentication to happen, it still relies on WorkSite Trusted Login.  The challenge with this is that it is not a true Windows AD challenge.  You can turn on Kerberos Authentication for WorkSite which improves this dramatically, but in my experience the majority of customers have not enabled this option.  Because of this, I&#8217;d score native WorkSite Web a &#8220;Medium&#8221; for system authentication.</p>
<p>Another challenge is that WorkSite Web is a full-feature client.  This makes sense for internal users, but you may not want to hand over the entire functionality set of WorkSite to external users.  Once a user authenticates into the system, they are able to see, browse, and search for anything they have access (or accidentally have access) to.  I&#8217;d score native WorkSite Web with &#8220;low&#8221; for content access.</p>
<p>So what can we do to improve our security scores?  Rather than deploying native WorkSite Web, consider deploying the WorkSite Web SharePoint Web Parts.  The WorkSite Web SharePoint Web Parts are a solution from Autonomy iManage that allow you to implement Web Parts on your SharePoint 2007/2010 sites that plug-in to your existing document management environment.  The credentials of your SharePoint session are passed through to iManage for trusted login.  What I like about this solution is it allows you to begin to wrap your Extranet solution with increasing levels of security.  In addition, you can use some of the excellent collaborative functions of SharePoint in conjunction with document access.</p>
<p><a href="http://worksitezen.com/blog/wp-content/uploads/2011/11/b1.png"><img class="alignnone size-medium wp-image-41" title="b1" src="http://worksitezen.com/blog/wp-content/uploads/2011/11/b1-300x140.png" alt="" width="300" height="140" /></a></p>
<p>&nbsp;</p>
<p>By wrapping SharePoint around the existing WorkSite functionality, you can begin to increase the level of security dramatically.  SharePoint will force a Kerberos / AD authentication check every time the user tries to access the page.  You can use forms / claims based authentication, but I recommend using only AD credentials for external users (external domain, read only domain controller, etc&#8230;) specifically for security access.  From here, you can begin to wrap other layers of security around SharePoint as well.  A great example would be to stand a netscaler or other device in front of this in a DMZ.  In this configuration, I&#8217;d raise the system authentication score to a &#8220;High&#8221;.</p>
<p>Another great feature of this product is that there are multiple web parts you can use for almost any level of access.  You can have a very granular lens on what content is shared with the system.  For example, the screenshot above shows a web part that grants the full client functionality of WorkSite.  But what if I only want to share a specific WorkSpace or Folder?  You can do that.  There is a control where you can pick what WorkSpace or Folder to show and then the page will look like this:</p>
<p><a href="http://worksitezen.com/blog/wp-content/uploads/2011/11/b2.png"><img class="alignnone size-medium wp-image-42" title="b2" src="http://worksitezen.com/blog/wp-content/uploads/2011/11/b2-300x137.png" alt="" width="300" height="137" /></a></p>
<p>&nbsp;</p>
<p>The WebParts you can pick from are staggering.  They really did a great job of giving you the option to lock down exactly what is displayed on the site.  Here is a list of the items:</p>
<p><a href="http://worksitezen.com/blog/wp-content/uploads/2011/11/b3.png"><img class="alignnone size-medium wp-image-43" title="b3" src="http://worksitezen.com/blog/wp-content/uploads/2011/11/b3-300x96.png" alt="" width="300" height="96" /></a></p>
<p>With this level of granularity, the score for content access moves to a &#8220;High&#8221;.</p>
<p>Hopefully this gives you a new perspective on how to use WorkSite for your Extranet solution or to harden the solution you already have in place.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://worksitezen.com/blog/2011/11/11/improve-worksite-web-security-by-using-sharepoint-web-parts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Schedule IDOL Backups with Task Scheduler and PowerShell</title>
		<link>http://worksitezen.com/blog/2011/11/05/schedule-idol-backups-with-task-scheduler-and-powershell-2/</link>
		<comments>http://worksitezen.com/blog/2011/11/05/schedule-idol-backups-with-task-scheduler-and-powershell-2/#comments</comments>
		<pubDate>Sat, 05 Nov 2011 22:15:54 +0000</pubDate>
		<dc:creator>jbtrexler</dc:creator>
				<category><![CDATA[IDOL]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://worksitezen.com/blog/?p=36</guid>
		<description><![CDATA[Today we are looking at an alternative way to backup the IDOL content engines. Using Task Scheduler and Powershell, we can add some useful functionality into our backup routines. The &#8220;out of the box&#8221; backup method requires you to set a &#8230;<p class="read-more"><a href="http://worksitezen.com/blog/2011/11/05/schedule-idol-backups-with-task-scheduler-and-powershell-2/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p><a href="http://worksitezen.com/blog/wp-content/uploads/2011/11/powershell300x300.jpg"><img class="alignnone size-thumbnail wp-image-17" title="powershell300x300" src="http://worksitezen.com/blog/wp-content/uploads/2011/11/powershell300x300-150x150.jpg" alt="" width="58" height="60" /></a></p>
<p>Today we are looking at an alternative way to backup the IDOL content engines. Using Task Scheduler and Powershell, we can add some useful functionality into our backup routines.</p>
<p><span id="more-36"></span></p>
<p>The &#8220;out of the box&#8221; backup method requires you to set a section in each config file with various parameters. This method works well but it does present some challenges around planned interruptions and reporting. What if you want to skip the backups this weekend because of a maintenance window? What if you want a log file of just the backups or an email notification upon completion / failure? In addition to the backups, you also need to copy .cfg and .db files. Let&#8217;s make things a little easier and combine all of these into one step!</p>
<p>If you&#8217;ve never used <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/aa973757(v=vs.85).aspx" target="_blank">PowerShell</a> before, it can be overwhelming at first. However, <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/aa973757(v=vs.85).aspx" target="_blank">after some quick study</a>, I think you&#8217;ll quickly find that it is capable of so much that you&#8217;ll soon be using it for most of your administration and automation tasks (yes&#8230;really&#8230;). If you&#8217;ve never run PowerShell on the IDOL server(s) before, you&#8217;ll need to open it up and <a href="http://technet.microsoft.com/en-us/library/dd347628.aspx" target="_blank">set the execution policy</a> to unrestricted. This allows scripts to be run on that machine from now on. The syntax is: Set-ExecutionPolicy Unrestricted -Scope LocalMachine</p>
<p>Now, let&#8217;s breakdown the actual script that we will use to perform the backups. This script assumes that we will be backing up 3 content engines. It also assumes that we are backing up every week, and only keeping the latest version of the backup since index time is so quick. The completed script looks like this:</p>
<pre>#
# PS Script to Backup IDOL
# Created By JB Trexler
# Created On: 11/4/2011
#
# Description:
# This was written to backup the IDOL Config and database files.
# It will also launch the command to backup the collections via the web browser (silently)
#
# Define Directory Variables
 $IDOLDeployDir = "E:\Program Files\Autonomy\Indexer"
 $ConfigBAKDir = "J:\IDOLBAK\ConfigFiles"
 $IDOLCEBakDir1 = "J:\IDOLBAK\CE1"
 $IDOLCEBakDir2 = "J:\IDOLBAK\CE2"
 $IDOLCEBakDir3 = "J:\IDOLBAK\CE3"
# Declare IE as an object for each content engine that you need to backup.
 $ie1 = new-object -com internetexplorer.application
 $ie2 = new-object -com internetexplorer.application
 $ie3 = new-object -com internetexplorer.application
# Copy the Config and db files
 Copy-Item $IDOLDeployDir\*.cfg $ConfigBAKDir -recurse
 Copy-Item $IDOLDeployDir\*.db $ConfigBAKDir -recurse
# Remove Existing Backups
 Remove-Item $IDOLCEBakDir1\* -recurse
 Remove-Item $IDOLCEBakDir2\* -recurse
 Remove-Item $IDOLCEBakDir3\* -recurse
# Silently Launch IE to Backup the Directories
 $ie1.navigate("<a href="http://localhost:11001/DREBackup?&quot;+$IDOLCEBakDir1">http://localhost:11001/DREBackup?"+$IDOLCEBakDir1</a>)
 $ie1.visible = $false
 $ie2.navigate("<a href="http://localhost:12001/DREBackup?&quot;+$IDOLCEBakDir2">http://localhost:12001/DREBackup?"+$IDOLCEBakDir2</a>)
 $ie2.visible = $false
 $ie3.navigate("<a href="http://localhost:13001/DREBackup?&quot;+$IDOLCEBakDir3">http://localhost:13001/DREBackup?"+$IDOLCEBakDir3</a>)
 $ie3.visible = $false
# All Done
 Write-Host "Backups Issued.  Monitor the index log file of each content engine for completion status."</pre>
<p>Save that file as IDOLBackups.ps1</p>
<p>The next Script is a variation on the first. This is designed to run the DRECOMPACT operation as a scheduled task. The completed script looks like this:</p>
<pre>#
# PS Script to Compact IDOL
# Created By JB Trexler
# Created On: 11/4/2011
#
# Description:
# This was written to Compact the IDOL Content Engines.
# It will launch the command to compact the collections via the web browser (silently)

# Declare IE as an object for each content engine that you need to backup
$ie1 = new-object -com internetexplorer.application
$ie2 = new-object -com internetexplorer.application
$ie3 = new-object -com internetexplorer.application

# Silently Launch IE to Backup the Directories
$ie1.navigate("<a href="http://localhost:11001/DRECOMPACT">http://localhost:11001/DRECOMPACT</a>")
$ie1.visible = $false
$ie2.navigate("<a href="http://localhost:12001/DRECOMPACT">http://localhost:12001/DRECOMPACT</a>")
$ie2.visible = $false
$ie3.navigate("<a href="http://localhost:13001/DRECOMPACT">http://localhost:13001/DRECOMPACT</a>")
$ie3.visible = $false

# All Done
Write-Host "DRECOMPACT Issued. Monitor the index log file of each content engine for completion status."</pre>
<p>Save that file as IDOLCompact.ps1</p>
<p>From here, you can Schedule a Task to run both of these jobs in Task Scheduler. Keep in mind that the DRECOMPACT operation can take a VERY long time to run (several hours). As such, I like to schedule the DRECOMPACT and the DREBackups 24 hours apart. Depending on the environment, I&#8217;ll run the DRECOMPACT monthly and the DREBackups weekly.</p>
<p>Create a New Task:</p>
<p><a href="http://worksitezen.com/blog/wp-content/uploads/2011/11/Task1.png"><img class="alignnone size-medium wp-image-20" title="Task1" src="http://worksitezen.com/blog/wp-content/uploads/2011/11/Task1-300x226.png" alt="" width="300" height="226" /></a></p>
<p>Set the Schedule:</p>
<p><a href="http://worksitezen.com/blog/wp-content/uploads/2011/11/Task3.png"><img class="alignnone size-medium wp-image-22" title="Task3" src="http://worksitezen.com/blog/wp-content/uploads/2011/11/Task3-300x261.png" alt="" width="300" height="261" /></a></p>
<p>Set the Action as &#8220;Start a Program&#8221;. The command is C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe and the Arguments are -noninteractive -nologo J:\control\IDOLBackups.ps1 Swap your location of the IDOLBackups.ps1 file.</p>
<p><a href="http://worksitezen.com/blog/wp-content/uploads/2011/11/Task2.png"><img class="alignnone size-medium wp-image-21" title="Task2" src="http://worksitezen.com/blog/wp-content/uploads/2011/11/Task2-284x300.png" alt="" width="284" height="300" /></a></p>
<p>Repeat this process for the DRECOMPACT Job.</p>
<p>Since these are now scheduled tasks in Windows, you have more flexibility in doing things with these jobs. You can disable them temporarily if needed, send an email on completion / failure, log to the Windows Event Log and more. I hope this gives you some flexibility in your backup routine <img src='http://worksitezen.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://worksitezen.com/blog/2011/11/05/schedule-idol-backups-with-task-scheduler-and-powershell-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using DNS Aliases in WorkSite</title>
		<link>http://worksitezen.com/blog/2011/11/04/using-dns-aliases-in-worksite/</link>
		<comments>http://worksitezen.com/blog/2011/11/04/using-dns-aliases-in-worksite/#comments</comments>
		<pubDate>Sat, 05 Nov 2011 05:50:23 +0000</pubDate>
		<dc:creator>jbtrexler</dc:creator>
				<category><![CDATA[Best Practices]]></category>

		<guid isPermaLink="false">http://jbtrexler.com/blog/?p=5</guid>
		<description><![CDATA[Any WorkSite administrator has most likely been in a situation where a hardware failure or hardware upgade requires changing your configuration settings, then stopping and starting your services for this to take effect.  By proper use of DNS Aliases, you can minimize &#8230;<p class="read-more"><a href="http://worksitezen.com/blog/2011/11/04/using-dns-aliases-in-worksite/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p><a href="http://worksitezen.com/blog/wp-content/uploads/2011/11/DNS.png"><img class="alignnone size-full wp-image-53" title="DNS" src="http://worksitezen.com/blog/wp-content/uploads/2011/11/DNS.png" alt="" width="32" height="32" /></a></p>
<p>Any WorkSite administrator has most likely been in a situation where a hardware failure or hardware upgade requires changing your configuration settings, then stopping and starting your services for this to take effect.  By proper use of <a href="http://en.wikipedia.org/wiki/Domain_Name_System" target="_blank">DNS</a> Aliases, you can minimize the amount of user outages and start to create a platform that is &#8220;fluid&#8221;.</p>
<p><span id="more-5"></span></p>
<p>Let&#8217;s examine the connection points in a simple WorkSite enviornment.  A user connects to a DMS.  This DMS connects to a SQL Server(s) to get database(s) information, a file server and a full text indexer.  Let&#8217;s say that these servers are named as follows:</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="121">
<p align="center"><strong><span style="font-size: small;"><span style="font-family: Calibri;">Role</span></span></strong></p>
</td>
<td valign="top" width="114">
<p align="center"><strong><span style="font-size: small;"><span style="font-family: Calibri;">Name</span></span></strong></p>
</td>
</tr>
<tr>
<td valign="top" width="121"><span style="font-size: small;"><span style="font-family: Calibri;">DMS</span></span></td>
<td valign="top" width="114"><span style="font-size: small;"><span style="font-family: Calibri;">FirmDMS01</span></span></td>
</tr>
<tr>
<td valign="top" width="121"><span style="font-size: small;"><span style="font-family: Calibri;">DMS</span></span></td>
<td valign="top" width="114"><span style="font-size: small;"><span style="font-family: Calibri;">FirmDMS02</span></span></td>
</tr>
<tr>
<td valign="top" width="121"><span style="font-size: small;"><span style="font-family: Calibri;">FileServer</span></span></td>
<td valign="top" width="114"><span style="font-size: small;"><span style="font-family: Calibri;">FirmFS01</span></span></td>
</tr>
<tr>
<td valign="top" width="121"><span style="font-size: small;"><span style="font-family: Calibri;">SQL</span></span></td>
<td valign="top" width="114"><span style="font-size: small;"><span style="font-family: Calibri;">FirmSQL01</span></span></td>
</tr>
<tr>
<td valign="top" width="121"><span style="font-size: small;"><span style="font-family: Calibri;">Indexer</span></span></td>
<td valign="top" width="114"><span style="font-size: small;"><span style="font-family: Calibri;">FirmIDX01</span></span></td>
</tr>
<tr>
<td valign="top" width="121"><span style="font-size: small;"><span style="font-family: Calibri;">Indexer</span></span></td>
<td valign="top" width="114"><span style="font-size: small;"><span style="font-family: Calibri;">FirmIDX02</span></span></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>If you used the actual hostname for each connection, any hardware failure or equipment replacement would require a reconfiguration of the services and a potential outage to the users when stopping and starting the services.  Instead, consider creating a virtual name, or variable, for the connection information:</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="121">
<p align="center"><strong>Role</strong></p>
</td>
<td valign="top" width="114">
<p align="center"><strong>Name</strong></p>
</td>
<td valign="top" width="114">
<p align="center"><strong>Virtual<br />
Name</strong></p>
</td>
</tr>
<tr>
<td valign="top" width="121">DMS</td>
<td valign="top" width="114">FirmDMS01</td>
<td valign="top" width="114">FirmDMS</td>
</tr>
<tr>
<td valign="top" width="121">DMS</td>
<td valign="top" width="114">FirmDMS02</td>
<td valign="top" width="114">FirmDMS</td>
</tr>
<tr>
<td valign="top" width="121">FileServer</td>
<td valign="top" width="114">FirmFS01</td>
<td valign="top" width="114">FirmFS</td>
</tr>
<tr>
<td valign="top" width="121">SQL</td>
<td valign="top" width="114">FirmSQL01</td>
<td valign="top" width="114">FirmSQL</td>
</tr>
<tr>
<td valign="top" width="121">Indexer</td>
<td valign="top" width="114">FirmIDX01</td>
<td valign="top" width="114">FirmIDX</td>
</tr>
<tr>
<td valign="top" width="121">Indexer</td>
<td valign="top" width="114">FirmIDX02</td>
<td valign="top" width="114">FirmIDX</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>This gets us half of the way there.  The rest of the work is done in DNS.  There are several types of DNS entries that can be created.  For the purposes of this post we will focus on two, A records and CNAME records.  An A record is something that matches a machine name with an IP address.  These are the most common records created in DNS and is what is created for every machine and server on a domain.  A CNAME record serves as an alias or shortcut to another machine.</p>
<p>Typically A records are used for the DMS as you&#8217;ll likely have multiple and want to reference them in some sort of Round Robin.  In the above example, you would create two A records, each called FirmDMS and point each record to a unique IP of a DMS.  CNAMEs come in handy when you have multiple machines that serve the same role.  In the above example, we have FirmIDX01 and FrimIDX02. Let&#8217;s say these servers are independant servers indexing side by side.  The DMS server points to an active indexer, but needs to be able to fail over to the other indexer should the need arise.  In this case, we create a CNAME called FirmIDX and point it to FirmIDX01 (the active node).</p>
<p>The third and most important element in this process is the Time to live (TTL) value for these records.  The TTL value determines how often a client machine will check in with DNS to see if the record has changed.  By default, the TLL for all entries is 1 day (24 hours).  If we don&#8217;t modify this value, that means that the server will cache the DNS entry for 24 hours before checking back in with DNS to see if there is a new value.  This timeframe is not acceptable when you need to fail something over and have it take effect immediately.</p>
<p>What the TTL should actually be is a matter of preference.  I often ask &#8220;How long do you want to wait before the servers pick up the new connection information in the event of an outage?&#8221;.  The value that I commonly recommend is one minute or less.  This means that when you change the value in DNS, the machines should pick it up one minute or less after it has been changed.  A common question I also get is &#8220;How do I change the TTL for just one or more DNS entries?&#8221;  This view is turned off by default in DNS.  If you select the &#8220;View&#8221; menu and check &#8220;Advanced&#8221;, you&#8217;ll be able to see and modify the TTL for each record.</p>
<p>With everything set properly, any changes to the hardware in the above scenario can be done in DNS, eliminating the need for an outage due to recycling the WorkSite Services.  Likewise, should an entire failover become necessary, this aleviates the complexity of managing multiple machines in a production and DR site by keeping the settings consistent. I hope this helps with your design!</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://worksitezen.com/blog/2011/11/04/using-dns-aliases-in-worksite/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
