先日、CentOS 6.7に富士通のServerView RAID Managerをインストールしました。
Install Fujistsu ServerView RAID Manager on CentOS 6.7
https://www.rootlinks.net/2016/01/25/install-fujistsu-serverview-raid-manager-on-centos-6-7/
VMware Workstation 11にインストールしたCentOS 6.7(64bit)の仮想マシンという特殊な環境ですがインストールの勉強として、今回はServerView Agents for Linuxをインストールしてみます。
今回も取り敢えず動きそうなプログラムを探しました。
ServerView Agents for Linux / Citrix XenServer V7.20.10(2版)
http://azby.fmworld.net/app/customer/driversearch/ia/drviadownload?driverNumber=F1020446
- ダウンロード
- 展開
- kmod-smbusインストール
- snmp起動
- Agentsインストール
- Agentsステータス
- 自動起動
1 2 3 4 5 6 7 8 9 10 11 |
[root@host01 src]# wget http://www.fmworld.net/download-ia/F1020446/F1020446.tar.gz --2016-01-25 18:52:45-- http://www.fmworld.net/download-ia/F1020446/F1020446.tar.gz www.fmworld.net をDNSに問いあわせています... 202.248.141.106 www.fmworld.net|202.248.141.106|:80 に接続しています... 接続しました。 HTTP による接続要求を送信しました、応答を待っています... 200 OK 長さ: 90280491 (86M) [application/x-gzip] `F1020446.tar.gz' に保存中 100%[======================================>] 90,280,491 3.27M/s 時間 25s 2016-01-25 18:53:15 (3.43 MB/s) - `F1020446.tar.gz' へ保存完了 [90280491/90280491] |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
[root@host01 src]# tar xvfz F1020446.tar.gz ServerView/Linux/ ServerView/Linux/Agentless_Service/ ServerView/Linux/Agentless_Service/SV_Agentless_Service_Lx_V720-10.scexe ServerView/Linux/Agentless_Service/ThirdPartyLicenseReadme_SVAS.txt ServerView/Linux/Agentless_Service/ThirdPartyLicenseReadme_SVAS_SVRaid.txt ServerView/Linux/Agents/ ServerView/Linux/Agents/x86/ ServerView/Linux/Agents/x86/readme_V7.20-10_en.txt ServerView/Linux/Agents/x86/readme_V7.20-10_fr.txt ServerView/Linux/Agents/x86/readme_V7.20-10_ja.txt ServerView/Linux/Agents/x86/ServerViewConnectorService-2.10.03-00.i386.rpm ServerView/Linux/Agents/x86/srv-cimprovider-7.20-10.x86_64.rpm ServerView/Linux/Agents/x86/srvmagt.8.html ServerView/Linux/Agents/x86/srvmagt.sh ServerView/Linux/Agents/x86/srvmagt-agents-7.20-10.i686.rpm ServerView/Linux/Agents/x86/srvmagt-eecd-7.20-10.i686.rpm ServerView/Linux/Agents/x86/srvmagt-mods_src-7.20-10.i686.rpm ServerView/Linux/Agents/x86/SSMWebUI-7.20-10.noarch.rpm ServerView/Linux/Agents/x86/ThirdPartyLicenseReadme.txt ServerView/Linux/Agents/x86_64/ ServerView/Linux/Agents/x86_64/readme_V7.20-10_en.txt ServerView/Linux/Agents/x86_64/readme_V7.20-10_fr.txt ServerView/Linux/Agents/x86_64/readme_V7.20-10_ja.txt ServerView/Linux/Agents/x86_64/ServerViewConnectorService-2.10.03-01.x86_64.rpm ServerView/Linux/Agents/x86_64/srv-cimprovider-7.20-10.x86_64.rpm ServerView/Linux/Agents/x86_64/srvmagt.8.html ServerView/Linux/Agents/x86_64/srvmagt.sh ServerView/Linux/Agents/x86_64/srvmagt-agents-7.20-10.x86_64.rpm ServerView/Linux/Agents/x86_64/srvmagt-eecd-7.20-10.x86_64.rpm ServerView/Linux/Agents/x86_64/srvmagt-mods_src-7.20-10.x86_64.rpm ServerView/Linux/Agents/x86_64/SSMWebUI-7.20-10.noarch.rpm ServerView/Linux/Agents/x86_64/ThirdPartyLicenseReadme.txt ServerView/Linux/RHDUP/ ServerView/Linux/RHDUP/RHEL5/ ServerView/Linux/RHDUP/RHEL5/rhel5-u10/ ServerView/Linux/RHDUP/RHEL5/rhel5-u10/LicenseReadme.txt ServerView/Linux/RHDUP/RHEL5/rhel5-u10/srvmagt-modules-6.30.16-1-000.i386.iso ServerView/Linux/RHDUP/RHEL5/rhel5-u10/srvmagt-modules-6.30.16-1-000.x86_64.iso ServerView/Linux/RHDUP/RHEL5/rhel5-u11/ ServerView/Linux/RHDUP/RHEL5/rhel5-u11/LicenseReadme.txt ServerView/Linux/RHDUP/RHEL5/rhel5-u11/srvmagt-modules-6.30.16-1-007.i386.iso ServerView/Linux/RHDUP/RHEL5/rhel5-u11/srvmagt-modules-6.30.16-1-007.x86_64.iso ServerView/Linux/RHDUP/RHEL6/ ServerView/Linux/RHDUP/RHEL6/rhel6-u6/ ServerView/Linux/RHDUP/RHEL6/rhel6-u6/LicenseReadme.txt ServerView/Linux/RHDUP/RHEL6/rhel6-u6/srvmagt-modules-6.30.16-1-005.i386.iso ServerView/Linux/RHDUP/RHEL6/rhel6-u6/srvmagt-modules-6.30.16-1-005.x86_64.iso ServerView/Linux/RHDUP/RHEL6/rhel6-u7/ ServerView/Linux/RHDUP/RHEL6/rhel6-u7/LicenseReadme.txt ServerView/Linux/RHDUP/RHEL6/rhel6-u7/srvmagt-modules-6.30.16-3-006.i386.iso ServerView/Linux/RHDUP/RHEL6/rhel6-u7/srvmagt-modules-6.30.16-3-006.x86_64.iso ServerView/Linux/RHDUP/RHEL7/ ServerView/Linux/RHDUP/RHEL7/rhel7-u1/ ServerView/Linux/RHDUP/RHEL7/rhel7-u1/LicenseReadme.txt ServerView/Linux/RHDUP/RHEL7/rhel7-u1/srvmagt-modules-6.30.16-2-004.x86_64.iso ServerView/Linux/RHDUP/RHEL7/rhel7-u2/ ServerView/Linux/RHDUP/RHEL7/rhel7-u2/LicenseReadme.txt ServerView/Linux/RHDUP/RHEL7/rhel7-u2/srvmagt-modules-6.30.16-3-005.x86_64.iso ServerView/Manual/ ServerView/Manual/History_LinuxAgents.txt ServerView/Manual/History_LinuxAgents_euc.txt ServerView/Manual/History_LinuxAgents_utf8.txt ServerView/Manual/kmod-smbus.txt ServerView/Manual/kmod-smbus_euc.txt ServerView/Manual/kmod-smbus_utf8.txt ServerView/Manual/readme.txt ServerView/Manual/readme_euc.txt ServerView/Manual/readme_utf8.txt ServerView/Manual/sv-asm-overview-jp.pdf ServerView/Manual/sv-install-linux-agent-jp.pdf ServerView/Manual/sv-ssm-jp.pdf |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
[root@host01 src]# mount -o loop ServerView/Linux/RHDUP/RHEL6/rhel6-u7/srvmagt-modules-6.30.16-3-006.x86_64.iso /mnt [root@host01 src]# ls -l /mnt/rpms/x86_64/ 合計 62 -r--r--r--. 2 root root 40264 7月 10 20:12 2015 kmod-smbus-6.30.16-3.x86_64.rpm -r--r--r--. 2 root root 8180 4月 13 23:12 2015 primergy-dup-6.7-1.noarch.rpm -r--r--r--. 2 root root 12680 7月 10 20:12 2015 primergy-smbus-6.30.16-3.x86_64.rpm dr-xr-xr-x. 2 root root 2048 7月 10 20:48 2015 repodata [root@host01 src]# rpm -ivh /mnt/rpms/x86_64/primergy-dup-6.7-1.noarch.rpm 警告: /mnt/rpms/x86_64/primergy-dup-6.7-1.noarch.rpm: ヘッダ V3 DSA/SHA1 Signature, key ID 79444536: NOKEY 準備中... ########################################### [100%] 1:primergy-dup ########################################### [100%] [root@host01 src]# rpm -ivh /mnt/rpms/x86_64/primergy-smbus-6.30.16-3.x86_64.rpm 警告: /mnt/rpms/x86_64/primergy-smbus-6.30.16-3.x86_64.rpm: ヘッダ V3 DSA/SHA1 Signature, key ID 79444536: NOKEY 準備中... ########################################### [100%] 1:primergy-smbus ########################################### [100%] [root@host01 src]# rpm -ivh /mnt/rpms/x86_64/kmod-smbus-6.30.16-3.x86_64.rpm 警告: /mnt/rpms/x86_64/kmod-smbus-6.30.16-3.x86_64.rpm: ヘッダ V3 DSA/SHA1 Signature, key ID 79444536: NOKEY 準備中... ########################################### [100%] 1:kmod-smbus ########################################### [100%] |
1 2 3 4 5 6 |
[root@host1 Agents]# chkconfig snmpd on [root@host1 Agents]# chkconfig snmptrapd on [root@host01 src]# /etc/init.d/snmpd start snmpd を起動中: [ OK ] [root@host01 src]# /etc/init.d/snmptrapd start snmptrapd を起動中: [ OK ] |
opensslの32bitモジュールをチェックしているようで「そのようなファイルやディレクト リはありません」とのエラーが表示されていますが無視しても大丈夫そうです。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 |
[root@host01 src]# ls -l ServerView/Linux/Agents/x86_64/ 合計 21428 -r-xr-xr-x. 1 root root 1589169 11月 9 14:40 2015 SSMWebUI-7.20-10.noarch.rpm -r-xr-xr-x. 1 root root 709876 11月 6 12:55 2015 ServerViewConnectorService-2.10.03-01.x86_64.rpm -r-xr-xr-x. 1 root root 75889 11月 9 14:41 2015 ThirdPartyLicenseReadme.txt -r-xr-xr-x. 1 root root 42314 11月 9 14:41 2015 readme_V7.20-10_en.txt -r-xr-xr-x. 1 root root 47052 11月 9 14:41 2015 readme_V7.20-10_fr.txt -r-xr-xr-x. 1 root root 52713 11月 9 14:41 2015 readme_V7.20-10_ja.txt -r-xr-xr-x. 1 root root 3080832 11月 9 14:01 2015 srv-cimprovider-7.20-10.x86_64.rpm -r-xr-xr-x. 1 root root 9642042 11月 9 14:36 2015 srvmagt-agents-7.20-10.x86_64.rpm -r-xr-xr-x. 1 root root 6417349 11月 9 14:36 2015 srvmagt-eecd-7.20-10.x86_64.rpm -r-xr-xr-x. 1 root root 59258 11月 9 14:36 2015 srvmagt-mods_src-7.20-10.x86_64.rpm -r-xr-xr-x. 1 root root 11475 11月 9 14:41 2015 srvmagt.8.html -r-xr-xr-x. 1 root root 191780 11月 9 14:41 2015 srvmagt.sh [root@host01 src]# cd ServerView/Linux/Agents/x86_64/ [root@host01 x86_64]# ./srvmagt.sh -h x - created lock directory `/tmp/_sh16576'. x - created directory `/tmp/srvmagt16568'. x - extracting /tmp/srvmagt16568/configureSNMP (text) x - extracting /tmp/srvmagt16568/functions (text) x - extracting /tmp/srvmagt16568/readme.txt (text) x - extracting /tmp/srvmagt16568/srvmagt.8 (text) x - extracting /tmp/srvmagt16568/srvmagt_de.msg (text) x - extracting /tmp/srvmagt16568/srvmagt.sh (text) x - removed lock directory `/tmp/_sh16576'. Installation script for ServerView Agents Linux v7.20-10 (c) Fujitsu Technology Solutions 2015 Usage: srvmagt [-f] [-n] [-R] [-h|--help] [-p path] [-v vers] [--ssm inst] [-V] \ [{install|start|restart|status|diag|stop|remove}] -h|--help display this information and exit --version display the script version and exit --ssm install | not-install determines the installation of ServerView System Monitor (default: install) -f force intended action against an issued warning/rejection -n do not start the ServerView Agent processes after installation -R install ServerView RAID package if available -p path indicates the path where the packages are located (default: .) -v vers indicates the version to handle (default: script version) -V log more information on progress install install (upgrade) ServerView Agent packages start start ServerView Agent processes restart stop followed by start status show ServerView Agent status diag collect ServerView Agent diagnostic information stop stop ServerView Agent processes remove remove ServerView Agent packages You need root privileges. See also srvmagt(8). [root@host01 x86_64]# ./srvmagt.sh install x - created lock directory `/tmp/_sh16576'. x - extracting /tmp/srvmagt16568/configureSNMP (text) x - extracting /tmp/srvmagt16568/functions (text) x - extracting /tmp/srvmagt16568/readme.txt (text) x - extracting /tmp/srvmagt16568/srvmagt.8 (text) x - extracting /tmp/srvmagt16568/srvmagt_de.msg (text) x - extracting /tmp/srvmagt16568/srvmagt.sh (text) x - removed lock directory `/tmp/_sh16576'. Installation script for ServerView Agents Linux v7.20-10 (c) Fujitsu Technology Solutions 2015 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 Installing ServerView Agents Linux '7.20-10' from '/usr/local/src/ServerView/Linux/Agents/x86_64' ... The required package 'ServerViewConnectorService' is not installed! 準備中... ########################################### [100%] 1:ServerViewConnectorServ########################################### [100%] ls: cannot access /usr/lib/libssl.so.[1-9][0-9]: そのようなファイルやディレクト リはありません ls: cannot access /lib/libssl.so.[4-6]: そのようなファイルやディレクトリはありません ls: cannot access /usr/lib/libcrypto.so.[1-9][0-9]: そのようなファイルやディレクトリはありません ls: cannot access /lib/libcrypto.so.[4-6]: そのようなファイルやディレクトリはあ りません [Mon Jan 25 19:12:12 2016] start time of: /opt/fujitsu/ServerViewSuite/SCS/SVRemoteConnector V2.10.03 [ServerView Remote Connector] Copyright (C) Fujitsu Technology Solutions 2009-2015 All rights reserved [Mon Jan 25 19:12:17 2016] start time of: /opt/fujitsu/ServerViewSuite/SCS/SVRemoteConnector V2.10.03 [ServerView Remote Connector] Copyright (C) Fujitsu Technology Solutions 2009-2015 All rights reserved Native Net-SNMP agent not yet configured Enter value for sysLocation: [C=Cancel]> RootLinks sysLocation: RootLinks Enter value for sysContact: [C=Cancel]> admin sysContact: admin Enter value for Trap destination: HOST [COMMUNITY [PORT]] [C=Cancel]> 127.0.0.1 Enter value for Trap destination: HOST [COMMUNITY [PORT]] [C=Cancel]> C 準備中... ########################################### [100%] 1:srvmagt-mods_src ########################################### [100%] 準備中... ########################################### [100%] Checking ServerView SVRemoteConnector: stopped 1:srvmagt-eecd ########################################### [100%] 準備中... ########################################### [100%] 1:srvmagt-agents ########################################### [100%] Shutting down ServerView scagt (stopped)[ OK ] Shutting down ServerView sc2agt (stopped)[ OK ] Shutting down ServerView busagt (stopped)[ OK ] Shutting down ServerView hdagt (stopped)[ OK ] Shutting down ServerView unixagt (stopped)[ OK ] Shutting down ServerView etheragt (stopped)[ OK ] Shutting down ServerView biosagt (stopped)[ OK ] Shutting down ServerView securagt (stopped)[ OK ] Shutting down ServerView statusagt (stopped)[ OK ] Shutting down ServerView invagt (stopped)[ OK ] Shutting down ServerView thragt (stopped)[ OK ] Shutting down ServerView vvagt (stopped)[ OK ] Shutting down ServerView hpsimagt (stopped)[ OK ] Shutting down ServerView svupdateagt (stopped)[ OK ] Shutting down ServerView osagt (stopped)[ OK ] Shutting down ServerView vmeagt (stopped)[ OK ] Shutting down ServerView vmesnmpagt (stopped)[ OK ] snmpd を停止中: [ OK ] snmpd を起動中: [ OK ] Package 'srv-cimprovider' can not be installed: no suitable CIMOM found (might be OK). 準備中... ########################################### [100%] 1:SSMWebUI ########################################### [100%] Installing '7.20-10' srvmagt packages from '/usr/local/src/ServerView/Linux/Agents/x86_64' succeeded!. Installing packages completed with status 0 (OK status). Starting ServerView Agents Linux ... Waiting until ServerView-RAID service is listening on port #3173 done (30) Starting ServerView service eecd [ OK ] Waiting for eecd sockets done (293) Starting ServerView scagt -d [ OK ] Starting ServerView sc2agt -d [ OK ] Starting ServerView busagt -d [ OK ] Starting ServerView hdagt -d [ OK ] Starting ServerView unixagt -d [ OK ] Starting ServerView etheragt -d [ OK ] Starting ServerView biosagt -d [ OK ] Starting ServerView securagt -d [ OK ] Starting ServerView statusagt -d [ OK ] Starting ServerView invagt -d [ OK ] Starting ServerView thragt -d [ OK ] Starting ServerView vvagt -d [ OK ] Starting ServerView hpsimagt -d [ OK ] Starting ServerView svupdateagt -d [ OK ] Starting ServerView osagt -d [ OK ] Starting ServerView vmeagt -d -p /etc/srvmagt/VME [ OK ] Starting ServerView vmesnmpagt -d -p /etc/srvmagt/VME [ OK ] Starting ServerView SVRemoteConnector [ OK ] Waiting for Inventory data done (206) Starting completed with status 0 (OK status). |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
[root@host01 x86_64]# ./srvmagt.sh status x - created lock directory `/tmp/_sh16576'. x - extracting /tmp/srvmagt16568/configureSNMP (text) x - extracting /tmp/srvmagt16568/functions (text) x - extracting /tmp/srvmagt16568/readme.txt (text) x - extracting /tmp/srvmagt16568/srvmagt.8 (text) x - extracting /tmp/srvmagt16568/srvmagt_de.msg (text) x - extracting /tmp/srvmagt16568/srvmagt.sh (text) x - removed lock directory `/tmp/_sh16576'. Installation script for ServerView Agents Linux v7.20-10 (c) Fujitsu Technology Solutions 2015 Getting status of ServerView Agents Linux ... Server model: PRIMERGY VIRTUAL MACHINE Hostname: host01 (192.168.1.22) Operating system: CentOS 6.7 [RHEL6] Linux kernel: 2.6.32-573.el6.x86_64 on x86_64, SELinux Enforcing, EDAC disabled, reference system ServerView kmp modules: kmod-smbus 6.30.16-3, Mon Jan 25 19:06:28 2016 ServerView modules: srvmagt-mods_src 7.20-10, Mon Jan 25 19:13:07 2016 ServerView eecd: srvmagt-eecd 7.20-10, Mon Jan 25 19:13:08 2016 ServerView SNMP subagents: srvmagt-agents 7.20-10, Mon Jan 25 19:13:32 2016 ServerView CIM provider: not installed System Monitor Web UI: SSMWebUI 7.20-10, Mon Jan 25 19:13:34 2016 ServerView Remote Connector: ServerViewConnectorService 2.10.03-01, Mon Jan 25 19:12:12 2016 ServerView Raid: ServerView_RAID 6.3-3.el6, Mon Jan 25 18:41:54 2016 SNMP service: net-snmp 5.5-54.el6, Sun Jan 24 23:57:12 2016 ServerView module smbus: exists, unloaded, /dev/pci/smbus missing Native IPMI modules: requested, unloaded, /dev/ipmi0 missing SNMP daemon (snmpd): running (12773), UDP #161 OK, AgentX socket OK SNMP communication OK RAID daemon (amDaemon): running (2004), TCP 3173 OK ServerView eecd daemon: running (12862), /dev/eecd[as] OK SVRemoteConnector: running (13605), TCP 3172 OK ServerView scagt: running (13303), status OK (1) ServerView sc2agt: running (13315), status OK (1) ServerView busagt: running (13325), status OK (1) ServerView hdagt: running (13335), status OK (1) ServerView unixagt: running (13345), status OK (1) ServerView etheragt: running (13355), status OK (1) ServerView biosagt: running (13365), status OK (1) ServerView securagt: running (13377), status OK (1) ServerView statusagt: running (13387), status OK (1) ServerView invagt: running (13397), status OK (1) ServerView thragt: running (13408), status OK (1) ServerView vvagt: running (13424), status OK (1) ServerView hpsimagt: running (13434), status OK (1) ServerView vmeagt: running (13499), status OK (1) ServerView svupdateagt: running (13451), status OK (1) ServerView osagt: running (13469), status OK (1) ServerView vmesnmpagt: running (13521), status OK (1) Getting status completed with result 0 (OK status). |
1 2 3 4 5 6 |
[root@host01 x86_64]# chkconfig --list | grep eecd eecd 0:off 1:off 2:on 3:on 4:on 5:on 6:off eecd_mods_src 0:off 1:off 2:on 3:on 4:on 5:on 6:off [root@host01 x86_64]# chkconfig --list | grep srvmagt srvmagt 0:off 1:off 2:on 3:on 4:on 5:on 6:off srvmagt_scs 0:off 1:off 2:on 3:on 4:on 5:on 6:off |
ステータスでServer model: PRIMERGY VIRTUAL MACHINEと表示されてモジュール関連も大丈夫そうなのでインストールできたのかな:-)