Installation and User Guide - English
FUJITSU Software ServerView Suite
ServerView Agents V7.10 for Linux
(SUSE, Red Hat, and Citrix XenServer)Comments… Suggestions… Corrections…
The User Documentation Department would like to know your opinion of this manual. Your feedback helps us optimize our documentation to suit your individual needs.
Feel free to send us your comments by e-mail to
Certified documentation according to DIN EN ISO
9001:2008
To ensure a consistently high quality standard and user-friendliness, this documentation was created to meet the regulations of a quality
management system which complies with the requirements of the standard DIN EN ISO 9001:2008.
cognitas. Gesellschaft für Technik-Dokumentation mbH
www.cognitas.de
Copyright and trademarks
Copyright © 1998 - 2015 Fujitsu Technology Solutions. All rights reserved.
Contents
1 Introduction 5
1.1 Architecture 7
1.2 Target groups and objectives 11
1.3 Technical requirements 12
1.3.1 Last-minute changes/corrections 12
1.3.2 Managed Server 12
1.4 Changes since the previous version 13
1.5 ServerView Suite link collection 13
1.6 Documentation for the ServerView Suite 15
1.7 Typographic conventions 16
2 Preparations on the managed servers 17
2.1 Configuring the BIOS and Firmware 18
2.1.1 BIOS settings 19
2.2 Configuring servers 22
2.3 ServerView security concept 24
2.3.1 Prohibiting specific SET operations 24
2.3.2 Prohibiting All SET operations 24
2.3.3 SET Operations with user authentication 25
2.3.4 Operating system-specific characteristics of the SNMP agents 28
2.4 Configuring SNMP services 28
2.5 Setting the hardware clock (CMOS clock) 31
2.6 Settings required for using the Driver Monitor functionality 32 2.6.1 Driver Monitor functionality on SLES10 and SLES11 32
2.6.2 Driver monitor functionality on RedHat 33
2.7 Installing the kernel modules for ServerView agents 34 2.7.1 Installing kernel modules for ServerView agents (SUSE Linux) 34 2.7.1.1 Getting the srvmagt-modules-<version>.iso driver kit image 34 2.7.1.2 Providing the srvmagt-modules-<version>.iso driver kit image on
the managed server 35
Contents
2.7.2.2 Providing the srvmagt-modules-<version>.iso driver disk image
on the managed server 37
2.7.2.3 Obtaining the kernel modules from an online repository 38
3 Installing ServerView agents 41
3.1 Requirements 42
3.2 Script-based installation 44
3.2.1 Installation via ServerView Suite DVD 2 45
3.2.2 Installation from a directory 46
3.3 Installation with the rpm command 47
3.4 Possible sources of error 49
3.5 ServerView agents maintenance after the installation 50
3.5.1 The srvmagt script 50
3.5.2 Configuring agents 52
3.5.3 Improved availability of ServerView agents 55
3.5.4 Uninstalling ServerView agents 55
3.5.5 Starting and stopping the ServerView agents 56 3.5.6 Starting and stopping ServerView CIM provider 56
3.5.7 Additional information 57
3.5.8 Setting an administrative user 58
3.5.9 Computer information change after installation 60
3.5.10 Update installation / kernel update 61
3.5.11 Outputting reports with Performance Manager 62
3.5.12 Temporary file under /tmp directory 62
3.5.13 Source name of syslog 63
1
Introduction
ServerView Operations Manager (Operations Manager for short) is a free server management module of the Fujitsu ServerView Suite. It is used for central administration of industry-standard servers which run the operating systems Windows and Linux (SUSE and Red Hat) or which serve as hosts for virtual machines (VMs) that use hypervisors such as VMware ESXi, Citrix XenServer or Hyper-V.
The standardized management of all servers occurs via one or more central management stations, which you can access from any workstation in the network that has a popular Web browser and the Java Runtime Environment. Operations Manager controls the individual systems, including critical hardware components such as processors, RAM, hard disks, fans and power supply. It monitors and controls the power consumption, analyzes the performance and utilization data and updates the server configuration.
The security concept of Operations Manager includes role-based user management based on three underlying concepts:
l Global user management via an LDAP directory service (Lightweight Directory Access Protocol)
l Role-Based Access Control (RBAC)
1 Introduction
Server management with Operations Manager offers important benefits to operators of a comprehensive server network:
l Higher productivity thanks to high failsafety of the servers
l Reduced costs through automated monitoring of the IT infrastructure l Flexible expansion possibilities for the servers, as Operations Manager can
be easily adjusted to changed conditions
l Shorter downtimes thanks to simplified error analysis
l Guarantees energy-efficient and, where possible, uninterruptible server operation
l Quicker response times in the event of errors
l Reduction in total cost of ownership (TCO) through efficient use of network components and their resources
1.1
Architecture
The architecture of ServerView Operations Manager is based on a management console, a central management station (CMS) and the managed servers.
1 Introduction
Management console
A browser-based console allows you to manage the servers and display the determined data. The following can be used as a browser:
l Microsoft Windows with Internet Explorer or Mozilla Firefox
l SUSE/Red Hat Linux with default Web browser released with distribution
Central management station (CMS)
On the central management station the ServerView
Operations Manager is installed. The optional components of the ServerView Suite, such as Virtual IO-Manager, are also installed on the central management station and integrated in Operations Manager.
The central management station (and thus the ServerView Operations Manager with its components) may also run on a Windows or Linux virtual machine (VM).
The global user management of the ServerView Suite and of the iRMC each centrally stores users for all Central
Management Stations (CMS) / iRMC in the directory of an LDAP directory service. This enables you to manage the users on a central server. The users can therefore be used by all the CMS and iRMC that are connected to this server in the
network.
The ServerView Suite currently supports the following directory services:
l ApacheDS (running on JBoss 7). l Microsoft Active Directory
During the installation of ServerView Operations Manager you have the option to choose ServerView’s internal directory service (ApacheDS). For further information about the use of directory services with ServerView, refer to the manual ’’User Management in ServerView’’ (see"Documentation for the ServerView Suite" on page 15).
The data which ServerView creates and uses is stored in an SQL database within an SQL Server. The following SQL Server are part of the ServerView Operations Manager installation:
l SQL Server 2008 R2/2005 Express under Windows Server l PostgreSQL under Linux
However, other Microsoft SQL Server databases can be used under Windows.
1 Introduction
The Java Runtime Environment is required on the central management station.
How to install the ServerView Operations Manager is explained in the following manuals:
l Installing ServerView Operations Manager Software under Windows
l Installing ServerView Operations Manager Software under Linux
Managed servers
On the managed servers, ServerView agents, CIM providers, or ServerView Agentless Service should be installed, which supply the information to the central management station. ServerView RAID Manager and ServerView Update Agent should be also installed on the managed servers. The installation of ServerView agents on virtual machines (VMs) is not released.
l The ServerView agents are available for Windows, Linux, and Citrix XenServer.
l ServerView CIM Providers are available for Windows, Linux, and VMware ESXi.
ServerView Operations Manager currently only supports ServerView CIM providers for VMware ESXi.
How to install them is explained in the following manuals: l ServerView Agents for Windows
l ServerView Agents for Linux
l Installing ServerView ESXi CIM Provider
1.2
Target groups and objectives
This manual is intended for system administrators, network administrators and service technicians that have a basic knowledge of hardware and software. The manual describes the installation of the ServerView agents for Linux SUSE, Red Hat, and Citrix XenServer.
1 Introduction
1.3
Technical requirements
1.3.1
Last-minute changes/corrections
Any last-minute changes/corrections of the technical requirements can be found in the Readme file on the ServerView Suite DVD 2. You have the following options:
l On the DVD switch to the directory SVSSoftware – Software – ServerView – Linux – Agents.
l Start the DVD and select ServerView Software Products; Info under ServerView – Agents and Providers.
1.3.2
Managed Server
ServerView agents are available for: l SUSE (SLES 11): SP2 and SP3 l SUSE (SLES 12)
l Red Hat Enterprise Linux 5.9/5.10/5.11 l Red Hat Enterprise Linux 6.5/6.6 l Red Hat Enterprise Linux 7.0/7.1 l Oracle Linux OL 6.5/6.6
1.4
Changes since the previous version
This edition of the manual applies to ServerView Agents V7.10 or higher and replaces the online manual "ServerView Agents V7.00 for Linux", edition October 2014.
The manual features the following changes and enhancements:
l As of version 7.10, ServerView Operations Manager supports the directory service ApacheDS instead of OpenDJ. Therefore the section "Architecture" has been updated, see"Architecture" on page 7.
l As of version 7.10, ServerView Operations Manager supports the directory service ApacheDS instead of OpenDJ. Therefore the section "Architecture" has been updated, see"Architecture" on page 7.
l The section "ServerView Suite link collection" has been updated, see
"ServerView Suite link collection" on page 13.
l As of ServerView Agents V7.01, the ServerView System Monitor Web Interface is a new feature which is installed with the agents (see
"Installation via ServerView Suite DVD 2" on page 45,"Installation with the rpm command" on page 47, and"The srvmagt script" on page 50).
l As of version 7.01, ServerView agents are capable of monitoring a server via SNMPv3. Therefore the section"Preparations on the managed servers" on page 17has been updated. See also the new documentation "Usage of SNMPv3 with ServerView Agents 7.01".
1.5
ServerView Suite link collection
Via the ServerView Suite link collection, Fujitsu Technology Solutions provides you with numerous downloads and further information on the ServerView Suite and PRIMERGY servers.
For ServerView Suite, links are offered on the following topics: l Forum
l Service Desk l Manuals
l Product information
1 Introduction
l Security information l Software downloads l Training
The downloads include the following:
o Current software statuses for the ServerView Suite as well as
additional Readme files.
o Information files and update sets for system software components
(BIOS, firmware, drivers, ServerView agents and ServerView update agents) for updating the PRIMERGY servers via ServerView Update Manager or for locally updating individual servers via ServerView Update Manager Express.
o The current versions of all documentation on the ServerView Suite.
You can retrieve the downloads free of charge from the Fujitsu Technology Solutions Web server.
For PRIMERGY servers, links are offered on the following topics: l Service Desk
l Manuals
l Product information l Spare parts catalogue
Access to the ServerView Suite link collection
You can reach the link collection of the ServerView Suite in various ways: 1. Via ServerView Operations Manager.
l Select Help – Links on the start page or on the menu bar. This opens the start page of the ServerView Suite link collection.
2. Via the start page of the online documentation for the ServerView Suite on the Fujitsu Technology Solutions manual server.
You access the start page of the online documentation via the following link:
l On the right, click PRIMERGY ServerView Links under Selected documents.
This opens the start page of the ServerView Suite link collection. 3. Via the ServerView Suite DVD 2.
l In the start window of the ServerView Suite DVD 2, select the option ServerView Software Products.
l On the menu bar select Links.
This opens the start page of the ServerView Suite link collection.
1.6
Documentation for the ServerView Suite
The documentation can be downloaded free of charge from the Internet. You will find the online documentation athttp://manuals.ts.fujitsu.comunder the link x86 Servers.
For an overview of the documentation to be found under ServerView Suite as well as the filing structure, see the ServerView Suite sitemap (ServerView Suite – Site Overview).
1 Introduction
1.7
Typographic conventions
The following typographic conventions are used: Convention Explanation
Indicates various types of risk, namely health risks, risk of data loss and risk of damage to devices.
Indicates additional relevant information and tips. bold Indicates references to names of interface elements.
monospace Indicates system output and system elements, e.g., file names and paths.
monospace
semibold Indicates statements that are to be entered using the keyboard.
blue continuous text
Indicates a link to a related topic.
pink continuous text
Indicates a link to a location you have already visited.
<abc> Indicates variables which must be replaced with real values. [abc] Indicates options that can be specified (syntax).
[key] Indicates a key on your keyboard. If you need to enter text in uppercase, the Shift key is specified, for example, [SHIFT] + [A] for A. If you need to press two keys at the same time, this is indicated by a plus sign between the two key symbols.
Screenshots
2
Preparations on the managed servers
Before starting the Operations Manager, the following preparations must be made on the managed server:l Only for PRIMERGY: Certain settings must be made in the BIOS on each managed server, see"Configuring the BIOS and Firmware" on page 18. On each server, you must make configuration settings, see"Configuring servers" on page 22.
l ServerView offers a sophisticated security concept. Before you install the agents, you should study the information regarding the security concept thoroughly and choose the concept that best suits your security
requirements. You may need to make appropriate arrangements prior to installing the agent. This is described in"ServerView security concept" on page 24.
l You must install and configure the SNMP services of the current operating system on each managed server and the management station. If you do not do this, the management station will be unable to monitor the servers. The SNMP services must be activated either before or after installing the agents, depending on the operating system. This is described in
"Configuring SNMP services" on page 28.
l As of version 7.01, ServerView agents are capable of monitoring a server via SNMPv3.
In order to use SNMPv3 in ServerView agents communication the Net-SNMP master agent is recommended. The Net-SNMP master agent is shipped with most Linux distributions (see "Usage of SNMPv3 with ServerView Agents 7.01" description).
l The CMOS clock must be set to local time and not to GMT. Otherwise the automatic Power ON/Power OFF will not start at the configured time. This is described in"Setting the hardware clock (CMOS clock)" on page 31.
l The settings required for using the Driver Monitor functionality must be configured. See"Settings required for using the Driver Monitor functionality " on page 32.
2 Preparations on the managed servers
"Installing ServerView agents" on page 41.
The installation of ServerView agents on virtual machines (VMs) is not released.
l ServerView Update Manager requires the ServerView update agent to be installed on the managed servers. The installation is described in "ServerView Update Management" user guide.
l If the ServerView Operations Manager on the central management station is configured to be accessed using a name instead of an IP address, you must ensure that the central management station is accessible from the
managed node by this address. This is preferably accomplished by an appropriate entry in DNS. If there is no DNS available, then you must provide an appropriate entry in the hosts file on the managed node. You will find this file in the /etc directory on the Linux system.
Additional installations on the managed servers l ServerView RAID Manager
ServerView RAID Manager offers standardized administration and management of hard disks for PRIMERGY servers. Unless the ServerView RAID Manager is installed, no information about RAID drives and their statuses will be available.
The installation is described in "RAID Management" user guide.
2.1
Configuring the BIOS and Firmware
The following description is only valid for PRIMERGY.
Since the various PRIMERGY types work with different BIOS versions, depending on which system board is used, the individual settings and the operation of the BIOS setup are not dealt with in detail here.
When you start the server, you must set the menu item O/S Boot Timeout in the system BIOS setup to Disabled. If you do not do this, the system will restart during the installation.
You may only set the O/S Boot Timeout menu item to Enabled when you restart the system after you have completed all installations (including the ServerView agents).
Please also check that, on installing Linux, the value for the O/S Boot Timeout is set in such a way that a file system check will be performed. If this value is not set correctly, the system will be restarted during the file system check.
2.1.1
BIOS settings
The server management firmware monitors the server until the operating system has started. After that, the agents and the Operations Manager program assume the monitoring function.
You must change the BIOS settings on every server.
Call the BIOS setup by rebooting the computer and pressing the F2 or DEL key at the appropriate time in the bootup phase.
On entering the BIOS setup, select the Server menu. This menu enables you to specify the settings required for server management.
If the Server menu is not offered in the BIOS setup, you do not need to activate the server management functions. Note, however, that this also means that you have no explicit control over the individual server management functions.
If the Server menu includes a Server Management menu item, select this item and set it to Enabled. This activates the server management functionality. You must select the value Enabled here for all the other settings to take effect. If the Server Management menu item is not available, control over the individual functions is not contingent on a general release.
The fields listed below are available in the Server menu.
Note that some of the fields listed below may not be available, depending on the hardware.
2 Preparations on the managed servers
O/S Boot Timeout
Specifies whether the system is to be rebooted if the operating system cannot establish a connection with the server management firmware within a
predefined time period (after startup). The time interval can also be set via the Operations Manager (see also section "ASR&R" in "ServerView Operations Manager" user guide).
You must set the O/S Boot Timeout menu item to Disabled when starting the server. Otherwise, the system will reboot during the installation.
Action
Determines the action carried out after the boot watchdog expires. Timeout Value
Specifies the time after which a system restart is performed if enabled by means of O/S Boot Timeout.
ASR&R Boot Delay
Defines the time period for which the server must wait after a shutdown due to an error (e.g. due to overheating) before it is automatically restarted.
Boot Retry Counter
Defines how often the server tries to restart the operating system before it either remains shut down or before RemoteView is started.
Diagnostic System
Determines whether or not RemoteView is to be started on reaching the number of system restarts set under Boot Retry Counter.
Hardware Watchdog
Next Boot uses
Determines whether or not RemoteView is started at the next boot. Temperature Monitoring
Determines whether or not the system is shut down on exceeding the critical temperature value.
Memory Scrubbing
Determines whether or not memory is tested and single-bit errors are eliminated.
BIOS Runtime Logging
Specifies whether processor, memory and PCI errors are to be saved in the error log file.
CPU Status
Defines whether the processor may be used. Memory Status
Enables certain memory modules to be identified as defective. These modules will then no longer be used at the next system start.
Console Redirection
Defines the settings for operating a terminal on the system. RomPilot
Defines the settings for RomPilot. RomPilot is part of ServerView Remote Management and Operations Manager. RomPilot provides access from a remote console via LAN to the system start phase (POST) and MS-DOS.
Storage Extension
Defines the settings for the group configuration and the communication bus (CAN bus). (Note: Storage Extension is not available on all servers)
2 Preparations on the managed servers
2.2
Configuring servers
There are various functions available for configuring servers. Some of these functions are supported for all PRIMERGY servers and others are only available for certain servers, depending on the hardware and software installed in the PRIMERGY server.
You can configure the servers in one of the following ways:
l Locally on the managed server via the Server Configuration Manager. With the Server Configuration Manager you can make settings for the general system behavior of the target system and configure any remote management components (iRMC or iRMC S2/S3) of the target system. When the ServerView Installation Manager is started from the ServerView Suite DVD 1, you can start the Server Configuration Manager via the Server Configuration Manager button.
Depending on the PRIMERGY server type of the target system, not all steps may be performed. The sequence of the individual steps and the configuration options for the individual steps may also vary from system to system.
For details on the individual server configuration dialog steps, please refer to the online help of the Server Configuration Manager.
To access the online help related to a dialog step, proceed as follows:
1. Click in the window area currently displaying this dialog step. 2. Press the F1 key.
l Via the ServerView Configuration Manager, which is integrated in the graphical user interface of Operations Manager. This allows you to configure servers from the remote workstation via a Web interface.
Configuration.
For further information, see "ServerView Operations Manager" user guide. You can only configure servers on which the ServerView agents are installed.
Depending on the system, some of the configured settings are written to the BIOS.
Among other things, you can do the following:
l Read the most important data of the server, the system board and the integrated management controller.
l Read and set the Boot and Software Watchdog settings. l Read and edit the error counter for the memory modules. For PRIMERGY only:
l Read and delete the error and event logs of the server. l Monitor and calibrate the system fan.
l Read and set the chassis ID (preset on delivery). l Read and set the counters for the system runtimes.
l Configure the settings for HTTP and Telnet and the setting for the Remote Management Controller for HTTP.
l Configure the IP and DNS settings for the RSB Web interface.
l Configure the SNMP communities and the trap target for the SNMP interface of the remote management controller.
l Manage user identification for the remote management controller. l Configure the serial interface of the RSB and the remote management
controller.
l Configure Operations Manager UPS management integration.
l Configure the information shown on the display of the ServerView Local Service Display.
2 Preparations on the managed servers
2.3
ServerView security concept
The ServerView SNMP agents together with the ServerView Manager provide a complete security concept to prevent unauthorized SNMP SET operations on a server.
You can restrict access to SNMP SET operations on the managed server. Here you have the following options:
l Prohibit specific SET operations. l Prohibit all SET operations.
l Protect SET operations with a user authentication.
If you select the user authentication option, the system will run a user authentication routine each time you start a SET operation. If the authentication routine is successful, the system will also check if the user belongs to one of the user groups defined by the administrator.
The user authentication only operates with ServerView Manager. It does not work with other SNMP tools.
You can also reduce the risk of unauthorized access by changing the default configuration of the SNMP service. For further information, see"Configuring SNMP services" on page 28.
2.3.1
Prohibiting specific SET operations
Some SET operations cause the system to shutdown or restart. You can permit these special SET operations or forbid them, see"Configuring agents" on page 52
- AgentShut.
2.3.2
Prohibiting All SET operations
2.3.3
SET Operations with user authentication
You can restrict access to SET operations and protect the execution of SET operations with a user authentication. Here you can choose between starting the user authentication routine at the beginning of each session on a managed server or starting the user authentication at the start of each new SET operation. For user authentication, you must make the following settings on the managed server as well as on the management station.
Entity Settings
managed server l Define user and user group l Assign user to specific user group
l State the specified user group during installation of the agent
management station
Specify the user in the Operations Manager Login tab.
Defining user and user group and assigning users
You must define user and user group on each managed server, using the methods specific to your operating system. You may choose any name for the user or the user group (including Administrator).
You need to decide in advance, whether or not you want to create identical user and group identifications for several servers.
Specifying a user group during the installation of the agent
During the installation of the agent on the server you need to specify the user group to which the user, permitted to execute SET operations, must belong. Installation and configuration of the ServerView agents differs according to operating system and version. For more information about installation and configuration in these cases, see the agent descriptions beginning at
"Configuring agents" on page 52.
Specifying users on the management station
On the management station you must specify the user permitted to execute SET operations on the current server. You define the user in the Login tab in the
2 Preparations on the managed servers
Server Properties window. In this example this would be SVUSER.
On the left-hand side of the Server Properties window you can select those servers to which the settings are to apply. You can also select several servers at once. This allows you to specify settings for each server individually or to apply an identical setting to several servers collectively.
The following example demonstrates the procedure in the case of an activated user authentication.
Example
The user svuser was set up on the server and specified in Operations Manager in the Login tab on the management station. Executing a SET operation through the management station, the user is prompted to provide identification.
Figure 2: User authentication
2 Preparations on the managed servers
2.3.4
Operating system-specific characteristics of the SNMP
agents
The following sections describe the procedures, specific to the operating system and agent versions, involved in realizing the security concept of ServerView.
SNMP security concept
If you want to monitor the server from the management station, then you must set up a user belonging to the bin group after installing the operating system. You must enter this user name and its corresponding password in the
management station to activate the corresponding function.
For further information on installing the agents, see"Installing ServerView agents" on page 41.
2.4
Configuring SNMP services
You must install and configure the SNMP services of the current operating system on each managed server and the management station.
The ServerView Linux agents require configuration parameters in the
configuration file of the system’s SNMP service. You will find this file under the name /etc/snmp/snmpd.conf. You must edit this configuration file, e.g. with the help of the vi. Information on the syntax is provided in the manpages for snmpd.conf (call: man snmpd.conf).
l Specify the appropriate contact under sysContact and the location of the server under sysLocation.
Set authtrapenable to 1 (enable). This sends a trap if, during a SET operation, the community of the management station is unknown or the rights required for the SET operation are not present. With 2 (disable), you can disable this function (default).
You will find further information on this in the snmpd.conf manpages. l The following example shows a configuration which you must adapt to suit
group svGroup v1 svSec view svView included .1
access svGroup "" any noauth exact svView none none
You have to adapt <subnet>/<netmask> accordingly for your environment. By default read-only SNMP access is allowed.
If you are using more than two com2sec definitions, the order is of significance. The first com2sec definition that matches the IP address and the community of an incoming SNMP request is used. Thus the com2sec definitions for specific IP areas, must be set before the definitions for general access (with the same community).
For further information, in particular on the syntax of subnet and netmask refer to the manpages for snmpd.conf.
l In the example, the community name is public.
If, for security reasons, you decide to use another community name, replace the community name public used in the example with the chosen name. You must not forget to enter the chosen community name in the
management station on the property page Network/Snmp in the Server Properties property window.
l To change values via SNMP access is not permitted by default. If you want to allow the management station to change values on the managed servers or to shut down, you have to permit SNMP SetRequests. To do so, change the last line of the example configuration shown above to:
access svGroup "" any noauth exact svView svView none You must also check that the values for AgentPermission and AgentShut are set to 3. For further information on the definition of these values in the config file , see"Configuring agents" on page 52.
l Specify the target address for SNMP traps. For trapsink, enter the IP address or the name of the management station. You can enter more than one management station. Add one line for each management station in snmpd.conf:
trapsink <host> <community name>
For <community name>, enter public or the community name you wish to use.
2 Preparations on the managed servers
l The GAM agent for LSI/Mylex RAID controller communicates with the SNMP master agent via the SMUX protocol (SNMP Multiplex Protocol).
If the GAM agent is installed, you have to add the following line into the SNMP configuration file:
smuxpeer .1.3.6.1.4.1.1608 mylex
l If you have made changes, restart the service snmpd or the server. If a firewall is activated on your server, you must make sure that the SNMP ports are open. You must ensure that the following are accepted:
l Incoming packages on port 161 (service name snmp) for the protocol udp.
l Outgoing packages on port 162 (service name snmptrap) for the udp protocol which ensures that traps can be sent.
l Port 3172 (Remote Connector Service) and port 3173 (ServerView RAID Manager) for the tcp protocol.
2.5
Setting the hardware clock (CMOS clock)
The CMOS clock must be set to local time and not to GMT. Otherwise the automatic Power ON/Power OFF will not start at the configured time. The local time is set on the different operating systems as follows:
o SUSE:
Assign the local time to the CMOS clock in YaST – System. SUSE SLES 11:
Observe the following specification:
The Hardware Clock Set To UTC option must be disabled.
In the Date and Time window, select the Local Time entry from the Hardware Clock Set To selection list.
o Red Hat:
Assign the local time to the CMOS clock in linuxconf: Observe the following specifications:
On the Time Zone tab in the Date and Time Properties window you can use the System Clock option.
The System Clock uses UTC option must be disabled. Select System – Administration – Date & Time.
Use the date command to output the system time, use hwclock --show to output the CMOS time. If the times are different, use the hwclock command to change the CMOS time to match the system time. More information about the hwclock command can be obtained using hwclock --help.
2 Preparations on the managed servers
2.6
Settings required for using the Driver Monitor
functionality
2.6.1
Driver Monitor functionality on SLES10 and SLES11
For the Driver Monitor functionality on SLES10 and SLES11 it is necessary to extend the syslog-ng configuration file.
l SUSE SLES 10:
1. Insert the following lines into the file /etc/syslog-ng/syslog-ng.conf.in:
destination hwlog { pipe("/dev/HWLog/syslog_ fifo"); };
log { source(src); destination(hwlog); }; 2. Afterwards execute the following command:
/sbin/SuSEconfig l SUSE SLES 11:
1. Insert the following lines into the file /etc/syslog-ng/syslog-ng.conf: destination hwlog { pipe("/dev/HWLog/syslog_ fifo"); };
log { source(src); destination(hwlog); }; l SUSE SLES 10 and SUSE SLES 11:
1. Start YaST and select Novell AppArmor – Edit Profile.
2. Choose the name of the active syslog daemon (/sbin/syslog-ng or /sbin/syslogd) and click Next.
3. Enter /dev/HWLog/syslog_fifo in the Enter or modify Filename field. 4. Under Permissions activate the Read and Write option.
5. Save this entry. 6. Restart AppArmor by:
7. Restart syslog services by:
/etc/init.d/syslog restart
2.6.2
Driver monitor functionality on RedHat
For driver monitor function on Red Hat the following applies:
During installation the following line is inserted into the syslog daemon configuration file and the syslog daemon is restarted:
*.info;mail.none;news.none;authpriv.none;cron.none |/opt/fujitsu/ServerViewSuite/HWLog/path/syslog_fifo During uninstallation this entry is removed and the syslog daemon is restarted. On Red Hat the syslog daemon syslog (Red Hat 5) or rsyslog (Red Hat 5.6, Red Hat 6) may be installed.
On Red Hat the syslog daemon syslog (Red Hat 5) or rsyslog (Red Hat 5.6, Red Hat 6) may be installed.
The procedure changing the syslog configuration file prefers the rsyslog daemon configuration file and restarting this daemon. If the syslog daemon is used, rsyslog must not be installed!
The procedure changing the syslog configuration file prefers the rsyslog daemon configuration file and restarting this daemon. If the syslog daemon is used, rsyslog must not be installed!
2 Preparations on the managed servers
2.7
Installing the kernel modules for ServerView
agents
On some PRIMERGY server types, kernel modules are needed for full ServerView agent functionality. This section describes how to install these kernel modules for SLES and RHEL.
2.7.1
Installing kernel modules for ServerView agents (SUSE
Linux)
For detailed information on the Partner Linux Driver Process (PLDP) for PRIMERGY Servers, please visit:
http://ts.fujitsu.com/products/standard_servers/linux_readmes_ popup.html
2.7.1.1 Getting the srvmagt-modules-<version>.iso driver kit image
To get the srvmagt-modules-<version>.iso disk image, you have the following options:
l From the ServerView Suite DVD 2: Select SVSLinux - Novell-KMP, and then, in sequence, click in sequence through folders containing your preferred SLES version and Service pack.
l Fromftp://ftp.ts.fujitsu.com/images/serverview, you can download the DVD ISO image UPD_LINUX_<version>.iso. Select Novell-KMP, an then, in sequence, click in sequence through folders containing your preferred SLES version and Service pack.
l From the Driver & Downloads website
Alternatively, you can proceed as follows:
a. Select Software - ServerView - Operation - Agents and Providers, which leads you to the Downloads for Agents and Providers page.
b. Select your preferred SUSE Linux version page.
c. Select Server Management Software - ServerView Agents & CIM Providers.The disk image can be found in the package PLDP driver package srvmagt-modules <version> for SLES<nn> SP<n> (file name: FTS_
PLDPdriverpackagesrvmagtmodules<version>.zip). 2.7.1.2 Providing the srvmagt-modules-<version>.iso driver kit image on the
managed server
To provide the downloaded packages on the managed server, proceed as follows:
1. Loop-mount the iso image and make the repository known to the system: # mount -o loop /tmp/srvagt-modules-*.iso /mnt/img # zypper ar /mnt/img srvmagt
2. Install the module:
# zypper install primergy-smbus-kmp-$KERNEL_FLAVOR $KERNEL_FLAVOR is "default" or "xen" depending on the installed kernel.
When asked about the package signing key with fingerprint A6E12DAE581F5A2C016C58E45FE63BCE79444536, choose to trust the key.
3. Deactivate the repository again: # zypper rr srvmagt # umount /mnt/img
2 Preparations on the managed servers
2.7.1.3 Obtaining the kernel modules from an online repository
Alternatively, you can configure your system to access the Fujitsu driver package repositories fromhttp://patches.ts.fujitsu.com/linux/index_pldp.html(or from a mirror thereof if your system has no direct internet access).
In this case,it is not necessary to download the ISO file. Proceed as follows:
1. Make the driver repository known if necessary:
Before submitting the following command, you have to substitute the operating system version corresponding your needs.
# zypper ar
http://patches.ts.fujitsu.com/linux/pldp/SLE11/sles 11-sp3 primergy-sles11-sp3
2. Install the module:
# zypper install primergy-smbus-kmp-$KERNEL_FLAVOR
2.7.2
Installing kernel modules for ServerView agents (Red Hat
Linux)
For more information on the the Red Hat Driver Update Process (RHDUP) for PRIMERGY Servers, please visit:
http://ts.fujitsu.com/products/standard_servers/linux_readmes_ popup.html
2.7.2.1 Getting the srvmagt-modules-<version>.iso driver disk image
To get the srvmagt-modules-<version>.iso disk image, you have the following options:
l From the ServerView Suite DVD 2: Select SVSLinux - RHDUP, an then, in sequence, click in sequence through folders containing your preferred RHEL version and version update.
click in sequence through folders containing your preferred RHEL version and version update.
l From the Driver & Downloads website
(http://ts.fujitsu.com/support/downloads.html): A quick search using the string "RHDUP svrmagt-modules" in the Driver Quicksearch fileld" will result in the list of all available RHDUP driver package srvmagt-modules, from which can select an appropriate package.
Alternatively, you can proceed as follows:
a. Select Software - ServerView - Operation - Agents and Providers, which leads you to the Downloads for Agents and Providers page.
b. Select your preferred Red Hat Linux version.
c. Select Server Management Software - ServerView Agents & CIM Providers.The disk image can be found in the RHDUP driver package srvmagt-modules<version> for RHEL<version> file name: FTS_
RHDUPdriverpackagesrvmagtmodules<version>.zip). 2.7.2.2 Providing the srvmagt-modules-<version>.iso driver disk image on the
managed server
To provide the downloaded packages on the managed server, proceed as follows:
1. Loop-mount the iso image and make the repository known to the system: # mount -o loop /tmp/srvmagt-modules-*.iso /mnt/img # cp /mnt/img/dud.repo
/etc/yum.repos.d/srvmagt.repo 2. Set path to mount point in the .repo file:
This step is only necessary if primergy-dup has never been installed on the system
# sed -i 's,<mount point>,mnt/img,'\ /etc/yum.repos.d/srvmagt.repo
3. Install primergy-dup with the GPG key:
# yum install --nogpgcheck primergy-dup
2 Preparations on the managed servers
When asked about the package signing key with fingerprint A6E12DAE581F5A2C016C58E45FE63BCE79444536, choose to trust the key.
4. Uncomment GPG key from primergy-dup package in the .repo file: This step is only necessary if primergy-dup has never been installed on the system
# sed -i '/gpgkey=file.*/s/^# //' /etc/yum.repos.d/srvmagt.repo 5. Install the modules:
# yum install kmod-smbus # umount /mnt/img
When asked to confirm the driver signing key 0x79444536, please agree.
6. Disable the repository again:
# sed -i '/enabled/s/=yes/=no/' /etc/yum.repos.d/srvmagt.repo
2.7.2.3 Obtaining the kernel modules from an online repository
Alternatively, you can configure your system to access the Fujitsu driver package repositories fromhttp://patches.ts.fujitsu.com/linux/index_pldp.html(or from a mirror thereof if your system has no direct internet access).
In this case, you don't need to download the ISO file Proceed as follows:
1. Make the repository known if necessary: # cd /etc/yum.repos.d
http://patches.ts.fujitsu.com/linux/pldp//RHEL6/rhe l6-u4.repo
2. Make the Fujitsu GPG key known if necessary:
# yum install --nogpgcheck primergy-dup 3. Install the modules:
# yum install kmod-smbus
When asked to confirm the driver signing key 0x79444536, please agree.
3
Installing ServerView agents
When using PKI (Public Key Infrastructure) for client authentication:
Client authentication prevents the managed server from being accessed by a non-trusted management station or by a non-privileged application running on the management station. You have the option to either initially install the certificate files together with the ServerView agents or to install the certificate files on a managed server where the ServerView agents have already been installed.
Installing the certificate files together with the ServerView agents requires that the certificate files have already been installed on the managed server before the agents are actually installed.
For details refer to the "User Management in ServerView" user guide. The extra packages required for ServerView Operations Manager and ServerView RAID Manager are described in the "Installation under Linux" installation guide.
Installation of ServerView agents on Citrix XenServer is offered via the XenServer Supplement CD. The CD is available via the ServerView Suite DVD 2 (ServerView - XenServer Supplements or
SVSSoftware\Software\XenServer-Supplements).
You can also download the ISO image from the Fujitsu Technology Solutions Web server
(http://support.ts.fujitsu.com/download/).
3 Installing ServerView agents
3.1
Requirements
Before the ServerView agents are installed, several prerequisites must be fulfilled:
l The relevant Net-SNMP packages must be installed in accordance with the operating system platform:
SUSE SLES net-snmp Red Hat
Enterprise Linux
net-snmp and net-snmp-utils
Oracle Linux net-snmp and net-snmp-utils Citrix
XenServer
net-snmp
l The ServerView agents require the following software packages: These packages can be installed using YaST / YUM (recommended).
o SUSE SLES (The naming of the packages depends on SLES Version and
architecture):
SLES V11 libstdc++33, libcurl4 and libopenssl0_9_8
SLES 12 libstdc++6, libcurl4,libopenssl1_0_0
o Red Hat, Oracle Linux, Citrix XenServer:
RHEL5 Linux Agents are still 32-bit applications and therefore 32-bit packages are required also on 64-bit architecture.
openssl.i686
RHEL6/OL6 openssl compat-libstdc++-33 libcurl RHEL7/OL7 openssl llibstdc++ libcurl Citrix XenServer openssl compat-libstdc++-33
l Additional requirements for ServerView System Monitor:
o A graphical desktop environment based on X11. Supported are KDE
and GNOME.
o Only for local ServerView System Monitor: An appropriate Java Runtime
Environment >= V1.6.0_25. It is recommended to use the Java Runtime provided on the ServerView Suite DVD 2. For a Japanese-language environment, an appropriate Java Runtime Environment >= V1.6.0_30.
o Only for local ServerView System Monitor: Please also make sure to use
the 64 bit Java Runtime on 64 bit machines.
o For viewing RAID information the ServerView RAID Manager has to be
installed and must be running.
o For viewing the online help pages a Web browser must be installed.
l Additional requirements for ServerView CIM Provider:
o ServerView CIM Provider are 64-bit binaries and operate therefore only
on x86-64 architectures.
o A CIMOM (CIM Object Manager) service must be available. Supported
CIMOMs are SFCB and OpenPegasus.
l For management of your RAID peripherals you must also install ServerView RAID Manager on your system. The installation is described in the "RAID Management" user guide.
l Mount the ServerView Suite DVD 2 and, in the CD’s root directory, open the start.html file in the Web browser. Switch to ServerView – Agents and Providers and click the ServerView Agents Linux and VMware link in the
3 Installing ServerView agents
table.
You will find the list of released PRIMERGY systems under Supported Systems.
l SELinux functionality must be disabled (not required on Red Hat as of version 6.0).
3.2
Script-based installation
You install the ServerView agents via the srvmagt script. It tries to test and verify all the dependencies known from experience, catches all the necessary
preparations and finally performs the required actions to establish ServerView agents Linux on the system.
The script performs the following:
l Identify the Linux distribution (e.g. SUSE, Red Hat).
l Identify the kernel version and architecture (x86, x86-64 or ia64). l Identify the PRIMERGY server model using BIOS data.
l Identify, whether PLDP (Partner Linux Driver Process) and DUP (Driver Update Process) is supported. In this case, the script tries automatically to install the ServerView kernel module packages (KMP) if necessary.
l Verify presence of SNMP packages and other packages for specific models or distributions.
l Setting of snmpd.conf (for Japanese OS environment only)
If you install the ServerView agents on a Japanese operating system, the installation script checks whether the SNMP service has to be configured. If so, a backup file /etc/snmp/snmpd.conf_svsave is created and the following entries are added to the file /etc/snmp/snmpd.conf:
com2sec svSec localhost public com2sec svSec 127.0.0.1 public com2sec svSec default public group svGroup v1 svSec
access svGroup "" any noauth exact svView svView none
trapsink 127.0.0.1
For further information, see"Configuring SNMP services" on page 28.
3.2.1
Installation via ServerView Suite DVD 2
The ServerView Suite DVD 2 contains the rpm packages of the ServerView agents and the shell archive srvmagtDVD.sh. You will find the script on the ServerView Suite DVD 2 in the following directory:
SVSSoftware – Software – ServerView – Linux – Agents To install the agent proceed as follows:
1. Insert the ServerView Suite DVD 2 and mount it if necessary. 2. Open (as root) a terminal.
3. Change to the directory
SVSSoftware – Software – ServerView – Linux – Agents 4. Enter the following command:
sh srvmagtDVD.sh [-R] [--ssm install | not-install] -R
Installs the ServerView RAID Manager RPM package if it is supplied together with the other RPM packages.
--ssm install | not-install
Determines the installation of local ServerView System Monitor and the ServerView System Monitor Web Interface. Default is to install both packages.
This option is only evaluated on Red Hat, SUSE and Oracle Linux systems.
The script then executes the installation automatically.
If the installation of ServerView System Monitor or CIM Provider fails, the installation of the ServerView agents is not aborted.
3 Installing ServerView agents
3.2.2
Installation from a directory
You can download the ZIP file containing the shell archive srvmagt.sh and the RPM packages of the ServerView agents from the Fujitsu Technology Solutions Web server in any directory.
Important note:
The procedure decribed below prerequisites that the srvmagt-modules-<version>.iso driver kit/disk has been already mounted on the managed server (see sections"Installing kernel modules for ServerView agents (SUSE Linux)" on page 34and"Installing kernel modules for ServerView agents (Red Hat Linux)" on page 36
To install the agent proceed as follows:
1. Download the appropriate ServerView Agents Linux package (FTS_ ServerViewAgentsLinux_<version>_<nnnnnnn>.zip as described below:
a. In the Driver & Downloadspage
(http://ts.fujitsu.com/support/downloads.html), select Software -ServerView - Operation - Agents and Providers, which leads you to the Downloads for Agents and Providers page.
b. Select your preferred Red Hat / SUSELinux version.
c. Select Server Management Software - ServerView Agents & CIM Providers- SeverView Agents for Linux.
2. Save the installation RPM packages and the shell archive srvmagt.sh in any directory.
3. Open (as root) a terminal.
4. Change to the corresponding directory: cd <path>
5. Grant permission for execting srvmagt.sh: chmod +x srvmagt.sh
6. Enter the following command:
3.3
Installation with the rpm command
When installing with the rpm command, proceed as follows: 1. Start (as root) a terminal.
2. Mount the ServerView Suite DVD 2.
3. Switch to the directory containing the Linux agents: cd /mnt/cdrom/SVSSoftware/Software/ ServerView/Linux/Agents
4. Install the following RPM packages:
rpm -U ServerViewConnectorService-<scs-version>-<release>.<arch>.rpm rpm -U srvmagt-mods_src-<version>-<release>.<arch>.rpm rpm -U srvmagt-eecd-<version>-<release>.<arch>.rpm rpm -U srvmagt-agents-<version>-<release>.<arch>.rpm rpm -U srv-cimprovider-<version>.x86_64.rpm rpm -U SVSystemMonitor-<version>.noarch.rpm rpm -U SSMWebUI-<version>.noarch.rpm
The packages must be installed in the above order.
The srv-cimprovider-<version>.x86_64.rpm package can only be installed in an x86-64 Linux environment.
<scs-version>
Specify the version and the release number of the Remote Connector Service (e.g. 2.10.02).
<version>
Specify the version and the release number of the ServerView Linux agent (e.g. 7.10-06).
<arch>
Specify the architecture of the packages, 32 bit or 64 bit.
3.4
Possible sources of error
l If errors occur during compilation, this may be because the suitable kernel source code is not available on the server.
l If you want to start compilation of the modules subsequently by hand, you can do this with the command:
/etc/init.d/eecd_mods_src start
If you want to have the compiler outputs displayed, you start make directly in directory /etc/srvmagt/sources.
3 Installing ServerView agents
3.5
ServerView agents maintenance after the
installation
3.5.1
The srvmagt script
Once you have installed the ServerView agents for Linux, as described in
"Installation via ServerView Suite DVD 2" on page 45or in"Installation from a directory" on page 46, further functions are provided for maintenance via the srvmagt script.
1. Open a terminal (as root) 2. Enter the command, see syntax. Syntax
[/usr/sbin/]srvmagt [option] [action] For option you can specify:
-f
Forces the intended action against an issued warning/rejection. In that case you act on your own risk and responsibility. The behavior and functionality is undefined.
-h | --help
Displays the command syntax and exits. -n
Does not start any ServerView agents' daemon during installation with the install action.
-p <path>
Here you can specify the directory containing the RPM packages. <path> is a path to a directory in a local or remote file system.
-R
Installs the ServerView RAID Manager RPM package, if it is supplied together with the other RPM packages.
--ssm install | not-install
Determines the installation of local ServerView System Monitor and the ServerView System Monitor Web Interface. Default is to install both packages.
This option is only evaluated on Red Hat, SUSE and Oracle Linux systems.
-v <vers>
Indicates the version to handle. Default is the version of the script. --version
Prints the script version and exits. -V
Prints verbose information. For action you can specify: install
Installs (repairs, updates) all ServerView agents Linux RPM packages according to the already installed configuration and the version supplied with the -v option. The corresponding services (i.e. daemons) are started afterwards unless the -n option is also given.
start
Starts ServerView agents Linux. restart
Restarts ServerView agents Linux. status
Shows status of ServerView agents Linux. diag
Collects diagnostic material by calling PrimeCollect(8). stop
Stops ServerView agents Linux.
3 Installing ServerView agents
remove
Removes all ServerView agents Linux RPM packages.
If the operating system is Citrix XenServer, the ServerView RAID package is also removed at the same time.
3.5.2
Configuring agents
The file /etc/srvmagt/config contains information which enables you to restrict access to the managed system and select other operating parameters.
Lines that begin with the "#" sign are comment lines and the other lines have the following format:
<keyword>=<value>
AgentPermission Basic permission for other systems to set values on the local server with the help of SNMP commands (2: not allowed, 3: allowed, default: 2 (default for Japanese OS environment: 3)). If you want to permit SNMP SetRequests you must set the value to 3 here and configure the SNMP services appropriately (see"Configuring SNMP services" on page 28). AgentShut Permission for remote shutdown/reboot of the local server
using SNMP commands (2: not allowed, 3: allowed, default: 2, i.e. not allowed (default for Japanese OS environment: 3)). If you want to permit SNMP SetRequests you must set the value to 3 here and configure the SNMP services appropriately (see"Configuring SNMP services" on page 28). ShutdownDelay Indicates the time delay (in minutes) between an SNMP
NoAccountCheck If a value other than 0 is specified for this entry, you are not prompted for a password when you modify settings via ServerView. The default value is 0, i.e. the user group authentication is enabled by default. In this case a user group must be entered under UserGroup, to which the user that wishes to change the SNMP settings must belong. Please note that a deactivated password query can pose a considerable security risk.
UserGroup If 0 was specified for NoAccountCheck, Operations Manager requires a user/password combination on the management station in order for the SNMP settings to be changed. In order for a user to be granted access permission, the user must belong to the user group specified for UserGroup. The default setting is bin, which includes root. (The default setting for Japanese OS environment is svagtuser.) If the user group specified here does not exist, it must be created using operating system-specific resources.
ScanTapeDevices If this is set to something other than zero, the tape devices /dev/nst* are opened in order to get their current status. The opening of the tape device might cause (depending on the driver) an unintentional change of its read/write position. If the tape device is shared among servers, this parameter makes sure that Operations Manager do not impact tape operations (e.g. backup) by state queries. The default is zero, i.e. tape devices are not opened.
TraceFileLimit Controls the size of the trace files stored under
/var/log/srvmagt (1 is the default value, required space approx. 200 MB, 0 means no trace files, 2 means extra large trace files approx. 400 MB).
3 Installing ServerView agents
InventoryRescan Specifies the time period (in minutes) within which the inventory data of the server is updated. Supported values are: 0, 120...34560. The value 0 disables the update. Values between 1 and 120 are set to 120. Values greater than 34560 are set to 0. The default value is 120 (The default value for Japanese OS environment is 0).
Note that changes made to the config file will only take effect on restarting the agent. You can do this by restarting the server or by entering the following command as the system administrator: /usr/sbin/srvmagt restart
Citrix Xen or Xen
To support the performance and threshold manager for Citrix Xen or Xen in the ServerView Operations Manager, it is necessary to configure account information for the system within ServerView VME agent. In order to do so, the following steps are necessary:
1. Edit the file /etc/srvmagt/VME/etc/app.config.xml. 2. Search for the section titled <authentication>.
3. Fill in user and password information as necessary (e.g. <User>us123</User><Password>123passwd</Password>)
The password is in plain text, so you must limit access to this file and you should not use a privileged user.
4. Save the file.
5. Restart the ServerView agents.
3.5.3
Improved availability of ServerView agents
The start script srvmagt(8) of ServerView agents invokes the srvmagt cron script srvmagtCron to run every 15 minutes.
srvmagtCron checks the eecd daemon, the ServerView agents,
SVRemoteConnector and the SNMP daemon snmpd and restarts them if they are not running. Additionally the script writes the time of each check into the first line of the file /var/log/srvmagt/log.srvmagtCron.
Stopping the ServerView agents with srvmagt(8) turns this periodical supervision off.
srvmagtCron will not be removed from the root's crontab in order to keep changes of the sensitive crontab to a minimum. Actual execution depends on existence of the srvmagtCronOn file in the srvmagt root directory. This file is created during start of ServerView agents and removed when they are stopped.
3.5.4
Uninstalling ServerView agents
The items saved on the server's BIOS are not restored, even when the ServerView agent is uninstalled. Restore the settings to the original state, and then uninstall the ServerView agent. Make sure you do the following before uninstalling the ServerView agent:
1. Disable the Software Watchdog, BOOT Watchdog and Power ON/OFF settings.
2. If threshold monitoring and report creation have been applied by Performance Manager, cancel these services to the server.
3. When uninstalling the ServerView agent, the settings that are configured using ServerView Operations Manager, such as the power schedule and ASR settings, are deleted. The option to take over the settings automatically is not provided, so make sure you keep a copy of the settings before uninstalling, as you will have to configure them again after the update installation.
3 Installing ServerView agents
To uninstall the ServerView agent, enter the following: /usr/sbin/srvmagt remove
On Citrix XenServer, ServerView RAID Manager is also uninstalled using this command.
3.5.5
Starting and stopping the ServerView agents
After the Linux agent has been installed, the agents are started automatically with each system startup. For diagnostic purposes, it may be meaningful to explicitly stop and then restart the agent.
Starting agents
You start the agents with the following call: /usr/sbin/srvmagt start
You must make sure that you start the SNMP master agent snmpd before you start the Linux agent.
Stopping agents
You stop the agents with the following call: /usr/sbin/srvmagt stop
3.5.6
Starting and stopping ServerView CIM provider
3.5.7
Additional information
l If an S30 or S40 is connected to a server via SCSI (SAF-TE), but not registered by the agents it may be that there are not sufficient device files set up in Linux. These device files are necessary for the communication of SNMP agents and the storage expansion units. By default, Linux sets up 16 device files for the SCSI connections: /dev/sg0 through /dev/sg15. If you wish to connect more than 16 devices via SCSI you will need to add additional device files. The number of SCSI device files can be found in the file /proc/scsi/scsi. Additional device files (/dev/sg) can be added using the following command:
mknod /dev/sg<number> c 21 <number>
In place of <number> enter the numbers in sequence in relation to the last existing entry (for example, 16 and above, if the last entry contains the number 15). After you have created new device files you must restart the server.
l If new hardware (e.g. a remote service board) has been installed or a new storage expansion unit has been added and not recognized then you will need to carry out a “rescan” of the eecd (environment enclosure control daemon). Restart the eecd using the following commands:
/etc/init.d/srvmagt stop /etc/init.d/eecd stop /etc/init.d/eecd rescan /etc/init.d/srvmagt start
3 Installing ServerView agents
3.5.8
Setting an administrative user
Only users belonging to the group that have Administrator privileges for ServerView can perform operations such as configuring Automatic Server Reconfiguration & Restart (ASR) settings (e.g. fans, temperature, restart
settings) for the monitored server and shutting down the server from ServerView Operations Manager. These operations require the administrative user's name and password.
The group with Administrator privileges is a group set to UserGroup, as described in"Configuring agents" on page 52.
To set an administrative user, proceed as follows: l Create a new user as an administrative user:
Log in as a root and execute the following commands:
1. Specify the group name that has Administrator privileges in the G option of the useradd command:
# useradd -G <group name that has Administrator privileges> <user name>
# passwd <user name>
For <user name>, specify a name for the user to be created. 2. Use the passwd command to set the password for the new user. The
password must be entered twice for verification.
The newly created user name is enabled when the password is set. For details of each command, refer to the useradd (8) and passwd (1) man page.
l Set the existing user as an administrative user.
If the user only belongs to the main group:
# usermod -G <group name that has Administrator privileges> <user name>
If the user belongs to multiple groups:
# usermod -G <group name that has Administrator privileges>,<user group,...> <user name>
Specify the group name that has Administrator privileges in the G option of the usermod command. To specify multiple groups, separate them with a comma ",". If the group to which the user previously belonged is not specified, the user is deleted from that group. Specify all groups to which the user is to belong.
For <user name>, specify the user name as an administrative user. For details of the usermod command, refer to the usermod (8) man page. You can also set the groups directly by using the vigr command or set them using GUI tools. For details, refer to the vigr (8) man page or the Red Hat Linux manuals.
3 Installing ServerView agents
3.5.9
Computer information change after installation
If the computer name or IP address of the server in which the ServerView Linux agent is installed for management is changed, you do not need to change the settings etc. on the ServerView Linux agent.
However, if you have previously edited the snmpd.conf file for an individual environment, edit the snmpd.conf file again if necessary.
After you have edited the snmpd.conf file, restart the snmpd service and the ServerView Linux agent as follows:
1. Log in as root.