#How to Update the ManageIQ code on a MIQ Server
- Shutdown EVM process, postrgresql, and memcached
su - miqbuilder
- Shutdown server
shutdown now
#cloud-config | |
users: | |
- default | |
- name: stack | |
lock_passwd: False | |
sudo: ["ALL=(ALL) NOPASSWD:ALL\nDefaults:stack !requiretty"] | |
shell: /bin/bash | |
write_files: |
sudo easy_install pip | |
sudo pip install python-openstackclient | |
pip install --upgrade distribute | |
nova --help |
sudo su - | |
rpm --import http://packages.elasticsearch.org/GPG-KEY-elasticsearch | |
cat <<EOF > /etc/yum.repos.d/logstash.repo | |
[logstash-1.4] | |
name=logstash repository for 1.4.x packages | |
baseurl=http://packages.elasticsearch.org/logstash/1.4/centos | |
gpgcheck=1 | |
gpgkey=http://packages.elasticsearch.org/GPG-KEY-elasticsearch | |
enabled=1 | |
EOF |
#How to Update the ManageIQ code on a MIQ Server
su - miqbuilder
shutdown now
#Sensu Enterprise ##Main Features
##Enterprise vs Core (Open Source Version) Feature Comparison ###TurnKey
yum install -y telnet vim wget | |
yum install -y java-1.7.0-openjdk | |
rpm --import http://packages.elasticsearch.org/GPG-KEY-elasticsearch | |
cat <<EOF > /etc/yum.repos.d/elasticsearch.repo | |
[elasticsearch-1.4] | |
name=Elasticsearch repository for 1.4.x packages | |
baseurl=http://packages.elasticsearch.org/elasticsearch/1.4/centos | |
gpgcheck=1 | |
gpgkey=http://packages.elasticsearch.org/GPG-KEY-elasticsearch | |
enabled=1 |
To get started developing ManageIQ, or to deploy on an OS other than CentOS or Red Hat Enterprise Linux (RHEL), there are a few steps to get started.
A lot of this has been automated in the ManageIQ kickstart file. Details on installing an image using a quickstart file are available from the Kickstart page on Fedora.
#Get list database owners | |
SELECT d.datname as "Name", | |
pg_catalog.pg_get_userbyid(d.datdba) as "Owner" | |
FROM pg_catalog.pg_database d | |
ORDER BY 1; |
git push -f origin last-release:master | |
where last-release is the commit id, or branch you want to reset master to. |
--------------------------------------------------------------------------- | |
| owner | group | everyone | | |
--------------------------------------------------------------------------- | |
| read | write | execute | read | write | execute | read | write | execute | | |
--------------------------------------------------------------------------- | |
| 400 | 200 | 100 | 40 | 20 | 10 | 4 | 2 | 1 | | |
---------------------------------------------------------------------------- |