Posts

Showing posts from July, 2018

Create ssl certificate for undercloud

If you do not have a trusted CA signed certificate file, you can alternatively generate a self-signed certificate file using the following command: openssl genrsa -out privkey.pem 2048 The next command will prompt for some identification details. Most of these don’t matter, but make sure the  Common Name  entered matches the value of  undercloud_public_vip  in undercloud.conf: openssl req -new -x509 -key privkey.pem -out cacert.pem -days 365 Combine the two files into one for HAProxy to use. The order of the files in this command matters, so do not change it: cat cacert.pem privkey.pem > undercloud.pem

Openstack TripleO Installation with Ceph and HA

Create 10 vm with 2 NIC: 1 Director Node: 2 CPU, 8G RAM, 40G Disk 3 Controller Node: 4 CPU, 32G RAM, 100G Disk 3 Compute Node: 4 CPU, 16G RAM, 100G Disk 3 Ceph Node: 4 CPU, 16G RAM, 60G Disk and 100G Disk Network Layout: Contents 1 Undercloud Installation 1.1 Create ssl certificate: 1.2 Download images 2 Register Nodes 3 Introspect Nodes 4 Tagging Nodes 5 Defining the Root Disk for Ceph Storage Nodes 6 Enabling Ceph Storage in the Overcloud 7 Formatting Ceph Storage Node Disks to GPT 8 Delpoy Nodes 9 Sources Undercloud Installation sudo yum install -y https://trunk.rdoproject.org/centos7/current/python2-tripleo-repos-0.0.1-0.20180418175107.ef4e12e.el7.centos.noarch.rpm sudo -E tripleo-repos -b newton current ceph then sudo yum install -y python-tripleoclient sudo yum install -y ceph-ansible cp /usr/share/instack-undercloud/undercloud.conf.sample ~/undercloud.conf