Server Management - Systems Insight Manager
cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure the "Server role" variable in Linux

Mikael Rönnbäck
Super Advisor

How to configure the "Server role" variable in Linux

I'm looking for any additional information on how to set the "Server role" variable in Linux. In Windows it is set via the SMH (and saved in registry). I have no clue how to set this in Linux, so I checked the HP insight management agents whitepaper on hp.com. It just states that

"Server Role — Displays the description of the system’s role or function. You can also set the Server Role text on
multiple devices by creating a Group Configuration Task in HP Systems Insight Manager. To learn more about
how to set the server role refer to the HP Systems Insight Manager Technical Reference Guide."

So I turned to the sysbook.pdf (a.k.a. HP Systems Insight Manager Technical Reference Guide) on hp.com and it in turn states

"Server Role Criterion
The Server Role criterion is a system or event collection search that enables you to list the servers
of one or more matching roles. The server role is a user-specified value available on HP Insight
Management Agent 5.4 or later."

and

"Server Role. This is a user settable server role from the ProLiant agents and can be set
from the System Management Homepage.
Comments. This is user settable comments from the SNMP or other agents."

But nothing on how this is done in Linux, and since the Linux agent is text bases instead of GUI based as in Windows, is there anyone who could tell me how to configure the Linux settings, what to enter and where ?
13 REPLIES
Darrin Rawls
Respected Contributor

Re: How to configure the "Server role" variable in Linux

Actually, if you install the ProLiant Support Pack on your linux server (not sure what OS you are running) then you will get the System Mgmt Homepage there too and you can set it via that method. If SMH is installed, then you can also use HP SIM to set it remotely via the Replicate Agent Settings task (we renamed Group Config from IM7 days).

thanks.
Ananthak23
Trusted Contributor

Re: How to configure the "Server role" variable in Linux

I dont think "Server Role" field is available for Linux. It's in Windows only as far as I know.

-Anantha
Ananthak23
Trusted Contributor

Re: How to configure the "Server role" variable in Linux

I don't think "Server Role" field is available for Linux. It's available in Windows only as far as I know.

-Anantha
Mikael Rönnbäck
Super Advisor

Re: How to configure the "Server role" variable in Linux

Darrin, yes I have the SMH on my Linuxserver, see attached screenshot, could you please tell me where/how to set the value ?

Mikael Rönnbäck
Super Advisor

Re: How to configure the "Server role" variable in Linux

Oh, and for comparison, here's a screenshot from the windowsagent
Darrin Rawls
Respected Contributor

Re: How to configure the "Server role" variable in Linux

From the name of the server you blanked, it shows ESX. Is it a linux (RH or SuSe) or an ESX box? It matters...

Thanks.
Mikael Rönnbäck
Super Advisor

Re: How to configure the "Server role" variable in Linux

Linux RedHat
Mikael Rönnbäck
Super Advisor

Re: How to configure the "Server role" variable in Linux

Darrin, any ideas ?
Mark Wolf_2
Advisor

Re: How to configure the "Server role" variable in Linux

This looks like it is a dead issue! :-(
Mikael Rönnbäck
Super Advisor

Re: How to configure the "Server role" variable in Linux

Not quite dead, just forgotten :-)

I have actually managed to configure the Linux agents. While not possible from within the agent itself the settings that are being used can be saved and used by SIM.

All you need to do is put the "Server Role" in the cpqhosystemrole.dat file and restart cmahostd.

Example:

$ echo "My Linux Web Server" >>/var/spool/compaq/hpasm/registry/cpqhosystemrole.dat

$ /opt/compaq/foundation/etc/cmahostd restart
M Gand
Occasional Visitor

Re: How to configure the "Server role" variable in Linux

Hi,

I'm trying to achieve exactly this on Redhat clients, though very limited (none except for this thread) information about it. :(

after the two steps:
- /var/spool/compaq/hpasm/registry/cpqhosystemrole.dat
- $ /opt/hp/hp-snmp-agents/server/etc/cmahostd restart

where can I find the value in SIM for the specific client?

Best regards / MG
Mikael Rönnbäck
Super Advisor

Re: How to configure the "Server role" variable in Linux

Hehe, this takes me a while back, and I'm not even sure if it still works in the current version of SIM but as far as I remember it did show up in the same place as for Windows hosts, i.e. when viewing properties for a machine, expand "Product Description" and there should be a field for "Server Role", (at least there still is for Windows).

Our current Linux requirements have changed due to the nature of this "fix" being so undocumented and hard to get any real info on so we no longer rely on it, so I'm sorry I can't get you any more details on Linux.
M Gand
Occasional Visitor

Re: How to configure the "Server role" variable in Linux

Thanks for the feedback!

I can't understand why a function like that wouldn't be available for Linux hosts. The next step is to change available subtypes in the database... :P

Cheers!