646 Commits

Author SHA1 Message Date
anthony
ef9c9b8c5f split scripts to premium-script 2010-12-03 20:53:53 -08:00
anthony
4b20796467 remove patch domr logical 2010-12-01 16:32:33 -08:00
Anthony Xu
7518488672 bug 7293: return complete installpath for createprivatetemplatefromvolume
status 7293: resolved fixed
2010-11-23 16:22:51 -08:00
Anthony Xu
4d053964b6 remove zfs related staff, which is not used 2010-11-18 14:43:20 -08:00
Anthony Xu
f62d9ae9c9 remove unused files 2010-11-18 14:43:20 -08:00
edison
6944979f94 bug 7142: fix the race condition that multiple create vlan requests coming from mgt svr
status 7142: resolved fixed
2010-11-10 13:36:50 -08:00
edison
007783f6cf add more logs when taking heartbeat, and make ha enabled even in oss 2010-11-10 09:49:03 -08:00
edison
4bc63e5c32 Enable KVM HA on nfs storage 2010-11-09 22:03:22 -08:00
anthony
224da7e775 several snapshot fixes 2010-11-05 20:55:19 -07:00
anthony
ff5ea1eabd merge from 2.1.x 74b798240c77d5037a6ab4fb68cf474bec288bae
1. remove plugin check Sr, heartbeat does that
    2. if pbd.plug fails, moves on, and report warnning
2010-11-03 19:36:25 -07:00
anthony
003b0e4a23 merge from 2.1.x 86d02eaa155cfdbb0a8cf31c8eae47711fbf5c2b
delete all snapshut which has been backed up to secondary storage
change dd block size from 512 to 1M, make taking snapstho faster for iscsi primary storage
2010-11-03 19:05:23 -07:00
anthony
25c0d0f197 patch.tgz and prepsystemvm.sh are not needed, we use iso instead 2010-11-03 17:19:04 -07:00
Chiradeep Vittal
8dda98a1bb fix problems after merging in bug fixes from 2.1.x 2010-11-01 12:31:10 -07:00
Chiradeep Vittal
d6a2766c04 dont wipe dhcp and antispoof rules every time 2010-11-01 12:21:56 -07:00
Chiradeep Vittal
3c897c5b27 bug 5532: allow more instances. could still fail with a very long instance name 2010-11-01 12:21:56 -07:00
Chiradeep Vittal
c1b7f5a6fa bug 6485: fix reboot logic 2010-11-01 12:21:56 -07:00
Chiradeep Vittal
2c14634e3b bug 6268: cloud-private is actually the management interface 2010-11-01 12:21:55 -07:00
Chiradeep Vittal
1e0eb04442 Add VPN apis, some systemvm changes for vpn 2010-11-01 10:27:49 -07:00
anthony
cc6b43d58d bug 6546: support ubuntu 10.04 PV kernel,
for ext3 requirement, we can file a seperate bug for it, the solution should be install ext4 module in xenserver

    status 6546: resolved fixed
2010-10-21 18:28:31 -07:00
Kris McQueen
f964470ba4 remove whitespace at the start of the file which confuses the interpreter and prevents plugins from working 2010-10-20 16:48:20 -07:00
anthony
4cca3f9b87 when get scsi_id, replace all whitespaces by underscores 2010-10-20 13:55:14 -07:00
anthony
121d29211e update new keypair 2010-10-15 15:50:53 -07:00
anthony
b66203ebca empty it instead of rm it 2010-10-15 15:05:22 -07:00
Kris McQueen
2740ba6c40 final merge of master->2.1.refactor preparing for merge back into master 2010-10-12 14:46:24 -07:00
anthony
93f3205a84 change the script 2010-10-07 23:24:25 -07:00
edison
139ff273ff fix systemvm template for kvm, using chiradeep's latest debian template 2010-10-05 20:41:39 -07:00
anthony
319d4f1aa0 snapshot redesign
1. use full snapshot and delta snapshot, there are maxsnashot/2 of delta snapshot between two full snapshot
2. only support one policy for one volume
3. remove all coleases in secondary storage.
2010-09-28 18:37:46 -07:00
Kris McQueen
848ce60097 Merging master into 2.1.refactor, resolve the merge conflicts as best I can. New commands related to extracting template/iso/volume and related to instance groups were refactored to the new API framework. 2010-09-28 15:47:14 -07:00
edison
d933f19d35 bug 5800: add cluster for KVM
TODO: need to make sure the host cpu is from the same vender in a cluster
2010-09-10 16:00:36 -07:00
anthony
0d55059583 remove some SMlog 2010-09-09 13:59:31 -07:00
Alex Huang
7249f168d5 more file changes 2010-09-09 13:27:20 -07:00
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