Kernel, Virus and Programming

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…
Read more

2014/01/13 0

vSphere client chart options

Here is the screens from vsphere client, many things for us to learn how to design charting.

2014/01/10 0

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…
Read more

2014/01/08 0

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 0

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…
Read more

2014/01/07 0

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…
Read more

2014/01/05 0

Great article about openstack+linux network

Great article about openstack+linux network

2014/01/04 0

“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…
Read more

2014/01/04 0

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 0

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 3

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…
Read more

2013/12/27 0

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 0

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 0

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 2

The Costs of Versioning an API 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…
Read more

2013/12/23 0

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 0

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 0


If I can understand this graph, i will say i am a firewall beginner, otherwise i am still outside the door.

2013/12/16 0

Nothing special

Get out of office, my innovation is back. Better to read some security manuals from VMWare.

2013/12/13 0

How geek work

This is how geek work.

2013/12/09 0

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 0

Titan networking layers representation 2013/12/07

Titan networking layers representation

2013/12/07 0

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…
Read more

2013/12/07 0

We can set openstack quota for different tenant

We can set openstack quota for different tenant, little step forward.

2013/12/06 0

Tonight working on quota screen

Tonight working on quota screen, allow user to adjust the quota is useful.

2013/12/04 0

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),…
Read more

2013/12/03 0

VM status in nova API

in the following code form nova API (./nova/api/openstack/ , 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 0

Titan language IDE design 2013/11/30

Titan language IDE design 2013/11/30, just discussed with professor Li. Will start building it from next week.  

2013/11/30 0

Titan software design 2013/11/29

This screen will show the status of VM running inside the Openstack.

2013/11/29 2

Eclipse always hang in Mac

I am using eclipse kelper in mac osx mavericks, it always hang. I finally got a work around solution from Removing .snap File Open \.metadata\.plugins\org.eclipse.core.resources directory Remove .snap file in the directory Restart Eclipse Remove .indexes Folder Remove the \.metadata\.plugins\org.eclipse.core.resources\.root\.indexes directory Restart Eclipse Move .project mv workspace/.metadata/.plugins/org.eclipse.core.resources/.projects workspace/.metadata/.plugins/org.eclipse.core.resources/old.projects My script

2013/11/28 0

Implementing High Performance Parsers in Java

Implementing High Performance Parsers in Java

2013/11/26 0

Designing dashboard screen

Designing dashboard screen, need to meet these goals: 1) able to show status of VM 2) i think people usually have less than 32 VMs runnning, so the design will be optimized to show 32 VMs 3) i will reference redhat cloudforms interface

2013/11/22 0

web socket example to stream screen to html 5 player

Here is a working example using web socket to stream screen to html 5 player. The server is in java, I use to route the websocket to java socket. html 5 player

2013/10/22 0

SwingUtilities.updateComponentTreeUI(this); will reset all custom UI

SwingUtilities.updateComponentTreeUI(this); will reset your own UI, if you call setUI() in constructor. Example: PeterCustomeTabbedPane —– extend ——> MaryCustomTabbedPane —-  extend ->   JTabbedPane (swing component) Suppose PeterCustomeTabbedPane and MaryCustomTabbedPane have their own TabbedPaneUI, once you called SwingUtilities.updateComponentTreeUI(this); , PeterCustomeTabbedPane’s UI class will be reset to MaryCustomTabbedPane’s UI class. Workaround: !!! dont call setUI in PeterCustomeTabbedPane, override the setUI() method and set whatever…
Read more

2013/10/13 0

i may know why the gdb command “x” only request one byte each time

I am playing the gdbstub in qemu, i found a bug there , if i invoke the function cpu_physical_memory_rw(0xffff0, mem_buf, 50, 0) , qemu crashes. Then, i tested the gdb command “x /20bx 0xffff0” and use tcpflow to capture the gdb packet, i found out gdb send 20 command and each time request one byte only.…
Read more

2013/10/08 0