Author Archives: admin
a good html 5 video streaming tutorial http://phoboslab.org/log/2013/09/html5-live-video-streaming-via-websockets 2014/02/24
Restart server+cinder
When you restart the cinder node, make sure all your VG drives are up before starting tgt and cinder-volumne service. You can type “pvdisplay” command to see if there anything. Otherwise the cinder will still up and show you the storage volume, but you can’t start any vm by “nova boot”. 2014/02/09
rename computer name for sharepoint 2010
after rename computer name for sharepoint 2010, need this command: 2014/02/08
The titan design should reference to this
I should learn this before design the titan further 2014/02/06
dev update
2014/02/04
Ribbon bar is better
Ribbon bar is better. Original design put the major buttons on the LHS, but it grabs space than the tree (describe the openstack architecture). Also the original design put all the function buttons on the bottom, it is better to put it on the ribbon bar that on the top. In ribbon bar, major button […] 2014/01/30
Availability zone in titan
Availability zone in titan, will work out this in chinese new year holiday. 2014/01/29
openstack VM hang up after changed screen solution
openstack VM hang up after changed screen solution, i tried to change the screen resolution from 1280×1024 to 800×600, the screen just size down, but the VM is hang. It is completely hang because i can’t even ping/ssh to that VM. Do you know the reason? 2014/01/21
slow ssh connect to host from openstack vm
if you having a slow-login problem when you are trying to connect ssh from the openstack vm to the outside world. This will solve the issue: Edit /etc/nsswitch.conf , change “hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4” to “hosts: files dns”, no need to restart anything, ssh login prompt will come out quickly. 2014/01/18
titan agent is working!
titan agent is working! it is written in java, sending back the server status (cpu/mem/etc…) back to titan server in json form. 2014/01/15
VM process window, i think this will be good enough
Still working on the VM process window, I want titan user able to see clearly inside VM. In this window, the chart will show the cpu/memory usage of that VM. I will enhance it to: 1. When select a process on the bottom, the chart will show the cpu usage only to that process. This […] 2014/01/13
vSphere client chart options
Here is the screens from vsphere client, many things for us to learn how to design charting. 2014/01/10
openstack vm can’t access interest (solved)
Here is my home openstack lab, if you follow the openstack official guide to try openstack, your environment will be pretty similar than mine. I met a trouble: my openstack vm can’t access internet. Here is how to solve it: My environment is: 1) I got a broadband line, connected to the gateway server, the gateway […] 2014/01/08
Instance chart
You can now select a VM, click the “log” button on the bottom, you can see vm’s cpu/memory chart. 2014/01/08
you can start nova in this way
When you failed to start nova-network or nova-compute by command “service nova-compute start”, the log will has nothing. But you can solve this by “service nova-compute start && ps aux|grep nova-compute”, this command will list out the command line to start nova-compute, just paste that into your terminal, now your nova-compute is running directly rather […] 2014/01/07
Titan Architecture (2014/01/05 update)
This is the Titan architectural diagram. Titan solution consists of 4 projects, they are: 1. Titan Server – It is the core part of the system, it used to controls all openstack services (nova, neutron, etc…). The role of the titan server is to execute the command from Titan management tool. 2. Titan – It […] 2014/01/05
Great article about openstack+linux network
Great article about openstack+linux network http://robhirschfeld.com/2013/10/16/openstack-neutron-using-linux-bridges-technical-explanation/ 2014/01/04
“nova show” command doesn’t retrieve all the log records from table instance_faults
I am designing the log window (see below) for titan to show the error log for an instance. When the instance is fail to start, i can use “nova show” to get the error message, but the message is only the last record of table instance_faults, so the log message is not complete. Any openstack command […] 2014/01/04
Titan Log window
When you try to launch a new VM, and if it is failed. You can click the “Log” button to view the error message, this help you to trace the error. 2014/01/03
Titan with windows 7
2013/12/31
finally bring up windows 7 in openstack
finally bring up windows 7 in openstack, one weird thing is : I don’t need to install virtio driver to make it works. 2013/12/28
Defining the Cloud
A cloud must be built on pooled, virtual infrastructure. This includes not only the CPU and memory resources but also the storage and networking and associated services. The cloud should provide application mobility between clouds, allowing the consumer to easily enter the cloud and exit the cloud with existing workloads. The use of existing consumer tools for […] 2013/12/27
Jetty require servlet-api 2.5 to fix “java.lang.NoSuchMethodError
Jetty require servlet-api 2.5 to fix “java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String”, don’t add “org.mortbay.jetty servlet-api”, you need : 2013/12/26
My new switch TP-Link
My new switch TP-Link, very cheap, just $628 HKD. Will buy two more computers to setup a better openstack lab. 2013/12/24
devstack neutron problem
When you meet the following error when starting devtsack with neutron, add “enable_service q-lbaas” in your localrc. Error: My localrc After the fix, my neutron is running 2013/12/23
The Costs of Versioning an API
http://www.infoq.com/news/2013/12/api-versioning Contract versioning and API/Service versioning has always been a consideration for SOA based systems. Whether because of the impact it has on composability, or client-service governance, it is still something of an art rather than a science. There are many examples of groups giving the benefit of their experiences (e.g., around REST is extremely popular). However, recently Jean-Jacques Dubray […] 2013/12/23
Open vswitch overview
Start ovs monitor, look at the tabs’ name, you probably know how many function that OVS offer, this give me a big picture of integrate ova into openstack. 2013/12/22
Titan – what and why
2013/12/18
Titan on retina display
Titan on retina display, all icons are smooth, but don’t know why the CPU is high when controlling over 40 VMs. 2013/12/16
Netfilter
If I can understand this graph, i will say i am a firewall beginner, otherwise i am still outside the door. http://upload.wikimedia.org/wikipedia/commons/3/37/Netfilter-packet-flow.svg 2013/12/16
Titan video tutorial – upload iso image and launch vm
2013/12/15
Nothing special
Get out of office, my innovation is back. Better to read some security manuals from VMWare. 2013/12/13
How geek work
This is how geek work. http://www.inside.com.tw/2013/05/13/the-secret-of-a-geek-s-productivity 2013/12/09
Titan property window
still working on the property window, when executing the titan language, some status need to displayed to user. Try to make it more informative, so user can see everything to the instance. 2013/12/08
Titan networking layers representation 2013/12/07
Titan networking layers representation 2013/12/07
VM Panel concept design 2013/12/07
Finally feel satisfied with this design 🙂 🙁 But the bad news is, i can’t do any openstack thing in the day-time job. Wasting time to cooperate with someone whom stop/resume the project every week. I don’t even able to pickup the call from community, can’t attend any seminar or gathering. They just want to […] 2013/12/07
We can set openstack quota for different tenant
We can set openstack quota for different tenant, little step forward. 2013/12/06
Tonight working on quota screen
Tonight working on quota screen, allow user to adjust the quota is useful. 2013/12/04
Titan design concept 2013/12/02
I am still focusing on design the VM screen, in the VM screen, need to meet these requirements Display real time status, include CPU usage, memory usage. The GUI need to has some basic AI to auto-grouping the elements. Better to show the user by layers (network layer, database layer, application server layer, OS layer), […] 2013/12/03
VM status in nova API
in the following code form nova API (./nova/api/openstack/common.py) , you can see VM only have these status ACTIVE BUILD SHUTOFF VERIFY_RESIZE PAUSED SUSPEND RESCUE ERROR DELETED SOFT_DELETED SHELVED_OFFLOADED 2013/12/01