hardy = 172.20.1.4lis.ncgr.org = 69.71.169.30mines.legumefederation.org or foobar123.ncgr.org)hardy.ncgr.org. in the appropriate DNS zone files. (hardy's IP address should not appear in any zones other than ncgr.org.)10.0.64 segment (leaving 10.0.1 for physical machines and 10.0.2-63 for development VMs)Here's an example Apache2 entry that provides name-based proxy-hosting to websites on the VM named mines. The host mines.legumeinfo.org will have a CNAME pointing to hardy.ncgr.org in the legumeinfo.org zone (which happens to be administered at Iowa State). Port 80 requests are redirected to port 443 so we have "https-only" hosting of this service.
(This configuration needs to be tested, it could be we need to put the SSL cert on hardy, but I don't think so.)
# mines.legumeinfo.org are served only over SSL
<VirtualHost *:80>
ServerName mines.legumeinfo.org
Redirect permanent / https://mines.legumeinfo.org/
</VirtualHost>
# SSL requests to mines.legumeinfo.org are served by the VM mines
<VirtualHost *:443>
ServerName mines.legumeinfo.org
ProxyPreserveHost On
ProxyRequests Off
ProxyPass / http://mines:443/
ProxyPassReverse / http://mines:443/
</VirtualHost>
Lines in /etc/smartmontools/smartd.conf:
################################################################################
## monitor /dev/sda and /dev/sdb (which is the same as /dev/sdc)
/dev/sda -m root -d cciss,0 -a -s L/../.././02
/dev/sda -m root -d cciss,1 -a -s L/../.././02
/dev/sdb -m root -d cciss,0 -a -s L/../.././02
################################################################################
Service smartd enabled (so it starts on boot) and started, results in following status:
● smartd.service - Self Monitoring and Reporting Technology (SMART) Daemon
Loaded: loaded (/usr/lib/systemd/system/smartd.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2020-03-19 16:16:43 MDT; 9min ago
Docs: man:smartd(8)
man:smartd.conf(5)
Main PID: 11632 (smartd)
Status: "Next check of 3 devices will start at 16:46:43"
Tasks: 1
CGroup: /system.slice/smartd.service
└─11632 /usr/sbin/smartd -n -q never
Mar 19 16:16:43 hardy systemd[1]: Starting Self Monitoring and Reporting Technology (SMART) Daemon...
Mar 19 16:16:43 hardy smartd[11632]: smartd 7.0 2018-12-30 r4883 [x86_64-linux-3.10.0-957.21.3.el7.x86_64] (local build)
Mar 19 16:16:43 hardy smartd[11632]: Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org
Mar 19 16:16:43 hardy smartd[11632]: Opened configuration file /etc/smartmontools/smartd.conf
Mar 19 16:16:43 hardy smartd[11632]: Configuration file /etc/smartmontools/smartd.conf parsed.
Mar 19 16:16:43 hardy smartd[11632]: Device: /dev/sda, type changed from 'sat,auto+cciss' to 'cciss'
Mar 19 16:16:43 hardy smartd[11632]: Device: /dev/sda [cciss_disk_00] [SCSI], opened
Mar 19 16:16:43 hardy smartd[11632]: Device: /dev/sda [cciss_disk_00] [SCSI], [HP EH0300JDYTH HPD6], lu id: 0x5000cca05b70ae0c, S/N: 0THZZ24P, 300 GB
Mar 19 16:16:43 hardy smartd[11632]: Device: /dev/sda [cciss_disk_00] [SCSI], is SMART capable. Adding to "monitor" list.
Mar 19 16:16:43 hardy smartd[11632]: Device: /dev/sda, type changed from 'sat,auto+cciss' to 'cciss'
Mar 19 16:16:43 hardy smartd[11632]: Device: /dev/sda [cciss_disk_01] [SCSI], opened
Mar 19 16:16:43 hardy smartd[11632]: Device: /dev/sda [cciss_disk_01] [SCSI], [HP EH0300JDYTH HPD6], lu id: 0x5000cca05b711274, S/N: 0TJ05SEP, 300 GB
Mar 19 16:16:43 hardy smartd[11632]: Device: /dev/sda [cciss_disk_01] [SCSI], is SMART capable. Adding to "monitor" list.
Mar 19 16:16:43 hardy smartd[11632]: Device: /dev/sdb, type changed from 'sat,auto+cciss' to 'sat'
Mar 19 16:16:43 hardy smartd[11632]: Device: /dev/sdb [cciss_disk_00] [SAT], opened
Mar 19 16:16:43 hardy smartd[11632]: Device: /dev/sdb [cciss_disk_00] [SAT], VK0800GDJYA, S/N:BTWL438402N8800RGN, WWN:5-5cd2e4-04b6e933b, FW:4IWVHPG1, 800 GB
Mar 19 16:16:43 hardy smartd[11632]: Device: /dev/sdb [cciss_disk_00] [SAT], not found in smartd database.
Mar 19 16:16:43 hardy smartd[11632]: Device: /dev/sdb [cciss_disk_00] [SAT], not capable of SMART Health Status check
Mar 19 16:16:43 hardy smartd[11632]: Device: /dev/sdb [cciss_disk_00] [SAT], can't monitor Current_Pending_Sector count - no Attribute 197
Mar 19 16:16:43 hardy smartd[11632]: Device: /dev/sdb [cciss_disk_00] [SAT], can't monitor Offline_Uncorrectable count - no Attribute 198
Mar 19 16:16:43 hardy smartd[11632]: Device: /dev/sdb [cciss_disk_00] [SAT], is SMART capable. Adding to "monitor" list.
Mar 19 16:16:43 hardy smartd[11632]: Monitoring 1 ATA/SATA, 2 SCSI/SAS and 0 NVMe devices
Mar 19 16:16:43 hardy systemd[1]: Started Self Monitoring and Reporting Technology (SMART) Daemon.