Friday, January 22, 2016

VMware Integrated Openstack Installation

How to Install and Configure VMware Integrated Openstack vII (based on Kilo)

What is Openstack?

Openstack is open source software used to create private or public clouds. It is freely available for new and existing Enterprise Plus costumers.
VMware Integrated OpenStack is available for free for all new and existing vSphere Enterprise Plus customers, vSphere with Operations Manager (vSOM) Enterprise Plus customers, and all vCloud Suite customers. Support for VMware Integrated OpenStack is optional and can be purchased separately - See more at: http://www.vmware.com/products/openstack/#sthash.ygA564Pc.dpuf
VMware Integrated OpenStack is available for free for all new and existing vSphere Enterprise Plus customers, vSphere with Operations Manager (vSOM) Enterprise Plus customers, and all vCloud Suite customers. Support for VMware Integrated OpenStack is optional and can be purchased separately - See more at: http://www.vmware.com/products/openstack/#sthash.ygA564Pc.dpuf

What follows is a quick installation and configuration demo.

Step 1: Download the software from vmware.com/downloads. The ova is roughly 5gbs in size.


2. Install the Openstack vApp via ovf using the web client. Right click on an esxi host and select deploy from ovf.


 3. Point to the .ova that was downloaded and click on next.


 4. Accept the license.


5. Give the Openstack vApp a name.


6. Specify the datastore for the vApp.


7. Connect the vAPP to a network.


8. Give it an ip and other network settings.


9. Click on next.


10. Click on finish. A vApp with two Ubuntu vms will be created. Each vm will use 2 vcpus and 4gbs.


11. Wait until the first vm boots up. This is the build server. The other one is used to build the entire control plane.


12. Open the console of the vm if you want.


13. Log out and log in again to the web client. Notice the new plugin.


14. Click on the plugin.


15. Click on Deploy Openstack.


16. Click on next.

17. Provide the information about the vCenter Server.


18. Specify the name of the management cluster.


19. Configure the network information.


20. Provide the public information of the vio implementation.


21. Select the Nova Cluster. OpenStack Compute (Nova) is a cloud computing fabric controller, which is the main part of an IaaS system.


22. Add the Nova Datastores.


23. Specify the name of the glance datastores. OpenStack Image Service (Glance) provides discovery, registration, and delivery services for disk and server images. Stored images can be used as a template.


24. Specify the name of the distributed switch to use or the NSX information. This is for Neutron.
OpenStack Networking is a system for managing networks and IP addresses.  Using openstack with distributed switches has limitations, including the inability of tenants to create their own private L2 networks and to deliver L3 and higher networking services such as virtual routers and floating IPs.


25.  Provide the opendb authentication information (aka the password for "admin") or use LDAP. This would be the Keystone component.


26. Specify the information about the syslog collector (optional). This could be VMware Log Insight or other products like Splunk.


27. Click on next.


28.  Verify the information provided and click on finish.


Once this is done, an openstack instance full of vms will be configured. This is the management plane consisting of one management server, one vm template, two load balancers, two controller vms, two rabbitmq vms, two memcached vms, three mariaDB vms and one computer driver vm (one per compute cluster).

Listed below is the installation guide url.

http://pubs.vmware.com/integrated-openstack-2/topic/com.vmware.ICbase/PDF/integrated-openstack-20-install-config-guide.pdf

Thursday, January 7, 2016

Investigating out of space conditions in esxi

How to tell if you are out of space in esxi:

Scenario. Perhaps you build a cluster and after dragging the host into the cluster, the agent fails to install.


Solution: Look at the logs; host.log in this case...


Note: Running grep -i full /var/log/hostd.log would show the following...


Note: Other logs like /var/log/vmkernel.log would show the same type of information

How to verify: Run the vdf -h command ... and notice in this case /tmp is almost full...


Note:  There are other cool commands that can help you see this. The stat command shows few blocks left.


Notice: The df -h command does not help you... :(