<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>IIS7 - Web Farms</title><link>http://forums.iis.net/1048.aspx</link><description>Forum to discuss running IIS 7 in a web farm environment</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Sharing / writing IIS Log files on SAN?</title><link>http://forums.iis.net/thread/1902939.aspx</link><pubDate>Wed, 06 May 2009 23:20:46 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1902939</guid><dc:creator>2revup</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1902939.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1048&amp;PostID=1902939</wfw:commentRss><description>&lt;p&gt;Good to hear that the soloution has also helped someone else. And even better you have read my Blog&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Brad&lt;/p&gt;</description></item><item><title>Re: Sharing / writing IIS Log files on SAN?</title><link>http://forums.iis.net/thread/1902935.aspx</link><pubDate>Wed, 06 May 2009 23:06:02 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1902935</guid><dc:creator>mbaocha</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1902935.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1048&amp;PostID=1902935</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;|I quite appreciate the solution. It was the easiest way to go about it. I read your blog as well. It was cool.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;____________________________&lt;br /&gt;

&lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;a href="http://www.rnetwebhosting.com/"&gt;Cheap Affordable
Web Hosting&lt;/a&gt; | &lt;a href="http://www.rnetwebhosting.com/"&gt;Windows Linux PHP
ASPX MYSQL Website Hosting&lt;/a&gt; | &lt;a href="http://www.rnetwebhosting.com/web-design/"&gt;Best Web Design &lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;amp; Development Company&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Sharing / writing IIS Log files on SAN?</title><link>http://forums.iis.net/thread/1891246.aspx</link><pubDate>Tue, 27 Jan 2009 21:24:05 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1891246</guid><dc:creator>2revup</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1891246.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1048&amp;PostID=1891246</wfw:commentRss><description>&lt;p&gt;Hi there thanks for that, I also thought of this and recently scripted it just as you have described and blogged about it.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bradmarsh.net/index.php/2009/01/15/iis7-logging-in-central-location-for-web-farms/"&gt;http://bradmarsh.net/index.php/2009/01/15/iis7-logging-in-central-location-for-web-farms/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Sharing / writing IIS Log files on SAN?</title><link>http://forums.iis.net/thread/1891241.aspx</link><pubDate>Tue, 27 Jan 2009 21:12:23 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1891241</guid><dc:creator>ServerIntellect_BH</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1891241.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1048&amp;PostID=1891241</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The easiest thing to do to get 2 NLB servers to save their log files to the same directory, uniquely named by the server name, would be to schedule a batch script to run on each web server on a nightly basis to copy the log files to the destination folder, appending the source server name or other identifier to the log filename.&lt;/p&gt;
&lt;p&gt;Essentially, the script below copies domain.com&amp;#39;s log files to the T:\ drive in it&amp;#39;s own folder, and appends _serverA to the extension of the target file. Run the script on each web server, replacing the &amp;quot;_serverA&amp;quot; with the actual server&amp;#39;s name to prevent them writing to the same files.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;XCOPY &amp;quot;C:\Inetpub\wwwroot\domain.com\logs\W3SVCXXXX\*.log&amp;quot; &amp;quot;T:\domain.com\*.LOG_serverA&amp;quot; /D /Y&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Hope this helps!&lt;/p&gt;</description></item><item><title>Re: Sharing / writing IIS Log files on SAN?</title><link>http://forums.iis.net/thread/1889915.aspx</link><pubDate>Wed, 14 Jan 2009 02:40:22 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1889915</guid><dc:creator>2revup</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1889915.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1048&amp;PostID=1889915</wfw:commentRss><description>&lt;p&gt;yeah thats what I was afriad of, no matter I will just get them to log into thier local systems and then script something to move them all and add a prefix.&lt;/p&gt;
&lt;p&gt;Thanks for your help&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Sharing / writing IIS Log files on SAN?</title><link>http://forums.iis.net/thread/1889914.aspx</link><pubDate>Wed, 14 Jan 2009 02:38:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1889914</guid><dc:creator>Rovastar</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1889914.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1048&amp;PostID=1889914</wfw:commentRss><description>&lt;p&gt;Sorry I said that completely wrong you cannot change the names of the files I was thinking about the path directly above it. You will have to rename the files manually /scripts/ etc. Batch them daily is the simplest way. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Sharing / writing IIS Log files on SAN?</title><link>http://forums.iis.net/thread/1889913.aspx</link><pubDate>Wed, 14 Jan 2009 02:10:16 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1889913</guid><dc:creator>2revup</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1889913.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1048&amp;PostID=1889913</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/iis/images/icon-quote.gif"&gt; &lt;strong&gt;Rovastar:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;Oh well.&lt;/p&gt;
&lt;p&gt;You can call the log files whatever you want so rename them to server1_xxxx like you suggested before.&lt;/p&gt;
&lt;p&gt;Or better still think about writing to them via logparser to database every night. It will make your life some much easier.&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp; 
&lt;p&gt;Where is this on IIS I cant see this, as IIS needs to handle this as the HTTP.sys will not log 2 of the same name. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;I would love to put in log paraser, but the stats app once again will not allow this (cant be read from a SQL database)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Sharing / writing IIS Log files on SAN?</title><link>http://forums.iis.net/thread/1889911.aspx</link><pubDate>Wed, 14 Jan 2009 01:50:02 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1889911</guid><dc:creator>Rovastar</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1889911.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1048&amp;PostID=1889911</wfw:commentRss><description>&lt;p&gt;Oh well.&lt;/p&gt;&lt;p&gt;You can call the log files whatever you want so rename them to server1_xxxx like you suggested before.&lt;/p&gt;&lt;p&gt;Or better still think about writing to them via logparser to database every night. It will make your life some much easier.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Sharing / writing IIS Log files on SAN?</title><link>http://forums.iis.net/thread/1889904.aspx</link><pubDate>Wed, 14 Jan 2009 01:09:36 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1889904</guid><dc:creator>2revup</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1889904.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1048&amp;PostID=1889904</wfw:commentRss><description>&lt;p&gt;becase our stats app only will look in one dir, not 2... &lt;/p&gt;
&lt;p&gt;So they must be in one&lt;/p&gt;
&lt;p&gt;:(&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Sharing / writing IIS Log files on SAN?</title><link>http://forums.iis.net/thread/1889903.aspx</link><pubDate>Wed, 14 Jan 2009 01:05:01 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1889903</guid><dc:creator>Rovastar</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1889903.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1048&amp;PostID=1889903</wfw:commentRss><description>&lt;p&gt;Why not put them in seperate directories?&lt;/p&gt;&lt;p&gt;Logs/Server1/&lt;/p&gt;&lt;p&gt;Logs/Server2/&lt;/p&gt;&lt;p&gt;etc &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Sharing / writing IIS Log files on SAN?</title><link>http://forums.iis.net/thread/1889899.aspx</link><pubDate>Tue, 13 Jan 2009 23:29:05 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1889899</guid><dc:creator>2revup</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1889899.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1048&amp;PostID=1889899</wfw:commentRss><description>&lt;p&gt;HI all, we have started the testing phase for our web farm, while we have load balance servers and everything is working brillantly, we have the need to place all log files into one location on our SAN. &lt;/p&gt;
&lt;p&gt;So we have created a share and provieded the UNC on the log file location with IIS, this seems to be working in terms of writing to the directory which is great, but I can only see one server log anything. I am thinking because it is using the same file name and the log file is considered open the other server is also unable to open and write to it?&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;If this is the case is there a way around this, or could I have each server append a prefix at the start or finish of the log file for example:&lt;/p&gt;
&lt;p&gt;orginal log file name : u_ex090114&lt;/p&gt;
&lt;p&gt;prefix log file : Server1_u_ex090114&lt;/p&gt;
&lt;p&gt;Any help here would be greatly appreciated. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>