hi,
i'm now trying to develop a set of commands to control VMs automatically,
all of which are based on the vcl project. While i am puzzled by the items
in the state table in vcl database. This table contains the following items:
--------------------------
id name
2 available
4 classreserved
9 cleaning
12 complete
1 deleted
5 failed
23 hpc
16 image
7 imageinuse
15 imageprep
8 inuse
10 maintenance
17 makeproduction
13 new
14 pending
19 reload
6 reloading
3 reserved
11 timeout
22 tohpc
18 tomaintenance
21 tovmhostinuse
20 vmhostinuse
------------------------------

when insert a request record ( into table REQUEST), a specific state may
cause a certain operation. eg., when I insert the following record into
request, a reload operation is carried out.
------------------------------
INSERT INTO request(stateid,userid, laststateid, start, end, daterequested)
VALUES
(19, *2*, 19, NOW(), NOW(), NOW())
------------------------------
What about other items ? What operations will they cause?

Thank you!


best wishes

-- 
Yang Jie(杨杰)
Group of CLOUD, Xi'an Jiaotong University
Department of Computer Science and Technology, Xi’an Jiaotong University

hi.baidu.com/thinkdifferent
PHONE: 86 1346888 3723
TEL: 86 29 82665263 EXT. 24
MSN: xtyangjie2...@yahoo.com.cn

Reply via email to