31 Commits

Author SHA1 Message Date
Wido den Hollander
e6bad5c831 CLOUDSTACK-3776: Mount SSVM root filesystem with sync and noatime 2013-07-24 11:29:03 +02:00
Hiroaki KAWAI
c484d8aaba Add notes about systemvm build script 2013-06-26 15:16:29 +09:00
Hiroaki KAWAI
009da93058 upgrade debian systemvm to wheezy
New kvm libvirt requres virtio-console (/dev/vport*), so
upgrading debian guest base OS to wheezy.
2013-06-24 11:16:40 +09:00
Hiroaki KAWAI
3123fe6bba Add iptables-persistent service in guest OS.
cloud-passwd-srvr depends on iptables-persistent.
2013-06-24 11:14:16 +09:00
Hiroaki KAWAI
bdfce2bc7e Remove unused code
The files xt_CHECKSUM.ko, iptables_1.4.8-3local1checksum1_i386
and xe-guest-utilities_5.6.0-595_i386 does not exist in the
repo now.
2013-06-24 11:09:09 +09:00
Edison Su
3db9736a07 CLOUDSTACK-29
remove iptables/xe-guest/xt
2012-09-06 11:05:09 -07:00
John Kinsella
6a41965b70 [ASFCS40] Updated version number to reflect 4.0.0 2012-08-14 22:54:44 -07:00
Sheng Yang
7d68e33323 S2S VPN: Use source NAT ip address for VPN gateway
Conflicts:

	api/src/com/cloud/api/commands/CreateVpnGatewayCmd.java
	server/src/com/cloud/network/router/VpcVirtualNetworkApplianceManagerImpl.java
	server/src/com/cloud/network/vpc/VpcManagerImpl.java
2012-07-23 14:44:05 -07:00
David Nalley
ecf2cd57f9 fixing license headers in marvin 2012-07-04 18:45:08 -04:00
frank
2f634c0913 Switch to Apache license 2012-04-03 04:50:05 -07:00
Sheng Yang
c6eb393f5c bug 13403: Don't use backported kernel for system vm
Revert "bug 11056: Add backported kernel and discard customized kernel module"

This reverts commit 857e817cfc707f4280f295a91642ded861c5aa68.

Bug 13403 is due to new kernel fail to suppose hot-unplug of xen vnif.

Notice the module is only backported for kernel 2.6.32-5-686-bigmem. That's why
I hardcode the kernel version here.

status 13403: resolved fixed
2012-02-06 17:17:01 -08:00
frank
52610ffcb3 add copyright header to shell scripts 2012-01-11 18:41:53 -08:00
Sheng Yang
9b706697fb Install xs-tools in the systemvm template 2012-01-06 17:37:58 -08:00
Sheng Yang
af50ecb7db bug 11056: Add backported kernel and discard customized kernel module
But still keep customized iptables because the newer version of iptables would
result in very big range of package upgrading due to dependence relationship.

Also add newer version of "virt-what" from debian testing, otherwise it would
provide wrong information for xen-domU(reported as xen-dom0 in previous version
for 2.6.39). This one have no dependency issue and can be added easily.

status 11056: resolved fixed
2011-12-29 21:25:49 -08:00
Sheng Yang
aeda3f3a1c bug 11056: Add customized iptables and kernel modules to the system template
The new kernel module xt_CHECKSUM.ko is based on [1], and back ported to 2.6.32
kernel. New iptables is based on adding a new extension from [2].

[1]https://lwn.net/Articles/396466/
[2]https://git.netfilter.org/cgi-bin/gitweb.cgi?p=iptables.git;a=commit;h=9d1b11102b53103c00b7fddf4658a4d2bdee1338

status 11056: resolved fixed
2011-12-28 20:20:35 -08:00
Sheng Yang
fbc19041ab Fix haproxy directory issue in buildsystemvm.sh 2011-09-29 16:14:59 -07:00
anthony
0f340c199f align system VM partitions with 4k 2011-06-14 11:47:07 -07:00
Sheng Yang
29c54c42e0 Fix hostname in the generated vm template
The ssh_host_*_key.pub in /etc/sshd contained generator's own hostname. This
patch fixes it.
2011-06-14 11:29:12 -07:00
Sheng Yang
b1ced0e478 Fix buildsystem.sh script
And the script can only be used with the machine installed grub-legacy(e.g. grub
0.97) rather than grub2(grub-pc).
2011-06-13 19:37:21 -07:00
Sheng Yang
62ac899091 bug 9154: Initial check in for enabling redundant virtual router
This patch enable redundant virtual routers.

1. To enable this feature, db need to be updated using follow SQL by now(we
would get a UI way later):

UPDATE network_offerings SET redundant_router=1 WHERE guest_type="Virtual" AND
system_only=0;

2. System would try to start up two routers at different hosts. But if there is
only one host in the zone, system would start up two routers on it.

3. The failover part is using keepalived, and connection tracking part is using
conntrackd. There would be one master router and one backup router. The status
of router(master or backup) can be query from the database table domain_router
now. Management server would update the status every 30s by default.

4. The routers for the same zone would use same external NIC(same ip and mac).
The script used for fail-over would ensure only one external NIC present in the
network at any time.

5. Currently management server don't got the ability to stop one of router is
both of them reported as master. The feature is in the todo list.

After two routers start up, disconnect anyone of them, the guest network
shouldn't be affected, and established connection(http, ssh, etc.) should still
works. The fail-over on gateway part should be 3~4 seconds.

Currently the patch works with KVM. Would deal with vmware and XenServer soon.
2011-06-07 14:47:45 -07:00
Sheng Yang
ae1753c997 Revert "Add error check for buildsystemvm.sh"
This reverts commit a2c7e6f5bf5985d47f9ef25d1569931f28ff4258.
2011-05-17 14:16:25 -07:00
Sheng Yang
7bdaa210a1 Add error check for buildsystemvm.sh
set -e can stop the script if something went wrong. set -u can stop on
uninitialized variable reference.
2011-05-16 13:57:05 -07:00
Frank
92155522f2 Add license header to files 2011-04-14 11:23:14 -07:00
Chiradeep Vittal
d7aa4ef4e2 Add some useful packages to systemvm 2011-02-02 12:56:46 -08:00
Chiradeep Vittal
9f9b838c41 Enable daily log of system stats on systemvms
Fully automate building of systemvm -- no more required to type y to accept sun jre license
install of xenstore utils was broken, fix
2011-01-13 12:36:38 -08:00
Chiradeep Vittal
adfc5c06a6 Use global for release 2011-01-07 15:55:17 -08:00
Chiradeep Vittal
6ca2f67f8c add vpn scripts into signature determination, make release a variable 2010-11-05 14:28:36 -07:00
Chiradeep Vittal
5732e42fd1 fix typo, add tdb tool to read ppp database 2010-11-03 14:06:23 -07:00
Chiradeep Vittal
1e0eb04442 Add VPN apis, some systemvm changes for vpn 2010-11-01 10:27:49 -07:00
Chiradeep Vittal
580412fd2a add vpn, monit vmware tools, xenserver tools, refactor 2010-10-21 11:41:18 -07:00
edison
e67e7d0e7b remove patches/systemv, and mv tools/systemvm into patches 2010-10-05 20:41:39 -07:00