how to install Openstack kilo on Solaris 12 with oVS

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

First install MySQL and openstack

MySQL configuration

sample my.cnf

Now lets create a MySQL DB

Now start mysql

Update root password

Secure MySQL

Configure SMF

Stop the MySQL instance running from before and start with SMF

Create MySQL tables by running the below

Configure rabbitmq

/etc/rabbitmq/rabbitmq.config

Now enable the service

Add rabbitmq user

Configure keystone sample_data

Modify /usr/demo/openstack/keystone/sample_data.sh

Modify keystone config

First create a rnadom key

Now update the keystone.conf with the random key
Note: Replace admin_token ADMIN with random key

Add to root & keystone profile

Note: Make sure to re-source .bashrc to get the above variables set

Populate the keystone db entry’s

Check here for modified sample data

Now enable the keystone service

Configuring glance

Modify the below files

/etc/glance/glance-api.conf

/etc/glance/glance-cache.conf

/etc/glance/glance-registry.conf

/etc/glance/glance-scrubber.conf

Now enable all services

Configuring Nova
/etc/nova/nova.conf

/etc/nova/api-paste.ini

Enable the Nova SMF services.

Create .profile for nova

Configuring Horizon

Create a certifcate

export DASHBOARD=/etc/openstack_dashboard
cd ${DASHBOARD}
openssl req -new -x509 -nodes
-out horizon.crt -keyout horizon.key
Generating a 1024 bit RSA private key
..++++++
.++++++
writing new private key to ‘horizon.key’
—–
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter ‘.’, the field will be left blank.
—–
Country Name (2 letter code) []:US
State or Province Name (full name) []:New-York
Locality Name (eg, city) []:NY
Organization Name (eg, company) []:Devtech101
Organizational Unit Name (eg, section) []:IS
Common Name (e.g. server FQDN or YOUR name) []:os1.domain.com
Email Address []:admin@devtech101.com

chmod 0644 ${DASHBOARD}/*
chown webservd:webservd ${DASHBOARD}/*

Create Apache config file

Modify the file with you host/domian name /etc/apache2/2.4/conf.d/openstack-dashboard-tls.conf

In solaris 12, If Analytics is running on the node, redirect the Web BUI service and restart it

Enable the horizon service

Configure cinder

/etc/cinder/cinder.conf

If iSCSI targets are configured, enable the corresponding SMF services

Enable the Cinder SMF services

How to Configure the ZFS Storage Appliance iSCSI Cinder
Driver
ZFS ISCSI driver how to for juno build

Configure Neutron
/etc/neutron/neutron.conf

/etc/neutron/l3_agent.ini

/etc/neutron/plugins/ml2/ml2_conf.ini

Enable neutron server

/etc/neutron/dhcp_agent.ini

Enable DHCP agent

Leave a Reply

avatar
300
  Subscribe  
Notify of