This post details setting up mediasmartserverd under Centos 7 on an HP EX490. This allows for the status LED to be used as an indicator for updates and also the drive lights to be illuminated according to disk state/activity. The mediasmartserverd binary is built on the local machine:
yum -y install wget zip libudev-devel
yum -y groupinstall "Development Tools"
wget https://github.com/merelin/mediasmartserverd/archive/0.5.6.tar.gz
tar -zxvf 0.5.6.tar.gz
cd mediasmartserverd-0.5.6
make
cp mediasmartserverd /usr/local/sbin/
vi /usr/lib/systemd/system/mediasmartserverd.service

The enter the following into the file and exit with [Esc]:wq:

[Unit]
Description=MediaSmartServer

[Service]
ExecStart=/usr/local/sbin/mediasmartserverd --activity --update-monitor
Restart=always

[Install]
WantedBy=multi-user.target

Then enable and start the service:
systemctl enable mediasmartserverd.service
systemctl start mediasmartserverd.service

Advertisement
Posted in Uncategorized

One thought on “Setting up mediasmartserverd for Centos 7 on EX490

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.