Skip to content

INSTALL: Build Symphony Monitor

Steve Norledge edited this page Mar 3, 2015 · 3 revisions

Configure Symphony Monitor

This guide will walk through the process of the initial configuration after a base install of CentOS 7.0 provided by the scripts and guide from the Configure VM Host wiki page.

As with the other appliances, run stage 1 completely on all appliances before moving to stage2

Assumptions

  • Network
    • 1 network interface connected to symphony build network (eth0)
    • 1 network interface connected to cluster mangement (eth1) (to monitor bmc / cluster hardware)

(STAGE 1) Base Configuration

Base configuration will need to be performed directly on the host (virsh console is a useful tool for getting a console)

  • Setup Hostname
echo "symphony-monitor.mgt.symphony.local" > /etc/hostname
  • Disable Unused Services
systemctl stop NetworkManager
systemctl disable NetworkManager
  • Enable Firewall
systemctl enable firewalld
systemctl start firewalld
firewall-cmd --new-zone build --permanent
firewall-cmd --new-zone mgt --permanent
firewall-cmd --add-service ssh --zone build --permanent
firewall-cmd --reload
  • eth0 = build network
cat << EOF > /etc/sysconfig/network-scripts/ifcfg-eth0
IPV6INIT=no
BOOTPROTO=none
DEVICE=eth0
ONBOOT=yes
IPADDR=10.78.254.4
NETMASK=255.255.0.0
NETWORK=10.78.0.0
GATEWAY=10.78.254.1
ZONE=build
NM_CONTROLLED=no
EOF

*eth1 cluster management network

cat << EOF > /etc/sysconfig/network-scripts/ifcfg-eth1
IPV6INIT=no
BOOTPROTO=none
DEVICE=eth1
ONBOOT=yes
IPADDR=10.111.254.4
NETMASK=255.255.0.0
ZONE=mgt
NM_CONTROLLED=no
EOF
  • Update
yum -y --config=http://repo.alces-software.com/configs/centos/7/yum.conf update
  • packages:
yum -y --config=http://repo.alces-software.com/configs/centos/7/yum.conf install vim wget yum-utils emacs rsync
  • Reboot (Will remove from network)
  • reboot the machine, now is also the time to configure the host VM to sit on the correct bridge

(STAGE 2) Configure

  • Delete temp entries from host file
cat << EOF > /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
EOF
cat << EOF > /etc/resolv.conf
search mgt.symphony.local. symphony.local.
nameserver 10.78.254.1
EOF
  • Clone Symphony home
scp -pr symphony-director:/var/lib/symphony /var/lib/.
  • Firewall
firewall-cmd --add-port 8659/tcp --zone build --permanent
firewall-cmd --add-port 8649/udp --zone build --permanent
firewall-cmd --add-service http --zone build --permanent
firewall-cmd --reload

(STAGE 3) Puppet Run

  • Install puppet client
/var/lib/symphony/puppet/bin/install_client.sh
#Follow instructions (sign cert) 
puppet agent -t --environment=symphony
  • Nagios

  • Set Password

htpasswd /etc/nagios/passwd nagiosadmin
htpasswd /etc/nagios/passwd admin
  • Restart
shutdown -r now

Clone this wiki locally