Friday, January 20, 2012

“Agent and Operating System architecture are the same – Agent” error in SCOM

Hi

As the above error is quite simple to read. It is saying that “Agent and Operating System architecture are the same” but actually meaning of this that  the version of “SCOM Agent” insatlled on the machine is not same. For example you are running 32bit version of AGENT on 64bit Windows Machine.

Error

Agent  

Lets Check the agent.

I logged in to the server and i saw that “SCOM Agent” is installed in “C:\Program Files (x86)” directory. Which mean that our agent is 32 Bit.

Agent_1

Let check the version of windows.

The windows is 64bit.

Agent_2

Lets Un-Install the the Agent manually. Go to Control Panel, “Programs and features”, choose the “System Center Operations Manager R2 Agent” and right click on it and choose uninstall.

Agent_3

Agent “Un-installed”

Agent_4

“System Center Operations manger” directory is removed from “C:\Programs Files (x86)”

Agent_5

Now come back to “SCOM Console” and run the “Discovery Wizard” to install the SCOM agent on the Server.

Go to “administration” pane and right click anywhere and choose “Discovery Wizard”

Agent_6

Choose “Windows Computers”

Agent_7

I choose the “Advanced Discovery” and select “Server Only”

Agent_8

Now i choose to browse, i searched the computer and add it here. Click on NEXT

Agent_9

Provide you account which you want to use for search the server and for install agent in to it {it should be administrator account}. now click on “Discover”

Agent_10

It failed to Discover Server, Discovery failed.. Why????

Agent_11

If you want to re-discover the Server again. Make sure you deleted in “Agent Managed”, if the server name is still in the list then discovery wizard wont search it again.

Click on “Administration” pane and click on “Agent managed” and search for the server on which we just un-installed the agent.

Agent_12

Choose the server, right click on it and choose “Delete”

Agent_13

Click on “YES”

Agent_14

 

now lets run the “Discovery Wizard” again and hopefully this time we will be able to discover it again successfully

yes it discovered :)

Agent_15 .

Provide the the “Action account “ if needed. and click on FINISH.

Agent_16

Agent installation task started.

Agent_17

Task finished successfully.

Agent_18

lets login to server again and see if it is installed properly this time.

and you can see it installed on “C:\Program Files”. not in x86 folder.

All Sorted.

Agent_19

why this happens.

Because

if you see the Agent Directory in SCOM Installation media, it seems there is no agent for 64bit windows, so sometime users manually installed the i386 version of SCOM agent.

But  for 64 bit windows install the agent from AMD64 bit folder. :)

for ITANIUM bases servers installed the agent from : ia64 folder

for 32bit based servers install agent from : i386 folder

for 64bit Intel/AMD based servers install agent from : AMD64 folder

20-01-2012 16-01-44

Thanks

hope it helps someone :)

Aman Dhally

1 comment: