665 Commits

Author SHA1 Message Date
anthony
5d8cadb7b0 correctly use session in plugin 2010-08-29 23:59:33 -07:00
anthony
afd8052203 remove unused scripts 2010-08-29 18:39:15 -07:00
anthony
a517338ac7 fix a bug about backupsnapshot to nfs primary storage 2010-08-28 19:17:40 -07:00
Anthony Xu
d72e0538da Revert "Revert "use iso to patch systemvm""
This reverts commit 145e2e0aaa9b57286102664787e8e40ad3d75e26.
2010-08-26 16:06:28 -07:00
Anthony Xu
145e2e0aaa Revert "use iso to patch systemvm"
This reverts commit 3565f8d21b331745b99ce3a09a35d642f2f7bcfe.
2010-08-26 16:03:34 -07:00
root
3565f8d21b use iso to patch systemvm
Conflicts:

	core/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
	scripts/vm/hypervisor/xenserver/xenserver56/patch
2010-08-26 15:56:02 -07:00
edison
867b49edb6 Don't install console proxy agent on agent 2010-08-25 15:26:33 -07:00
Anthony Xu
0366dd093c use slaveconnection instead of masterconnection for all host plugin calls.
tested by creating domr and user vm and migrating them

1. if you add host for kvm , you need specify kvm://ip_address, otherwiset there is no to differ kvm and xenserver hosts, edison cloud you please test this, may need some minor fixes.

2. if you want to session inside your plugin call, you can not use the one which is passed in, due to it is a slavesession, you need to call get_xapi_session() to get a new local session and use it. I have modified some of these, I may ignore some. Please let me know if you see XENAPI_PLUGIN_EXCEPTION.
2010-08-23 18:01:39 -07:00
Anthony Xu
09680d80a7 bug 5939: add the new script to patch
status 5939: assigned
2010-08-18 16:59:04 -07:00
Anthony Xu
334b2f7d27 bug 5939: script to clean xenstore disk 2010-08-16 17:06:20 -07:00
edison
53df26daaa "Add host" for kvm:
The sequence:
1. add host in UI
2. scp setup_agent.sh to agent host, and execute it. This script receives hostip,zoneid, podid and guid, then runs "cloud-setup-agent" and "cloud-setup-console-proxy". Here, we assume that network/hostname and cloud-agent are already configed and installed.
3. Write a dummy kvm resource into the database, then wait for agent connects to server, by polling the database for every 1 minutes. If it finds the agent is in UP state in database, then return, or wait for at least 10 minutes.
2010-08-13 23:19:36 -07:00
edison
dc005b9b9c add setup_agent.sh, the first script running during add host
Make cloud-setup-agent/console-proxy in unattended mode
2010-08-11 19:31:07 -07:00
Manuel Amador (Rudd-O)
14ae76781e Committing Kris' big merge 2010-08-11 16:02:57 -07:00
Manuel Amador (Rudd-O)
ac730ec496 Branch 2.1.refactor committed 2010-08-11 09:13:42 -07:00
Manuel Amador (Rudd-O)
05c020e1f6 Source code committed 2010-08-11 09:13:29 -07:00