Project

General

Profile

Install a CMI from a live image

Sample architecture proposed

Download vdi image for CMI

Contact support to get the link

Download vdi image for CMIX (nodes)

Contact support to get the link

Import to ESX server

TO DO

Video tutorial

You can watch video at Youtube http://www.youtube.com/watch?v=xvgHrG0xAwM

ScreenShots tutorial (alternative to video tutorial)

Start your VM image

Log as root, password 'viapps' and execute ./first_run.sh

Configure Networking. You must know to what VLAN are your device attached. If you have only one device ignore eth1

Provide IP for Chef Server. Nodes will connect to this IP to reach ChefServer. In the exemple 10.10.104.3
You can provide optional data for your httpd-ssl certificate

keys and cmi-client are erased. Provide an empty passphrase (press enter) for root keys that will be used by cmi to run chef commands as root

Accept (type 'yes') localhost fingerprint

An administrative client 'regenerator' has been used to switch cmi-client. You can delete it here (or later in the ChefWebUI)

Change MySQL root password, to "NEW_password_for_DB" in the example. Type old password 'viapps' to validate
Change CMI admin password, to "NEW_password_for_CMI-admin" in the example. Type now recent changed root MySQL password "NEW_password_for_DB" to validate
Reset for Chef WebUI admin is not functional. Password has been set to be 'viapps' (default in distribution was 'chef321go').
This password will be reset later in "Chef Server WebUI first login" section

The final steps listed in this text banner are required to be acomplished manually. Please check NTP. Please see further screenshots below for first Chef WebUI acces and CMI-portal config. A final reboot is provided. If you dont want to reboot, press Ctrl-C

Chef Server WebUI first login. Set admin password

NOTE: Admin password can be changed at any time in Users Tab, editing user admin.

Log on http://yourcmi:4040 (user admin, pass viapps)


Configure your CMI

Log on https://yourcmi (user admin, pass set in first run)

Setup Collector and Syslogger

Starting with v1517 first_run.sh calls this other two scripts:

update_rsyslog_conf.sh
update_collectd_conf.sh

You need them to set up CMI IP in syslogger and performance data collector for your new CMI.

Alternative: Provide CMI IP in /etc/rsyslog.conf and /etc/collectd.conf files. See Cmilogging and Cmicollectd