OpManager disable alarm if data is not collected

OpManager LogoIf OpManager finds some fault with the data collection on any of the monitors, it will raise an alarm. If you would like to disable the alarm, follow the steps below.

  1. Open the file NmsProcessBE.conf under \OpManager\conf folder.
  2. Search for the entry “CLEAN_DATA_INTERVAL 999999“.
  3. At the end of the line add the entry “GENERATE_DATACOLL_EVENT false“.
  4. Save it and restart the OpManager.

Sun Cluster Commands

Sun Cluster is a high-availability cluster software product for the Solaris Operating System, created by Sun Microsystems. The following are Sun Cluster command cheat sheet for System Administrator reference.

How to check cluster information?

root@server: scstat

How to change cluster group resource to Online / Offline?

  • To bring Online
    root@server: scswitch -Z -g
  • To bring Offline
    root@server: scswitch –F –g

Read More

How to create user account in Solaris

If you’re coming from Linux flavor, you might notice creating user account in Solaris slightly different as you need to provide few options as this is commonly ignored in Linux.

useradd [-c comment] [-d dir] -m [-g group] -s /bin/bash <login_name>

-c comment
Any text string. It is generally a short description of the login. Please put the user’s full name.

-d dir
The home directory of the new user. Usually the directory is /export/

-g group
New user’s primary group membership. We can get the group name from /etc/group file.Read More

How to configure SNMP in Solaris

Simple Network Management Protocol (SNMP) is a protocol for monitoring or collecting information from servers, storage, switches, firewall and etc using Internet Protocol (IP) network.

Solaris have included two packages for SNMP namely System Management Agent (sma) and Sun Solstice Enterprise Master Agent (snmpdx). To check whether these two included or which one is active, we can check using the following command.Read More

How to change IP address in Unix Solaris

To change IP address in Unix server (Solaris), you need to edit the following files.

  • /etc/hosts
  • /etc/hostname.**
  • /etc/rc2.d/S70staticroutes
  • /etc/inet/ipnodes

The “ipnodes” file in latest Solaris 10 release is a softlink to /etc/hosts, therefore it will be reflected upon editing /etc/hosts file. So manual changes is not required.