1834156 Members
2879 Online
110064 Solutions
New Discussion

System Startup

 
SOLVED
Go to solution
Pete Randall
Outstanding Contributor

System Startup


Why is opcagt started during startup when
the config file says the default is no and I
don't even have
OpC/ITO/whateverit'scalledthisweek?
This happens in both 11.0 and 11i.

Pete

Pete
28 REPLIES 28
Sajid_1
Honored Contributor

Re: System Startup

Hello,

You can check two files:
/etc/rc.config.d/opcagt - edit and make sure you disabled all processes.
/sbin/init.d/opcagt - move or rename this if not needed.
learn unix ..
Pete Randall
Outstanding Contributor

Re: System Startup

Sajid,

Trust me, I've checked them. The comments in the config file say the default is no, yet the parameter is set to 1 (yes). I'm wondering why there is this discrepancy and whether there is any harm in turning it off.

Pete

Pete
Ceesjan van Hattum
Esteemed Contributor

Re: System Startup

Does the start-script has the line: . /etc/rc.config ?

The /etc/rc.config reads all /etc/rc.config.d/ for all the variables.. is the variable 'no' or '0'.... you say 'no', but it should be 0.

Look at this example:
VAR=no
if [ $VAR ]
then print Starting
else print No-start
fi

The result is: 'Starting', although $VAR equals 'no'.
Solution: VAR=0

If this isn't the case, please tell us.

Regards,
Ceesjan
Hai Nguyen_1
Honored Contributor

Re: System Startup

Pete,

HP built me a new rp5450 and a new rp7400. By default, the OpC is on. Since my systems have nothing to do with OpenView, I turned them off. I noticed that it did no harm to the system but it takes lots of time to initialize at bootup.

Hai
Pete Randall
Outstanding Contributor

Re: System Startup

Ceesjan,

The variable is set to 1 - my question is why? and what am I going to mess up by setting it to 0.

Hai,

That's what I was looking for - it sounds like I can turn it off with no ill effects. I'm going to hold up on your points for a bit, but you'll get them, don't worry.

Pete

Pete
Ceesjan van Hattum
Esteemed Contributor

Re: System Startup

Likely, you have some other OpenView modules installed:
1. Omniback (omni)
2. Perfview (pv)
3. Measureware (mwa)
4. IT/O agent (opcagt)
5. Openview (ov300|ov500)
These modules are related to each other. Even a simple Glance (like Perview) belongs to the package.
If you will shutdown opcagt, the parts 4,5 will not work. If you have installed Measureware later, it can trigger the start of the related module IT/O.
Omniback and Perfview will work just fine without opcagt.
Assuming you do not use ITO intensivly, just turn opcagt off.

Regards,
Ceesjan
Kelli Ward
Trusted Contributor

Re: System Startup

Hi Pete,

Just curious, is opcagt being on causing an issue with your system or performance?
Or is this more of a curiousity issue?

If it's curiousity, I'd be more inclined to just leave it on until it can be researched rather than risk possible problems.

