Hi Friends !!! I have one xen server (debian etch) already in production; there are samba, squid, 2 ldap servers , apache2, postgresql and others, 8 virtual machines at total in a hardware raid5. Now I need a backup system, and i will use bacula with a dell ultrium3 LTO. I would like to know if there are problems with i/o? How can I connect a DomU directly to /dev/st0 of Dom0 ?? Its a very good machine ( 4xXeon 4GB Ram ) , but i''m afraid to run bacula-fd in all DomUs and bacula-dir and bacula-sd in a DomU too, and get I/O problems, or may crash xen , corrupt data... whatever.... Someone Can help-me??? any help will be good..... thanks a lot Jc Júnior _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello, On Sat, 1 Sep 2007, JC Júnior wrote:> Hi Friends !!! > > I have one xen server (debian etch) already in production; there are > samba, squid, 2 ldap servers , apache2, postgresql and others, 8 virtual > machines at total in a hardware raid5. Now I need a backup system, and i will > use bacula with a dell ultrium3 LTO. > I would like to know if there are problems with i/o? How can I connect > a DomU directly to /dev/st0 of Dom0 ?? Its a very good machine ( 4xXeon 4GB > Ram ) , but i''m afraid to run bacula-fd in all DomUs and bacula-dir and > bacula-sd in a DomU too, and get I/O problems, or may crash xen , corrupt > data... whatever....Use pciback.hide in grub.conf for you SCSI card attached to your tape drive. itle CentOS (2.6.18-8.1.4.el5xen) root (hd0,0) kernel /xen.gz-2.6.18-8.1.4.el5 module /vmlinuz-2.6.18-8.1.4.el5xen ro root=LABEL=/ pciback.hide=(02:0b.0) module /initrd-2.6.18-8.1.4.el5xen.img And then allow access to the PCI card in your domU configuration. kernel = "domU-current" memory = 256 name = "backup01" vif = [''ip=192.168.1.2] pci = [ ''0000:02:0b.0'' ] dhcp = "dhcp" disk = [''phy:/dev/vg/disk01,sda1,w'', ''phy:/dev/vg/disk01.swap,sda2,w''] root = "/dev/sda1 ro" /Jonas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
JC Júnior wrote:> Hi Friends !!! > > I have one xen server (debian etch) already in production; > there are samba, squid, 2 ldap servers , apache2, postgresql and > others, 8 virtual machines at total in a hardware raid5. Now I need a > backup system, and i will use bacula with a dell ultrium3 LTO. > I would like to know if there are problems with i/o? How can I > connect a DomU directly to /dev/st0 of Dom0 ?? Its a very good > machine ( 4xXeon 4GB Ram ) , but i''m afraid to run bacula-fd in all > DomUs and bacula-dir and bacula-sd in a DomU too, and get I/O > problems, or may crash xen , corrupt data... whatever.... > > > Someone Can help-me??? any help will be good.....You don''t if you want to throw away half your performance, roughly. The backup server should really reside on Dom0, where things like disk I/O are so critical, lest you double your backup times. Puting it on Dom0 also lets you back up or image DomU partitions more directly, even by doing things like LVM snapshots. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello, On Sat, 1 Sep 2007, JC Júnior wrote:> Hi Friends !!! > > I have one xen server (debian etch) already in production; there are > samba, squid, 2 ldap servers , apache2, postgresql and others, 8 virtual > machines at total in a hardware raid5. Now I need a backup system, and i will > use bacula with a dell ultrium3 LTO. > I would like to know if there are problems with i/o? How can I connect > a DomU directly to /dev/st0 of Dom0 ?? Its a very good machine ( 4xXeon 4GB > Ram ) , but i''m afraid to run bacula-fd in all DomUs and bacula-dir and > bacula-sd in a DomU too, and get I/O problems, or may crash xen , corrupt > data... whatever....Use pciback.hide in grub.conf for you SCSI card attached to your tape drive. itle CentOS (2.6.18-8.1.4.el5xen) root (hd0,0) kernel /xen.gz-2.6.18-8.1.4.el5 module /vmlinuz-2.6.18-8.1.4.el5xen ro root=LABEL=/ pciback.hide=(02:0b.0) module /initrd-2.6.18-8.1.4.el5xen.img And then allow access to the PCI card in your domU configuration. kernel = "domU-current" memory = 256 name = "backup01" vif = [''ip=192.168.1.2] pci = [ ''0000:02:0b.0'' ] dhcp = "dhcp" disk = [''phy:/dev/vg/disk01,sda1,w'', ''phy:/dev/vg/disk01.swap,sda2,w''] root = "/dev/sda1 ro" /Jonas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ok.. thank you Jonas and Nico !!! One more question..... I never worked with lvm snapshots before, but i suppose i''ll need extra space for this, make snapshots of lvm partitions where reside the DomU systens is ok,they have at the maximum 2GB, but, the data partitions has a large amount of data for each DomU, I''ll try do this with bacula-dir and bacula-sd in Dom0 and bacula-fd in DomUs for data backup, backup accours along night, each DomU uses just 1 vcpu. I think the matter is just avoid a totally system break, performance can thow in a half at night. What do you think guys??? thanks a lot !!! Jc Júnior _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users