I need some help while I still have hair left on my head.
Lately, I've been working on deploying a Fujitsu TX1330 M3 for a small business client. The client requested that I use Ubuntu Server 16.04.3 LTS for the operating system, which I thought was fine as I have good experience with Ubuntu. The installation went quite okay, with a fair amount of trial and error.
But on to the matter at hand. The TX1330 M3 comes with iRMC S4, which I would like to use, both for monitoring the server, and to send a graceful shutdown command to Ubuntu when the mains power falls out. (The server is equipped with a Fujitsu Battery Unit which takes over for a few minutes)
As I understand, there are two options which can be installed in the OS to enable this, Serverview Agents and Serverview Agentless Management. However, Fujitsu only provides .rpm packages for use on SuSE and Red Hat Linux, not Ubuntu.
Still, I was able to find Serverview Agents and ServerView RAID Manager for Ubuntu 16.04 here:
ftp://ftp.ts.fujitsu.com/community-linu ... lts/16.04/
I've downloaded both packages and installed them on the server using gdebi, and the installations complete without errors.
The next problem occurs when I run the command srvmagt.
Code: Select all
sandman@Pegasus:~/serverview_agents_install$ srvmagt
/usr/sbin/srvmagt: 16: /etc/srvmagt/functions: Syntax error: "(" unexpected
However, this seems to be caused by /usr/sbin/srvmagt being written for bash, but the shebang specifies #!/bin/sh. In newer versions of Ubuntu, this calls a dash shell, not bash. Changing this to #!/bin/bash causes the script to run normally, but with a lot of errors:
Code: Select all
sandman@Pegasus:~/serverview_agents_install$ sudo srvmagt
Installation script for ServerView Agents Linux v7.00-10
(c) Fujitsu Technology Solutions 2014
/usr/sbin/srvmagt: line 299: rpm: command not found
/usr/sbin/srvmagt: line 299: rpm: command not found
/usr/sbin/srvmagt: line 299: rpm: command not found
/usr/sbin/srvmagt: line 299: rpm: command not found
/usr/sbin/srvmagt: line 299: rpm: command not found
Getting status of ServerView Agents Linux ...
Server model: PRIMERGY TX1330 M3
Hostname: Pegasus (192.168.1.65)
Operating system: Ubuntu 16.04.3 LTS [DEBIAN]
Linux kernel: 4.4.0-98-generic on x86_64, SELinux unknown, EDAC disabled, target system
/usr/sbin/srvmagt: line 724: rpm: command not found
ServerView modules: not installed
/usr/sbin/srvmagt: line 727: rpm: command not found
ServerView eecd: not installed
/usr/sbin/srvmagt: line 730: rpm: command not found
ServerView SNMP subagents: not installed
/usr/sbin/srvmagt: line 733: rpm: command not found
ServerView CIM provider: not installed
/usr/sbin/srvmagt: line 736: rpm: command not found
ServerView System Monitor: not installed
/usr/sbin/srvmagt: line 739: rpm: command not found
ServerView Remote Connector: not installed
/usr/sbin/srvmagt: line 742: rpm: command not found
ServerView Raid: not installed
/usr/sbin/srvmagt: line 745: rpm: command not found
SNMP service: not installed
ServerView module smbus: missing, unloaded, /dev/pci/smbus missing
Native IPMI modules: requested, loaded, /dev/ipmi0 missing
SNMP daemon (snmpd): running (3345), UDP #161 OK, AgentX socket OK SNMP communication OK
RAID daemon (amDaemon): running (4169), TCP 3173 OK
ServerView eecd daemon: no such process found.
SVRemoteConnector: no such program file found.
ServerView scagt: no such process found.
ServerView sc2agt: no such process found.
ServerView busagt: no such process found.
ServerView hdagt: no such process found.
ServerView unixagt: no such process found.
ServerView etheragt: no such process found.
ServerView biosagt: no such process found.
ServerView securagt: no such process found.
ServerView statusagt: no such process found.
ServerView invagt: no such process found.
ServerView thragt: no such process found.
ServerView vvagt: no such process found.
ServerView hpsimagt: no such process found.
ServerView vmeagt: no such process found.
ServerView svupdateagt: no such process found.
ServerView osagt: no such process found.
Getting status completed with result 0 (OK status).
As you can see, the script still calls for the rpm command several times; this of course doesn’t work on stock Ubuntu. But it can be installed with apt-get, and running the command again after installing rpm gives us:
Code: Select all
sandman@Pegasus:~/serverview_agents_install$ sudo srvmagt
Installation script for ServerView Agents Linux v7.00-10
(c) Fujitsu Technology Solutions 2014
Getting status of ServerView Agents Linux ...
Server model: PRIMERGY TX1330 M3
Hostname: Pegasus (192.168.1.65)
Operating system: Ubuntu 16.04.3 LTS [DEBIAN]
Linux kernel: 4.4.0-98-generic on x86_64, SELinux unknown, EDAC disabled, target system
ServerView modules: not installed
ServerView eecd: not installed
ServerView SNMP subagents: not installed
ServerView CIM provider: not installed
ServerView System Monitor: not installed
ServerView Remote Connector: not installed
ServerView Raid: not installed
SNMP service: not installed
ServerView module smbus: missing, unloaded, /dev/pci/smbus missing
Native IPMI modules: requested, loaded, /dev/ipmi0 missing
SNMP daemon (snmpd): running (3345), UDP #161 OK, AgentX socket OK SNMP communication OK
RAID daemon (amDaemon): running (4169), TCP 3173 OK
ServerView eecd daemon: no such process found.
SVRemoteConnector: no such program file found.
ServerView scagt: no such process found.
ServerView sc2agt: no such process found.
ServerView busagt: no such process found.
ServerView hdagt: no such process found.
ServerView unixagt: no such process found.
ServerView etheragt: no such process found.
ServerView biosagt: no such process found.
ServerView securagt: no such process found.
ServerView statusagt: no such process found.
ServerView invagt: no such process found.
ServerView thragt: no such process found.
ServerView vvagt: no such process found.
ServerView hpsimagt: no such process found.
ServerView vmeagt: no such process found.
ServerView svupdateagt: no such process found.
ServerView osagt: no such process found.
Getting status completed with result 0 (OK status).
As I am apparently missing a lot of components of Serverview, I try to install these with
Code: Select all
sudo srvmagt install
but this only tells me the following:
Code: Select all
sandman@Pegasus:~/serverview_agents_install$ sudo srvmagt install
Installation script for ServerView Agents Linux v7.00-10
(c) Fujitsu Technology Solutions 2014
Software License Agreement for End Users and Third Party License, see
/usr/share/doc/packages/srvmagt-agents,
/usr/share/doc/packages/srvmagt-eecd and
/usr/share/srv-cimprovider/doc
There is probably no matching kernel source for kernel version 4.4.0-98-generic installed. For details see /var/log/messages.
Is there anybody here on this forum who can help me with how to move forward with this project?
Any help at all will be greatly appreciated.
SandMan