Articles by sertdemiry

vROPS Changing Node Address

17/03/2015 // 0 Comments

Hello, Vmware made a great leap forward for Operations Manager renamed vRealize Operations Manager. It’s 6.0.1 version is already out. Unfortunately, there are some manual processes on some settings including Node Address change and IP change of nodes. I try to ease these operations with this guide. Recently, I had some issues about the “Node Address” of a node, I needed to change the DNS entry of a Remote Collector (Not IP Address), after some research I finally found a quick way to do it. As you can see below picture remotenode01 dns name is seen to be remotenode3.vsphere.local (or the node name is wrong) and I want to fix that. Changing the IP address is a tricky process and there are some guides in blogs. I will try to explain changing the DNS name of an any node. You can check the “Resources” if you want to change the IP address of the nodes. Before starting anyting Check the version of the vROPS, I did this with 6.0.1. Snapshot! Get the snapshot of “ Snapshot! Get the snapshot of “ALL NODES“. Enable the SSH service on all nodes by using this command:  service sshd start Open SSH consoles for all nodes. Open Admin panel of vROPS (https://yourvropsmasternodeaddressorip/admin) Process Open the Admin panel of Master node and take Cluster Offline. Wait for all nodes to be offline. Open SSH sessions; beginning with Master Node, stop the vmware-casa service for each node:  service vmware-casa stop Open this file with your favorite editor:  /storage/db/casa/webapp/hsqldb/casa.db.script Find the  ip_address  entry, there should be one for all nodes. There is a slice_name  entry but I guess it is just visual name of the nodes, so you can try to change it too. Change the old IP address or DNS address with new one in the file for all nodes. Save and exit. Beginning with Master node, start […]

Facebook “Wedge”

20/06/2014 // 0 Comments

Facebook announced “Wedge” which is a open switch project including both software and hardware. Facebook claims that it will bring a boost to network. It will be interesting to build your own switch! Here is the full text: https://code.facebook.com/posts/681382905244727/introducing-wedge-and-fboss-the-next-steps-toward-a-disaggregated-network/

Remove Old or Failed Hosts from Openstack

09/06/2014 // 0 Comments

If you are testing or running production Openstack environment, you will probably face a failed host. Unfortunately, there is no “button” to remove it from Openstack. It would be a nice touch, but there are lots of important things to develop. You can remove the host by removing from database. I try to guide you about it. Before doing anything: BACKUP your database!!! Do not do anything before backing up your database, you should be aware of that. These commands tested with Openstack Havana version installed in Ubuntu 12.04 LTS servers. Mysql server is 5.5.   Firstly, backup your database!!! Login to your mysql db and select Nova database (I used default database name here);

Check your host and it’s ID;

As you can see, we have a service_id and id for our hosts. I want to remove NODE05. Clean compute_node_stats table: Now, we need to clean the stats of NODE05 from compute_node_stats table. We need to use id number of compute_nodes table. As you can see, id is 3 for NODE05;

Clean compute_nodes table: We will use service_id of NODE05 in the compute_nodes table to delete the data:

Clean services table:

Check the dashboard, it will no longer display NODE05.

HP Helion Review

26/05/2014 // 0 Comments

Couple of days ago, HP Helion is announced and I posted that I will take a look at it. I found some time to test it and here is review. I will try to compare it with pure Openstack by explaining the installation steps with my comments.  A  – Before doing anything. When I am reading the documentation of Helion, I was hoping that it will be easy process and does not depend lost of weird things. Firstly, You need to have a physical computer in order to install HP Helion. There will be created 4 virtual machines at first, so you need to have minimum of 16 GB Memory and Virtualization enabled CPU. The disk size should be minimum of 80 GB just for test. After installation of the system,  it consumed 74 GB of my hard drive. It is obvious that a physical server needed for this setup, because 4 virtual servers will be created in it. My hopes was to install them directly to OS as a package. The second thing is that your physical server’s OS needs to be Ubuntu 13.10 or 14.04. HP wrote that it can support others but not tested. I installed on 14.04, unfortunately it comes with biosdevname package, because of that this package interface card’s name renamed to p1px which Helion does not support. As documentation mentioned I needed to replace card names to eth name template. HP put all system in a 4GB sized compressed file, it includes  4 virtual machine disks, and scripts to start them. These virtual machines are: Seed, Undercloud, Overcloud Controller, Overcloud Compute. Typical TripleO setup. If you have a different network and do not have networking skills or rights on hardware, you need to install a desktop environment on your physical server in order to connect to the dashboard. I suggest to install lxde and […]

HP Helion is out!

22/05/2014 // 0 Comments

HP’s new “cloud product” Helion is announced. It is actually “nearly pure” Openstack. HP says that it is optimized, stabilized, simplified distribution of Openstack built for enterprise solution. Additionally, it is completely free product. If you want, you can buy support from HP. Here is some points to mention: Unfortunately, it has limitations. You can use the product up to 30 host and 600 instances. It does not have hardware dependency. It will be upgradable, automated and live. It is for private cloud only. It is based on Openstack Icehouse. It’s nodes are based HP Linux host OS. I will test this product soon, and share my opinions about it. Source: http://www8.hp.com/us/en/cloud/hphelion-openstack-community.html Source: http://www8.hp.com/us/en/cloud/helion-overview.html  

Backup Your MySQL Database Daily!

21/05/2014 // 0 Comments

Here is quick guide to backup your MySQL database daily: This guide is prepared on Ubuntu 12.04LTS, MySQL 5.5. Save this script anywhere in your database server:

* Edit the red texts for your environment. This script will use /home/username/mysqlbackup folder to save the backup files. It will delete the backup files which are 7 days old. It will hold 8 backup files. Make the the script file executable:

Test the script by running manually before adding to your crontab.

Add the script to crontab to run it daily:

This job will run at 03:00 everyday.

Keystone Flushing Old Tokens

21/05/2014 // 0 Comments

If you do not flush old tokens from your database, it will be as big as Godzilla. You need to clear the tokens from the keystone database time to time. In Havana version, there is a new CLI command to flush the keystone tokens:

I suggest to put it in your crontab file for daily run. Add this line to /etc/crontab file in your Controller node which keystone server is installed:

This command is going to run everyday at 03:00 and clear your DB for old tokens.

I am a Superuser***

15/05/2014 // 0 Comments

*** Openstack Superuser Jonathan Bryce the executive Director of the Openstack Foundation announced the Superuser Publication. Here is the full-text of the welcome message on the Superuser site: Today we live in a software-defined economy. I’m not describing an IT trend, mind you. The things we are working on in this community are of higher-order value. Software today is a business issue — a fiscal issue, even. It is a competitive issue. It is a strategic issue. It is an existential issue. Any organization’s ability to do great things with software is arguably its core competence, no matter the industry, vertical, or category. What’s more, every business is now competing with a startup, like it or not, and know it or not. Speed and agility are the new table stakes. Being “big,” whether literally or figuratively, carries greater risk than ever. In a software-defined economy we should be able to be big and small at the same time, canonical and nimble in equal turns, without pause or remorse. In fact, agility reduces the cost of experimentation, lowering risk and likewise cost. In the software-defined economy we are able to determine what’s valuable more quickly than ever. We decided to name the new OpenStack publication “Superuser” because superusers make their organizations competitive in a software-defined economy. Superusers are change agents who enable their organizations to build deeply strategic software. Superusers are uniquely effective because they understand the power of great software in context. Superusers aren’t exclusively users of OpenStack, of course. They deploy a large toolbox in service of technological progress, and that’s a great thing. OpenStack is a part of their story, but not all of it. What else makes a superuser a superuser? Superusers are not just assembly-line IT workers. They are key players in the growth of their […]

How to extend LVM disks in vCenter

13/05/2014 // 0 Comments

LVM disk extension can be a challenging experience for who are not familiar with unix environment.  I will try to explain it as simple as possible in this guide. Heads up: You need to reboot the virtual machine twice! There is no live-extension way for LVM in vSphere environment. If you want to do it live-extension, you need to add new VMDK hard disk to the VM and extend in the LVM console. I will write about that later. This guide is based on Ubuntu 12.04 LTS.   1. Enter your VM’s “Edit Properties” menu. Choose your hard drive and give more space as you want: 2. In the same window, click “Options” tab, choose “Boot Options” and enable “Force BIOS Setup” on the right side: 3. Click “OK”. 4. Go to g-parted web site and download the ISO file from there: http://gparted.org/ 5. Right click on your VM and click “Open Console”. Click the “Connect CDROM” button on top right and choose “Connect to ISO image on local disk”. 6. Choose your g-parted ISO file and click “OK”. 7. Now reboot your VM. You will see the BIOS screen. Go to “Boot” tab. Using UP-DOWN arrow select “CD-ROM drive” and bring it before Hard Drive using “+” sign on your keyboard. Go to Exit tab and select “Exit Saving Changes”. This will reboot your virtual machine. 8. You will see boot screen of g-parted. Click “Enter” for G-Parted Live. (You can hit Enter for default selections for 9-10-11 steps) 9. Choose “Don’t touch keymap” for Configuring console-data. 10. It will ask for language selection. Type your language number and hit Enter. Default is 33 (English). 11. Choose G-Parted mod, default is “0”. 12. G-parted will boot and Device manager screen will be shown in the screen. Now select LVM device which’s File System is “extended”. […]

1 2