AMD Logo AMD Developer Central
AMD Developer Blogs
AMD Developer Blogs - AMD High Performance Computing (HPC)
Decrease font size
Increase font size
September 10, 2007
  Event ID 2424

I decided I needed to rebuild my Windows cluster to test out some automation work I was doing. In rebuilding the nodes and configuring MOSS (Microsoft Office SharePoint Server 2007) I noticed that I was repeatedly getting the following error messages in the Event Log. The error would happen immediately after 'starting' the "Windows SharePoint Services Help Search" service under Central Admin -> Operations.

Event Type: Error
Event Source: Windows SharePoint Services 3 Search
Event Category: Gatherer
Event ID: 2424
Date: 9/7/2007
Time: 11:52:50 AM
User: N/A
Computer: HPC-Headnode
Description: The update cannot be started because the content sources cannot be accessed. Fix the errors and try the update again.


Context: Application 'Search', Catalog 'index file on the search server Search'


Oddly enough, while researching this further I discovered that I was also getting the following error:

Event Type: Error
Event Source: Office SharePoint Server 
Event Category: Launcher Service
Event ID: 6062
Date: 9/7/2007
Time: 11:43:10 AM
User: N/A
Computer: HPC-Headnode
Description: Found 2 valid IP addresses for this machine. Choosing this one: 172.204.98.255


After a lot of trial and error (and hair pulling) I finally realized that what was happening was that the my network configuration was busted.

My Headnode, which is also the server hosting MOSS Central Admin, and like all my HPC nodes, is dual-homed. Under the Advanced Settings section in network connections, I had this network configured as my default. However, the Public network has no knowledge of nor support for my cluster network. This means that there is no DNS or AD integration of my cluster network into the larger corporate network. Thus any attempt to connect to my SharePoint site on this network wtihout specifically knowing the IP of the public-facing NIC would fail.

So what was happening then was that MOSS was attempting to connect back to itself across the Public network interface to start the search process but was failing because a DNS lookup was failing.

To correct this I had to, first, completely uninstall MOSS (I didn't discover a way to get past the 6062 error apart from reinstalling. In my case, once I got that election error where MOSS chose the Public interface I didn't find a way to get it to re-choose the Private interface instead). 

Secondly. the key to my sucess though was to go to Advanced Settings for my network connections and under the connection area of the Adapters and Bindings tab, I changed the connection order so that the private network was the first one on the list.

Now, once I reinstalled MOSS I was getting the 6062 error again, but this time it was showing me the private interface and the Gatherer service was starting correctly and Search was finally working.



-------------------------
This response is provided for informational purposes only, is provided “AS IS” and does not obligate AMD to provide any of the services, technology, or programs described.

Edited: 09/10/2007 at 02:12 PM by john.mccrae-at-amddotcom

 Post a Comment    

    Posted By: john.mccrae at-amddotcom @ 09/10/2007 02:02 PM     AMD High Performance Computing (HPC)     Comments (1)  

September 4, 2007
  Event ID 10016
While installing and testing a couple of variations of SharePoint 2007 I doscovered that my services were not starting and running correctly. Upon further inspection of the event logs, I discovered that I was getting a DCOM error event isd 10016. The end result was that the service account I was using for my SharePoint installation lacked sufficient privileges to access the IIS WAMREG Admin Service.

To correct this I went to COM Services -> COM Config -> IIS WAMREG admin Service. Right click on it -> Properties -> Security -> Launch and Activation Permissions -> Edit. Then add your service account and give it permissions for both local and remote activation and launch.



-------------------------
This response is provided for informational purposes only, is provided “AS IS” and does not obligate AMD to provide any of the services, technology, or programs described.

 Post a Comment    

    Posted By: john.mccrae at-amddotcom @ 09/04/2007 05:00 PM     AMD High Performance Computing (HPC)     Comments (0)  

August 30, 2007
  Using the Process Class to call command-line utilities
Part of the reason for my experimentation with deployment techniques has to do with figuring out how to manage and deploy a cluster of Microsoft Office SharePoint Server 2007 servers. Since MOSS contains Excel Services, which are great for financial services scenarios, I want to be able to deploy and provision a large number of servers very quickly.

Using WDS (as noted in my other post) is REALLY fast for deploying a base server image. But what to do about SharePoint? Well, what I did in this case was simply start setup for MOSS on my base image without completing configuration. I then captured that back as my basic node image and am deploying that to my compute nodes now. But once these nodes are deployed you'll still need to finish configuration of MOSS on them. This cannot be done prior to deployment as the sysprep process removes all the needed account information.

So, there are steps to configuring MOSS on your cluster, post setup:

1) Join the nodes the MOSS farm
2) initialize the various services on the farm.

I was able to solve this problem with some scripting, sort of.

To join my nodes to the farm from the command line, I need to use the following command:

psconfig.exe -cmd configdb -connect -server databaseservername -database SharePoint_Config -user domain\user -password password

The username and password are those of the service account you specified when you went through setup on the first server.