Kel
(I'm curious tho' so I'll research a bit myself, time permitting.)
The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!
Pete Randall
Outstanding Contributor

Re: System Startup

Ceesjan,

Thanks, that's what I was looking for. I've got GlancePlus and Omniback and didn't want to mess up any of the other OpenView stuff trying to get rid of the opcagt.

Bunnies are forthcoming.

Pete

Pete
Pete Randall
Outstanding Contributor

Re: System Startup

Kelli,

It's a curiosity that's been bugging me for better than a year - I'm leaving it on while I'm doing this research. Stay tuned.

Pete

Pete
Martin Johnson
Honored Contributor

Re: System Startup

Pete,

I am curious. What do you get when you type "/opt/OV/bin/OpC/opctemplate"?

Are you using ITO?

Marty
Pete Randall
Outstanding Contributor

Re: System Startup

Marty,

"and I
don't even have
OpC/ITO/whateverit'scalledthisweek?"

so what I get when I type that in is "not found"

Pete

Pete
Martin Johnson
Honored Contributor

Re: System Startup

You can turn it off. The agent isn't doing anything and you are just wasting time during startup.

Marty
Pete Randall
Outstanding Contributor

Re: System Startup

Marty,

My sentiments exactly.

Pete

Pete
Martin Johnson
Honored Contributor

Re: System Startup

Curious: What kind of messages are you getting in /etc/rc.log?

Marty
Pete Randall
Outstanding Contributor

Re: System Startup

Marty,

Starting OpC agent processes (opcagt).
Output from "/sbin/rc3.d/S941opcagt start":
----------------------------
OpC Agent processes successfully started.

Pete

Pete
Martin Johnson
Honored Contributor

Re: System Startup

Hmmm. I would have thought you would get an error message since ITO is not installed. Does "ps -ef | grep opc" give anything?

Marty
Pete Randall
Outstanding Contributor

Re: System Startup

Marty,

psg opc
root 2085 2070 0 Aug 5 ? 4:09 opcmsga
root 2070 1 0 Aug 5 ? 0:19 opcctla -start
root 2088 2070 0 Aug 5 ? 7:22 opcle
root 2090 2070 0 Aug 5 ? 0:02 opcmsgi
root 2086 2070 0 Aug 5 ? 1:54 opcacta
root 2092 2070 0 Aug 5 ? 0:00 opcuisrv
root 2089 2070 0 Aug 5 ? 4:12 opcmona

It's obviously starting some stuff.

Pete

Pete
Deshpande Prashant
Honored Contributor

Re: System Startup

Hi Pete
On my systems also by defauls it was on and alway runing. Since we do not use OV here, I turned it of. set "OPCAGT=0"
in /etc/rc.config.d/opcagt file.
If you do not care of using openview agents to comminucate to ITO or any other monitoring software, you may turn it off.

Thanks.
Prashant.
Take it as it comes.
Pete Randall
Outstanding Contributor

Re: System Startup

Marty,

And, before you ask, swlist shows:

swlist -l product |grep -i opc
OVOPC-AGT A.04.17 IT/Operations Agent
OVOPC-SE A.04.17 IT/Operations Special Edition Product
OVOPC-SE-DOC A.04.17 IT/Operations Special Edition Documentati
on
OVOPC-SE-GUI A.04.17 IT/Operations Special Edition Java UI


Pete

Pete
Pete Randall
Outstanding Contributor

Re: System Startup

Prashant,

Thanks. I think that's what I'm going to end up doing. I was just curious why any OpC stuff gets installed/configured/run when it appears it shouldn't. I'm holding back on bunny points until I'm reasonably positive - but they're coming.

Pete

Pete
Martin Johnson
Honored Contributor

Re: System Startup

If you don't have a management server for it to talk to, the agent is just wasting resources.

It looks like ITO was installed on this system sometime in the past (or it was cloned from as system with ITO on it).

Do "swlist -l product | grep IT/Operations" to verify it is installed. Use swremove to deinstall.

HTH
Marty
Pete Randall
Outstanding Contributor

Re: System Startup

Marty,

If it was just one server, I might agree with your theory that it was on there sometime in the past. It's on all my servers, including the new 11i L class that I just built. It's part of the default install though it seems to me that it should not be.

Pete

Pete
Martin Johnson
Honored Contributor

Re: System Startup

It doesn't make sense.

ITO v4 is outdated. The current version is v7. Why would the ITO agent be installed when there is no management server for it to talk to????


Marty
Pete Randall
Outstanding Contributor

Re: System Startup

Marty,

That was an older server. The new 11i L shows:
swlist -l product |grep -i opc
OVOPC-AGT A.05.57 IT/Operations Agent
OVOPC-DFLT A.05.57 IT/Operations Special Edition Default Ins
trumentation
OVOPC-SE A.05.57 IT/Operations Special Edition Product
OVOPC-SE-DOC A.05.57 IT/Operations Special Edition Documentati
on
OVOPC-SE-GUI A.05.57 IT/Operations Special Edition Java UI

Pete

Pete