Table of Contents

Optum-specific Conventions

timbrado-${__time(yyyyMMddHHmmss)}

Storage Conventions

Bluejay Controller

Platform Installation Overview

Configure Jenkins for Bluejay

Component Installation

MariaDB Installation

Previously-mentioned package install via yum installs the software
Configuration is in /etc/my.cnf and /etc/my.cnf.d:


Apache Installation

Previously-mentioned package install via yum installs the software Edit /etc/httpd/conf/httpd.conf:

Open firewall for Apache:

firewall-cmd --permanent --zone=public --add-port=80/tcp
firewall-cmd --reload

Perform the typical systemctl enable httpd and service httpd start for startup


InfluxDB Installation

Resource Clustering InfluxDB ...

Create the file /etc/yum.repos.d/influxdb.repo with this content:

[influxdb]
name = InfluxDB Repository - RHEL $releasever
baseurl = https://repos.influxdata.com/rhel/$releasever/$basearch/stable
enabled = 1
gpgcheck = 1
gpgkey = https://repos.influxdata.com/influxdb.key

… then, do a yum update and yum install influxdb
Open firewall for InfluxDB:

firewall-cmd --permanent --zone=public --add-port=8086/tcp
firewall-cmd --permanent --zone=public --add-port=8083/tcp
firewall-cmd --reload

Edit /etc/influxdb/influxdb.conf and:

Ensure /var/run/influxdb and /var/lib/influxdb exist and are owned correctly

Remember to systemctl enable influxdb and service influxdb start

InfluxDB Auth

See: InfluxDB auth

create user admin with password 'somepassword' with all privileges;
create user jmeter with password 'somepassword';
create database jmeter;
grant [READ,WRITE,ALL] on "jmeter" TO "jmeter";
revoke [READ,WRITE,ALL] on "jmeter" from "jmeter";

Grafana Installation

Create the file /etc/yum.repos.d/grafana.repo with this content:

[grafana]
name=grafana
baseurl=https://packagecloud.io/grafana/stable/el/7/$basearch
repo_gpgcheck=1
enabled=1
gpgcheck=1
gpgkey=https://packagecloud.io/gpg.key https://grafanarel.s3.amazonaws.com/RPM-GPG-KEY-grafana
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt

… then, do a yum update and yum install grafana
Open firewall for Grafana:

firewall-cmd --permanent --zone=public --add-port=3000/tcp
firewall-cmd --reload

Remember to systemctl enable grafana-server and service grafana-server start
Log in (default login is admin with password admin) and change password, add user(s)
Install the InfluxDB datasource plugin (find in plugins section, follow instructions)

LDAP for Grafana

Edit /etc/grafana/grafana.ini:

[auth.ldap]
enabled = true
config_file = /etc/grafana/ldap.toml
allow_sign_up = true

Edit /etc/grafana/ldap.toml:


Jenkins & Maven Installation

See Jenkins Topics


Bluejay LG Node



Trivia

Optum-specific Admin Concerns

UID/GID

EPEL

## RHEL/CentOS 7 64-Bit ##
# wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
# rpm -ivh epel-release-latest-7.noarch.rpm

yum –enablerepo=epel info pkgname
yum –enablerepo=epel install pkgname

Re-sizing /opt

If /opt happens to be an XFS filesystem, resizing can be done “live”. Otherwise, in order to unmount /opt to manipulate it, all processes holding files open on the filesystem have to be shut down, including:

/etc/init.d/opsware-agent stop
/etc/init.d/vasd stop
service postfix stop
service dbus stop

Edit /etc/nsswitch.conf to comment out lines with vas4 in them, then kill -HUP <pid-of-nss-process>

Perform the whole thing in reverse when /opt is resized

Some Problems/Resolutions

FIPS-compliant Venafi-generated SSL certs

This problem: http://openssl.6102.n7.nabble.com/DEK-info-FIPS-openssl-td23289.html
… is resolved by downloading cert from Venafi in PKCS#8 format