Then once that command has run you'll need to run the following command to enumerate the services on the farm and start them up on each compute node.

psconfig.exe -cmd services -provision

I was able to get the individual nodes to execute both commands from a remote server in 2 ways:
1) Using the Job Scheduler, I queued up each command in turn on the nodes waited for them to execute before starting the second job. To make things easy for myself, when filling out the task section I used a UNC pointing back to a share on my head node. this way I didn't need to worry about pushing code to the compute nodes or reimaging them
2) Using these commands here, I wrote some CSHarp code in a Process Class to do the same thing and used psexec from Sysinternals to run thise code on the nodes as well.

Here's the code I used. As always, this is provided AS SAMPLE CODE ONLY and carries no warranties. Please code responsibly


using System;
using System.Diagnostics;
using System.ComponentModel;

namespace MyProcessSample
{

class MyProcess
{
// These are the Win32 error code for file not found or access denied.
const int ERROR_FILE_NOT_FOUND = 2;
const int ERROR_ACCESS_DENIED = 5;
const int ERROR_NETWORK_BUSY = 53;
const int ERROR_NETWORK_ACCESS_DENIED = 65;

void ClusterJoin()
{
Process myProcess = new Process();

try
{
myProcess.StartInfo.FileName = "C:\\program files\\common files\\microsoft shared\\web server extensions\\12\\bin\\psconfig.exe";
myProcess.StartInfo.Arguments = "-cmd configdb -connect -server hpc-admin -database SharePoint_Config -user hpc\\mosssvc -password !H0lyCr0ss";
myProcess.StartInfo.Verb = "Open";
myProcess.StartInfo.CreateNoWindow = true;
myProcess.Start();
}
catch (Win32Exception e)
{
if (e.NativeErrorCode == ERROR_FILE_NOT_FOUND)
{
Console.WriteLine(e.Message + ". Check the path.");
}

else if (e.NativeErrorCode == ERROR_ACCESS_DENIED)
{

Console.WriteLine(e.Message +
". You do not have permission to open this file.");
}
else if (e.NativeErrorCode == ERROR_NETWORK_BUSY)
{

Console.WriteLine(e.Message +
". The Network Is Busy or The Network Share Was Not Found!.");
}
else if (e.NativeErrorCode == ERROR_NETWORK_ACCESS_DENIED)
{

Console.WriteLine(e.Message +
". You do not have permission to open this file across the network.");
}
}
}


public static void Main()
{
MyProcess myProcess = new MyProcess();
myProcess.ClusterJoin();
}
}
}


I am interested to know how anyone else remotely executes code on a machine for which you have permissions over.
- John



-------------------------
This response is provided for informational purposes only, is provided “AS IS” and does not obligate AMD to provide any of the services, technology, or programs described.

Edited: 09/04/2007 at 05:23 PM by john.mccrae-at-amddotcom

 Post a Comment    

    Posted By: john.mccrae at-amddotcom @ 08/30/2007 05:30 PM     AMD High Performance Computing (HPC)     Comments (0)  

August 29, 2007
  Deploying Windows Compute Cluster Server
One of the huge challenges for deploying large numbers of any kind of server is how to actually do this. To help resolve the vagaries around deploying a large Windows based cluster, hands-free, I wrote the following whitepaper located here: http://technet2.microsoft.com/...e4c0bc06731a1033.mspx.. Please send me feedback!

Edit: Fixed broken URL.

-------------------------
This response is provided for informational purposes only, is provided “AS IS” and does not obligate AMD to provide any of the services, technology, or programs described.

Edited: 08/29/2007 at 11:19 PM by AMD Developer Blogs Moderator

 Post a Comment    

    Posted By: john.mccrae at-amddotcom @ 08/29/2007 05:19 PM     AMD High Performance Computing (HPC)     Comments (0)  

June 29, 2007
  Welcome to AMD High Performance Computing (HPC)
Hi everyone. I'm John McCrae. I work on the Microsoft team here at AMD. AMD is dedicated to providing its HPC customers (both Windows and Linux) with the tools they need to be successful with AMD hardware. This blog promises to be a combination of both Developer and IT-Professional content designed to help you maximize your investments in AMD-based HPC products and solutions. I will be posting solutions to common problems as I discover them but would love to get your comments and suggestions on topics you'd love to see posted here as well.

The first suggestion I can pass on is to check out the Hard-Core Software Optimizations blog for some great tips and tricks for writing effective, performant code.

-------------------------
This response is provided for informational purposes only, is provided “AS IS” and does not obligate AMD to provide any of the services, technology, or programs described.

 Post a Comment    

    Posted By: john.mccrae at-amddotcom @ 06/29/2007 05:06 PM     AMD High Performance Computing (HPC)     Comments (0)  

FuseTalk Hosting Executive Plan - © 1999-2009 FuseTalk Inc. All rights reserved.

Contact AMD | Terms and Conditions | Forum Rules | ©2009 Advanced Micro Devices, Inc. | Privacy | Trademark information