<?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>spstuff&#039;s blog</title>
	<atom:link href="http://vspug.com/spstuff/feed/" rel="self" type="application/rss+xml" />
	<link>http://vspug.com/spstuff</link>
	<description>Just another VSPUG - Virtual SharePoint User Group weblog</description>
	<lastBuildDate>Thu, 24 Jan 2008 20:14:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SharePoint Database Mirroring Script</title>
		<link>http://vspug.com/spstuff/2008/01/24/sharepoint-database-mirroring-script/</link>
		<comments>http://vspug.com/spstuff/2008/01/24/sharepoint-database-mirroring-script/#comments</comments>
		<pubDate>Thu, 24 Jan 2008 20:14:00 +0000</pubDate>
		<dc:creator>gmagerr</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hello all,
I&#39;ve been meaning to get around to posting this script for the
SharePoint community. I have a MOSS 2007 farm configured with two SQL
2005 database servers on the back end set up for mirroring. I decided
to play around with automating (as much as possible) the failing over
of all the MOSS 2007 databases. I went through [...]]]></description>
			<content:encoded><![CDATA[<p>Hello all,</p>
<p>I&#39;ve been meaning to get around to posting this script for the<br />
SharePoint community. I have a MOSS 2007 farm configured with two SQL<br />
2005 database servers on the back end set up for mirroring. I decided<br />
to play around with automating (as much as possible) the failing over<br />
of all the MOSS 2007 databases. I went through many iterations of the<br />
script below, and feel this is pretty close to being exactly what I<br />
intended. I&#39;m assuming you already have a SQL mirrored back end<br />
configured for your MOSS 2007 farm. There are a couple things to note<br />
here.
</p>
<ul>
<li>The script assumes stsadm in is in your environment variables path. Here&#39;s how you do it.<br /><a href="http://stevepietrekweblog.wordpress.com/2007/06/08/quick-access-to-stsadm-command/"><font color="#c50000">http://stevepietrekweblog.wordpress.com/2007/06/08/quick-access-to-stsadm-command/</font></a>
</li>
<li>The script is intended to failover all of the databases, and<br />
reconfigure SharePoint to use the new SQL server. It will not take into<br />
account one or two databases failing over. </li>
<li>It&#39;s designed to assist in the event of a catastrophic<br />
failure of the principal SQL server. It&#39;ll go from principal to mirror<br />
or mirror to principal. </li>
<li>You will need to modify the variables in the script to<br />
reflect your environment. (I left all of my information in there as a<br />
reference). </li>
<li>After the failover, you&#39;ll need to go to your MOSS 2007<br />
admin site, and for each content databases select a SharePoint services<br />
search server.</li>
</ul>
<p>Out of the box, there is no way to tell the failed over sites which server is the search server. fortunately Gary Lapointe has addressed this issue for us. Go to his site <a href="http://stsadm.blogspot.com/"><font color="#c50000">http://stsadm.blogspot.com/</font></a> and download his stsadm extension &quot;managecontentdbsettings&quot; this will allow you to point the site content databases to a search server. I have the extension installed on my server and it works great. I did not include the switch for setting the search server in the script as you may or may not want to install the extension.
</p>
<p>Another great script that is actually referenced in the SQL Failover Commands script is the warmupserver script. You&#39;ll have to install the scripts or remove the section in my script that references them. The line you would have to remove is after the IISRESET, it&#39;s simply called startup. </p>
<p>iisreset<br />PING 1.1.1.1 -n 1 -w 2000 &gt;NUL<br />ECHO.<br />startup <b>&lt;= remove this line if you don&#39;t want to install the warmupserver scripts</b></p>
<p>You can get it a Joel Olsen&#39;s site here <a href="http://blogs.msdn.com/joelo/archive/2006/08/13/697044.aspx" title="http://blogs.msdn.com/joelo/archive/2006/08/13/697044.aspx"><font color="#c50000">http://blogs.msdn.com/joelo/archive/2006/08/13/697044.aspx</font></a> All you need to do is extract then to the root of your C: drive of your MOSS server, modify startup.bat and warmupserver.cmd to reflect your environment, and your ready. Here&#39;s what mine look like.
</p>
<p>startup.bat </p>
<div style="border:1px solid gray;margin:20px 0px 10px;padding:4px;overflow:auto;font-size:8pt;width:97.5%;cursor:text;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;">
<div style="border-style:none;padding:0px;overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;">
<pre style="border-style:none;margin:0em;padding:0px;overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;background-color:white;">@echo off</pre>
<pre style="border-style:none;margin:0em;padding:0px;overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;">echo This script will:</pre>
<pre style="border-style:none;margin:0em;padding:0px;overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;background-color:white;">echo * run stsadm <span>to</span> warmup the admin interfaces</pre>
<pre style="border-style:none;margin:0em;padding:0px;overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;">echo * hit <span>each</span> page <span>in</span> the portal <span>to</span> force their JIT</pre>
<pre style="border-style:none;margin:0em;padding:0px;overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;background-color:white;">echo. </pre>
<pre style="border-style:none;margin:0em;padding:0px;overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;">echo.</pre>
<pre style="border-style:none;margin:0em;padding:0px;overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;background-color:white;">&nbsp;</pre>
<pre style="border-style:none;margin:0em;padding:0px;overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;"><span>call</span> WarmUpServer home.magerr.com</pre>
</div>
</div>
<p>warmupserver.cmd </p>
<div style="border:1px solid gray;margin:20px 0px 10px;padding:4px;overflow:auto;font-size:8pt;width:97.5%;cursor:text;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;">
<div style="border-style:none;padding:0px;overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;">
<pre style="border-style:none;margin:0em;padding:0px;overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;background-color:white;">@echo off</pre>
<pre style="border-style:none;margin:0em;padding:0px;overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;"><span>if</span> <span>&quot;%1&quot;</span>==<span>&quot;&quot;</span> echo. &amp; echo <span>ERROR</span>: Missing ServerName parameter. &amp; <span>goto</span> Usage </pre>
<pre style="border-style:none;margin:0em;padding:0px;overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;background-color:white;">&nbsp;</pre>
<pre style="border-style:none;margin:0em;padding:0px;overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;"><span>call</span> :HitPage %1 /Pages/<span>default</span>.aspx</pre>
<pre style="border-style:none;margin:0em;padding:0px;overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;"><span>call</span> :HitPage sp2007 /<span>default</span>.aspx</pre>
<pre style="border-style:none;margin:0em;padding:0px;overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;background-color:white;"><span>call</span> :HitPage ssphome /ssp/admin/<span>default</span>.aspx</pre>
<pre style="border-style:none;margin:0em;padding:0px;overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;"><span>goto</span> :EOF </pre>
<pre style="border-style:none;margin:0em;padding:0px;overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;background-color:white;">&nbsp;</pre>
<pre style="border-style:none;margin:0em;padding:0px;overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;">:HitPage</pre>
<pre style="border-style:none;margin:0em;padding:0px;overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;background-color:white;">echo Hitting http://%1%2 ...</pre>
<pre style="border-style:none;margin:0em;padding:0px;overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;">cscript HttpRequest.vbs <span>GET</span> http://%1%2 /q //nologo</pre>
<pre style="border-style:none;margin:0em;padding:0px;overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;background-color:white;"><span>goto</span> :EOF </pre>
<pre style="border-style:none;margin:0em;padding:0px;overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;">&nbsp;</pre>
<pre style="border-style:none;margin:0em;padding:0px;overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;background-color:white;">:Usage</pre>
<pre style="border-style:none;margin:0em;padding:0px;overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;">echo.</pre>
<pre style="border-style:none;margin:0em;padding:0px;overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;background-color:white;">echo Usage: WarmUpServer ServerName</pre>
<pre style="border-style:none;margin:0em;padding:0px;overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;">echo.</pre>
<pre style="border-style:none;margin:0em;padding:0px;overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;background-color:white;">echo Example: WarmUpServer server</pre>
<pre style="border-style:none;margin:0em;padding:0px;overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;">echo.</pre>
<pre style="border-style:none;margin:0em;padding:0px;overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,&#39;Courier New&#39;,courier,monospace;background-color:white;"><span>goto</span> :EOF </pre>
</div>
</div>
<p>The script that does all of the heavy lifting is called HttpRequest.vbs and is in the warmupserver.zip<br />I have two scheduled tasks running on my MOSS production server that fire the warmupserver script. One runs every two hours, and the other runs at system startup. I&#39;ve been using them in production for months now. These scripts make the farm fly!
</p>
<p>I&#39;ve actually had a couple of my MOSS databases failover to the mirrored SQL server. This pretty much makes the farm inaccessible for the users. I usually don&#39;t know about it unless I happen to check, or someone calls. That&#39;s just not acceptable. One of my next projects is to try to figure out a way to address one or two databases failing over. I&#39;d like to do it where no user intervention is necessary. Mike Watson has a great post on his site SharePoint Hosting and Development, that includes a nice SQL script to help get started. I think I&#39;m going to see what I can do using his suggestions.
</p>
<p><a href="http://blogs.msdn.com/mikewat/archive/2007/10/19/sharepoint-and-mirroring-taking-action-on-failovers.aspx"><font color="#c50000">http://blogs.msdn.com/mikewat/archive/2007/10/19/sharepoint-and-mirroring-taking-action-on-failovers.aspx</font></a>
</p>
<p>That&#39;s about it for this post
</p>
<p>Thanks.
</p>
<p>Here&#39;s the failover script. Copy it, save it as failover.cmd Enjoy <img src='http://vspug.com/spstuff/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>@ECHO OFF<br />Rem ===================================================================<br />Rem == This section needs to be modified to reflect your environment ==<br />Rem ===================================================================<br />&nbsp;<br />Rem sqlpri = Primary SQL Server<br />Rem sqlmir = Mirror SQL Server<br />Rem sspdb = SSP Database<br />Rem sspsite = SSP Admin Site<br />Rem ssptitle = SSP Title<br />Rem mossdb = Moss application Database <br />Rem mosssite = Moss URL<br />Rem mysitedb = MySite Database<br />Rem mysite = MySite URL<br />Rem idxsrv = Index Server<br />Rem idxloc = Index file location<br />Rem sspadm = SSP login acct&nbsp;&nbsp;&nbsp; <br />Rem ssppass = Password for ssp login<br />Rem domain = domain for sspadmin login&nbsp;&nbsp;&nbsp; </p>
<p>SET sqlpri=spsql1<br />SET sqlmir=spsql2<br />SET sspdb=WSS_Content_SSPHome<br />SET sspsite=http://ssphome.magerr.com/ssp/admin<br />SET ssptitle=SSP_HOME<br />SET mossdb=WSS_Content_home<br />SET mosssite=http://home.magerr.com<br />SET mysitedb=WSS_Content_MySite<br />SET mysite=http://mysite.magerr.com<br />SET idxsrv=sp2007<br />SET idxloc=&quot;C:Program FilesMicrosoft Office Servers12.0DataOffice ServerApplications&quot;<br />SET sspadm=spadmin<br />SET ssppass=p@ssw0rd<br />SET domain=magerr</p>
<p>Rem ===================================================================<br />Rem ==== You should not have to modify anything below this section ====<br />Rem ===================================================================</p>
<p>ECHO ******************************************************<br />ECHO.<br />ECHO ** SharePoint SQL Mirror Failover Script<br />ECHO.<br />ECHO ** Created July 1 2007<br />ECHO ** Gene Magerr<br />ECHO ** genemagerr@hotmail.com<br />ECHO ** Version 1.0 &#8211; July 8, 2007<br />ECHO ** Version 1.1 &#8211; July 15,2007 &#8211; Added -preparetomove.<br />ECHO ** Version 1.3 &#8211; January 20, 2007 &#8211; Added variables<br />ECHO **<br />ECHO ** You have a royalty-free right to use, modify, reproduce, and<br />ECHO ** distribute this script file in any way you find useful, provided that<br />ECHO ** you agree that the creator, owner above has no warranty, obligations,<br />ECHO ** or liability for such use.<br />ECHO.<br />ECHO ** This batch file will prepare and disconnect<br />ECHO ** all of the sharepoint sites content databases,<br />ECHO ** stop and restart all related services, point&nbsp; <br />ECHO ** SharePoint to the failed over database server,<br />ECHO ** and re attach the failed over content databases.<br />ECHO.<br />ECHO ******************************************************<br />ECHO.<br />ECHO Please choose a menu option.<br />ECHO.<br />ECHO 1. Use the Principal SQL Server &#8211; %sqlpri%<br />ECHO 2. Use the Mirrored Server &#8211; %sqlmir%<br />ECHO 3. Quit.<br />ECHO.<br />CHOICE /C:123 /N /T:180 /D:3 <br />ECHO.</p>
<p>IF ERRORLEVEL == 3 GOTO QUIT_MENU<br />IF ERRORLEVEL == 2 GOTO USE_MIRROR<br />IF ERRORLEVEL == 1 GOTO USE_PRIMARY</p>
<p>:USE_PRIMARY</p>
<p>ECHO.<br />ECHO Configuring %sqlpri% as Principal SQL Server. %sqlmir% will be the mirror.<br />stsadm -o renameserver -oldservername %sqlmir% -newservername %sqlpri%<br />PING 1.1.1.1 -n 1 -w 2000 &gt;NUL</p>
<p>ECHO Stopping and restarting key services<br />ECHO.<br />net stop oSearch<br />net stop SPAdmin<br />net stop SPTimerv3<br />net stop SPTrace<br />net start oSearch<br />net start SPAdmin<br />net start SPTimerv3<br />net start SPTrace<br />PING 1.1.1.1 -n 1 -w 2000 &gt;NUL</p>
<p>ECHO.<br />ECHO Preparing %mosssite% Content Database<br />stsadm -o preparetomove -contentdb %sqlpri%:%mossdb% -site %mosssite%</p>
<p>ECHO Removing content database for %mosssite%<br />stsadm -o deletecontentdb -url %mosssite% -databasename %mossdb% -databaseserver %sqlpri%<br />PING 1.1.1.1 -n 1 -w 2000 &gt;NUL</p>
<p>ECHO Preparing %mysite% Content Database<br />stsadm -o preparetomove -contentdb %sqlpri%:%mysitedb% -site %mysite%</p>
<p>ECHO Removing content database for %mysite%<br />stsadm -o deletecontentdb -url %mysite% -databasename %mysitedb% -databaseserver %sqlpri%<br />PING 1.1.1.1 -n 1 -w 2000 &gt;NUL</p>
<p>ECHO Preparing %sspsite% Content Database<br />stsadm -o preparetomove -contentdb %sqlpri%:%sspdb% -site %sspsite%</p>
<p>ECHO Removing content database for %sspsite%<br />stsadm -o deletecontentdb -url %sspsite% -databasename %sspdb% -databaseserver %sqlpri%</p>
<p>ECHO Stopping and restarting key services<br />ECHO.<br />net stop oSearch<br />net stop SPAdmin<br />net stop SPTimerv3<br />net stop SPTrace<br />net start oSearch<br />net start SPAdmin<br />net start SPTimerv3<br />net start SPTrace<br />PING 1.1.1.1 -n 1 -w 2000 &gt;NUL</p>
<p>ECHO.<br />ECHO Adding content database for %mosssite%<br />stsadm -o addcontentdb -url %mosssite% -databasename %mossdb% -databaseserver %sqlpri%<br />PING 1.1.1.1 -n 1 -w 2000 &gt;NUL</p>
<p>ECHO Adding content database for %mysite%<br />stsadm -o addcontentdb -url %mysite% -databasename %mysitedb% -databaseserver %sqlpri%<br />PING 1.1.1.1 -n 1 -w 2000 &gt;NUL</p>
<p>ECHO Adding content database for %sspsite%<br />stsadm -o addcontentdb -url %sspsite% -databasename %sspdb% -databaseserver %sqlpri%<br />PING 1.1.1.1 -n 1 -w 2000 &gt;NUL</p>
<p>ECHO Reconfiguring Search<br />stsadm -o osearch -action stop -f<br />PING 1.1.1.1 -n 1 -w 2000 &gt;NUL<br />stsadm -o osearch -action start -role IndexQuery<br />PING 1.1.1.1 -n 1 -w 2000 &gt;NUL</p>
<p>ECHO Reconfiguring SSP and Index<br />ECHO.<br />stsadm -o editssp -title %ssptitle% -sspadminsite %sspsite% -ssplogin %domain%\%sspadm% -ssppassword %ssppass% -indexserver %idxsrv% -indexlocation %idxloc% <br />PING 1.1.1.1 -n 1 -w 2000 &gt;NUL </p>
<p>ECHO Stopping and Restarting IIS<br />ECHO.<br />cd<br />iisreset<br />PING 1.1.1.1 -n 1 -w 2000 &gt;NUL<br />ECHO.<br />startup</p>
<p>GOTO QUIT_MENU</p>
<p>:USE_MIRROR</p>
<p>ECHO.<br />ECHO Configuring %sqlmir% as Principal SQL Server. %sqlpri% will be the mirror.<br />stsadm -o renameserver -oldservername %sqlpri% -newservername %sqlmir%<br />PING 1.1.1.1 -n 1 -w 2000 &gt;NUL</p>
<p>ECHO Stopping and restarting key services<br />ECHO.<br />net stop oSearch<br />net stop SPAdmin<br />net stop SPTimerv3<br />net stop SPTrace<br />net start oSearch<br />net start SPAdmin<br />net start SPTimerv3<br />net start SPTrace<br />PING 1.1.1.1 -n 1 -w 2000 &gt;NUL</p>
<p>ECHO.<br />ECHO Preparing %mosssite% Content Database<br />stsadm -o preparetomove -contentdb %sqlmir%:%mossdb% -site %mosssite%</p>
<p>ECHO Removing content database for %mosssite%<br />stsadm -o deletecontentdb -url %mosssite% -databasename %mossdb% -databaseserver %sqlmir%<br />PING 1.1.1.1 -n 1 -w 2000 &gt;NUL</p>
<p>ECHO Preparing %mysite% Content Database<br />stsadm -o preparetomove -contentdb %sqlmir%:%mysitedb% -site %mysite%</p>
<p>ECHO Removing content database for %mysite%<br />stsadm -o deletecontentdb -url %mysite% -databasename %mysitedb% -databaseserver %sqlmir%<br />PING 1.1.1.1 -n 1 -w 2000 &gt;NUL</p>
<p>ECHO Preparing %sspsite% Content Database<br />stsadm -o preparetomove -contentdb %sqlmir%:%sspdb% -site %sspsite%</p>
<p>ECHO Removing content database for %sspsite%<br />stsadm -o deletecontentdb -url %sspsite% -databasename %sspdb% -databaseserver %sqlmir%</p>
<p>ECHO Stopping and restarting key services<br />ECHO.<br />net stop oSearch<br />net stop SPAdmin<br />net stop SPTimerv3<br />net stop SPTrace<br />net start oSearch<br />net start SPAdmin<br />net start SPTimerv3<br />net start SPTrace<br />PING 1.1.1.1 -n 1 -w 2000 &gt;NUL</p>
<p>ECHO.<br />ECHO Adding content database for %mosssite%<br />stsadm -o addcontentdb -url %mosssite% -databasename %mossdb% -databaseserver %sqlmir%<br />PING 1.1.1.1 -n 1 -w 2000 &gt;NUL</p>
<p>ECHO Adding content database for %mysite%<br />stsadm -o addcontentdb -url %mysite% -databasename %mysitedb% -databaseserver %sqlmir%<br />PING 1.1.1.1 -n 1 -w 2000 &gt;NUL</p>
<p>ECHO Adding content database for %sspsite%<br />stsadm -o addcontentdb -url %sspsite% -databasename %sspdb% -databaseserver %sqlmir%<br />PING 1.1.1.1 -n 1 -w 2000 &gt;NUL</p>
<p>ECHO Reconfiguring Search<br />stsadm -o osearch -action stop -f<br />PING 1.1.1.1 -n 1 -w 2000 &gt;NUL<br />stsadm -o osearch -action start -role IndexQuery<br />PING 1.1.1.1 -n 1 -w 2000 &gt;NUL</p>
<p>ECHO Reconfiguring SSP and Index<br />ECHO.<br />stsadm -o editssp -title %ssptitle% -sspadminsite %sspsite% -ssplogin %domain%\%sspadm% -ssppassword %ssppass% -indexserver sp2007 -indexlocation %idxloc%<br />PING 1.1.1.1 -n 1 -w 2000 &gt;NUL </p>
<p>ECHO Stopping and Restarting IIS<br />ECHO.<br />cd<br />iisreset<br />PING 1.1.1.1 -n 1 -w 2000 &gt;NUL<br />ECHO.<br />startup</p>
<p>:QUIT_MENU</p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/spstuff/2008/01/24/sharepoint-database-mirroring-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Stuff</title>
		<link>http://vspug.com/spstuff/2007/05/31/new-stuff/</link>
		<comments>http://vspug.com/spstuff/2007/05/31/new-stuff/#comments</comments>
		<pubDate>Thu, 31 May 2007 20:42:00 +0000</pubDate>
		<dc:creator>gmagerr</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[It&#39;s been quite awhile since I posted anything. I just started a new position, and I&#39;m pretty sure I&#39;m going to be heading up their SharePoint 2003 to 2007 migration. I&#39;ve been doing a lot of research and reading as much as I can. For the most part, I&#39;m using the &#34;Office SharePoint Server 2007 [...]]]></description>
			<content:encoded><![CDATA[<p>It&#39;s been quite awhile since I posted anything. I just started a new position, and I&#39;m pretty sure I&#39;m going to be heading up their SharePoint 2003 to 2007 migration. I&#39;ve been doing a lot of research and reading as much as I can. For the most part, I&#39;m using the <a title="&quot;Office SharePoint Server 2007 Administrator&#39;s Companion&quot;" href="http://www.microsoft.com/MSPress/books/9537.aspx" target="_blank">&quot;Office SharePoint Server 2007 Administrator&#39;s Companion&quot;</a> By Bill English. Bill also wrote the <a title="&quot;SharePoint Products and Technologies Resource Kit&quot;" href="http://www.microsoft.com/mspress/books/6454.aspx" target="_blank">&quot;SharePoint Products and Technologies Resource Kit&quot;</a> Which&nbsp;I&#39;ve refered to quite a lot in regards to the 2003 portal I set up at my previous job. <a title="Bill English" href="http://mindsharp.com/Default.aspx?top=ABOUT%20US&amp;left=BILL%20ENGLISH_(OWNER)">Bill English</a>. I&#39;ve been&nbsp;quite confused in regards to creating the Service Accounts used to setup SharePoint 2007 (MOSS 2007), so I&#39;ve&nbsp;decided to set up a few VM&#39;s, install SQL 2005, a Domain Controller and a SharePoint 2007 portal server. I&#39;ll document the process from beginning to end, and hopefully it will help someone else obtain a better understanding of the process. By all means, comment on the article, make suggestions, post your experiences, etc. I&#39;d like it to be a living article that changes with our collective experiences. In addition, I&#39;d like to create several scenerios. Single server install, Small, Medium and Large farm installs as well. With that said, I will begin setting up my initial environment.&nbsp;<img src="/aggbug.aspx?PostID=28190" width="1" height="1" alt="  " /></p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/spstuff/2007/05/31/new-stuff/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I do everything in a virtual machine first</title>
		<link>http://vspug.com/spstuff/2006/06/13/i-do-everything-in-a-virtual-machine-first/</link>
		<comments>http://vspug.com/spstuff/2006/06/13/i-do-everything-in-a-virtual-machine-first/#comments</comments>
		<pubDate>Tue, 13 Jun 2006 17:36:00 +0000</pubDate>
		<dc:creator>gmagerr</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[SharePoint is pretty easy to break if you start messing around with IIS, Visual Studio and FrontPage. I installed Virtual PC on my computer, Created a new VM, Installed Windows 2003 Server, Created a domain (vsnet.com) Installed All of the software updates, Installed SQL 2000 with all the service packs, Installed Office 2003 with all [...]]]></description>
			<content:encoded><![CDATA[<p><font face="Arial">SharePoint is pretty easy to break if you start messing around with IIS, Visual Studio and FrontPage. I installed Virtual PC on my computer, Created a new VM, Installed Windows 2003 Server, Created a domain (vsnet.com) Installed All of the software updates, Installed SQL 2000 with all the service packs, Installed Office 2003 with all the Service Packs, Installed Visual Studio 2003, FrontPage 2003 and Finally SharePoint Portal Server 2003 with all the Service Packs and HotFixes. I enabled undo disks on the Virtual Machine, Saved it and made a copy to an external HD. Next I did a backup of one of the teamsites on our production portal, copied it to the Virtual Machine (through shared folders on the VM) and restored the site to my virtual domain. Now I can play around with FrontPage, creating WebParts and whatever else I want to try without worrying about breaking the production server.</font><img src="/aggbug.aspx?PostID=8345" width="1" height="1" alt="  " /></p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/spstuff/2006/06/13/i-do-everything-in-a-virtual-machine-first/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Welcome</title>
		<link>http://vspug.com/spstuff/2006/06/13/welcome/</link>
		<comments>http://vspug.com/spstuff/2006/06/13/welcome/#comments</comments>
		<pubDate>Tue, 13 Jun 2006 17:35:00 +0000</pubDate>
		<dc:creator>gmagerr</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[Thanks for stopping by. My name is Gene, I work as a network admin for a large company. Recently I was given the task of implementing SharePoint. I have stumbled my way through many tasks and have learned a lot. I will be posting my experiences as a SharePoint admin. I&#39;ll post things such as [...]]]></description>
			<content:encoded><![CDATA[<p><font face="Arial">Thanks for stopping by. My name is Gene, I work as a network admin for a large company. Recently I was given the task of implementing SharePoint. I have stumbled my way through many tasks and have learned a lot. I will be posting my experiences as a SharePoint admin. I&#39;ll post things such as scripts I use to do backups, Site migrations, Issues I run into and resolutions I find or come up with, and links. Feel free to share your SharePoint experiences with other users here as well.</font><img src="/aggbug.aspx?PostID=8343" width="1" height="1" alt="  " /></p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/spstuff/2006/06/13/welcome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
