Thursday Sep 10, 2015

Updating the OCDoctor on a Managed System

There was a new feature introduced in version 4.38 of the OCDoctor script which has been causing some confusion, so I thought I'd explain it a bit.

Beginning with version 4.38, when you run the OCDoctor script with the --update option on a managed system, the OCDoctor script looks for a newer version on the Enterprise Controller, rather than using external download sites. In connected mode, the Enterprise Controller runs a recurring job to download the latest OCDoctor, which the managed systems can then reach.

This makes updates more feasible if you're in a dark site, and minimizes external connections in other sites. However, if you've downloaded the OCDoctor manually on the EC, you will need to place the OCDoctor zip file in the /var/opt/sun/xvm/images/os/others/ directory on the Enterprise Controller so that managed systems can download it.

Thursday Feb 05, 2015

Access Point counts in the OCDoctor

When you're trying to figure out questions of scaling in Ops Center, it's important to be able to tell exactly how much load the different parts of the infrastructure are handling. In Ops Center, the relevant number is the access point count. An access point is a connection between a Proxy Controller and a managed asset. We don't just count the number of assets directly because, if different parts of an asset are managed by different Proxy Controllers, that puts more load on the system.

There's a tool in the OCDoctor's toolbox directory that lets you count the access points in your environment. The script gives you the total number of access points managed by the Enterprise Controller, and gives additional information depending on which option you use:

  • The standard option shows the number of access points for each Proxy Controller - both the total and a detailed breakdown by asset category.
  • The machine option gives a list of the access points on each Proxy Controller in machine-readable format.
  • The agent option shows, for each Proxy Controller, how many assets are agent-managed, how many are agentless, and how many are SPs.

The Scaling and Performance Guide explains how to use the script. You can find it in the version 12.2.2 documentation library.

Thursday Apr 17, 2014

Using the OCDoctor through the UI

The OCDoctor utility is a tool that's bundled along with Ops Center, and which you can also download from It has a wide variety of functions - it can check a system to see if it meets Ops Center's installation prerequisites, troubleshoot and fix some common issues, check a system's connectivity, and update itself.

You can download the OCDoctor and run it on a system from the command line, but it's also possible to use the OCDoctor's troubleshooting functions on managed systems through the UI. To do this, you select the asset and click the Self Diagnosis action in the Actions pane:

This option launches a Self Diagnosis job, which uses the OCDoctor to check the system for known issues. Once the job is complete, you can click on Self Diagnosis again to see the results and, if issues are found, attempt to fix them using the OCDoctor.

Take a look at the OCDoctor chapter and the Self Diagnosis procedure for information about the OCDoctor's other features.

Thursday Dec 12, 2013

New OCDoctor released

There's a new version of the OCDoctor available - 4.26. It makes the connectivity check option a bit clearer, and checks for several new issues in troubleshooting.

You can get the new version at If you have an Ops Center installation in connected mode, an automated job will get the new version for you.

Thursday Feb 07, 2013

Agent Controller requirements

I got a question about the requirements for Agent Controller installation:

"The Certified Systems doc talks about the supported operating systems for Agents, but it doesn't say if specific packages or patches are required. Where can I find out if my OSes can support an agent?"

We figured that a tool to check a system for Agent compatibility would be easier to use than a list of required packages and patches. The OCDoctor, among other functions, can check a system to see if it meets the prereqs for an Agent, Proxy, or Enterprise Controller installation. To check a system, you can download the OCDoctor from, unpack it on the target system, and run it with the --agent-prereq option. This will tell you what (if anything) needs to be done so that the system can support an Agent.


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


« October 2015