Checking an Agent's status

Sometimes, through network or configuration problems, you can end up with an OS where you're not sure if it has a properly configured Agent. There are a few simple things you can do to see if an asset has an Agent, and if it does, to see if it's correctly configured to talk to a Proxy Controller.

One way to check is to look for the "scn-agent" SMF service. If it exists, there's an Agent on the system that has been configured. If the service is disabled, the agent isn't running, but it has been installed and configured.

# svcs scn-agent
STATE          STIME    FMRI
online         Aug_14   svc:/application/management/common-agent-container-1:scn-agent 

 Another way is to run "sc-console list-connections". If the Agent is configured, this will show you the connection to the Proxy Controller.

# sc-console list-connections
scn-agenthttps://10.163.209.70:21165  urn:scn:clregid:<string>

 Another way is to run the OCDoctor utility with the --troubleshoot flag, which will let you know if there's an issue with the Agent.

# ./OCDoctor.sh --troubleshoot
Ops Center Doctor 4.10  [OC 12.1.1.2076,SunOS11]
OCDoctor: =============== Checking agent... ===============
OCDoctor: OK: Agent requirements are met
OCDoctor: OK: Patch 121431-54 is installed
<output omitted>

Any one of these tools can help you get a better idea of what a particular Agent is doing, and whether or not it's configured properly.

Comments:

I'm getting the error while trying to start the service.

# svcs scn-agent
STATE STIME FMRI
maintenance 12:25:08 svc:/application/management/common-agent-container-1:scn-agent

Started the service

./agentadm start
agentadm: Version 12.1.2.2162 launched with args: start

Validating step : workarounds start
Validating step : db start
Validating step : sc_console start
Validating step : setup_hmp start
Validating step : scn_agent start
scn_agent Common Agent Container environment is OK
Validating step : setup_net start
skipping setup_net step for VC.
Validating step : uce_agent start
Validating step : config_sysconfig start
Validating step : final start
End of validation

executing step : workarounds

executing step : db

executing step : sc_console

executing step : setup_hmp
hwmgmtd service does not exist on this system

executing step : scn_agent
scn_agent Common Agent Container environment is OK
Starting scn-agent instance.
Error when trying to start SMF service: [svc:/application/management/common-agent-container-1:scn-agent].
Waiting for instance scn-agent to be up.

then i executed the below command all output were OK except

# ./OCDoctor.sh --troubleshoot

ERROR: Ops Center Agent is not running.
WARNING: pkg_seeker.sh did not find vtree.xml - maybe content was not downloaded yet?
WARNING: Agent uce_agent.sh is not running
WARNING: Agent uce_agent.bin is not running
WARNING: Agent cacao is not running
WARNING: Found that LD_LIBRARY_PATH is set to: /usr/openwin/lib
ERROR: Did not find /var/scn/update-agent/bin/.uce.rc, consider finding a backup file in this folder

Posted by Bharat Lal Gupta on April 04, 2013 at 01:07 AM MDT #

Bharat Lal Gupta,

That isn't an error that I've seen before. I'd recommend raising the issue with Oracle Support; they ought to be able to help better than I can in the blog comments here.

Posted by Owen on April 11, 2013 at 08:03 AM MDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

This blog discusses issues encountered in Ops Center and highlights the ways in which the documentation can help you

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
5
6
7
8
9
11
12
13
14
15
16
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today