Questions about Xen

Discussion in 'Installation/Configuration' started by Tortanick, Jul 6, 2006.

  1. Tortanick

    Tortanick New Member

    I read http://www.howtoforge.com/perfect_xen_setup_debian_ubuntu and it seems great however I am left with three questions.

    1) I'd like to use a seprate /home, /var /var/spool as well as the root partiton, do I just ammend disk= to include some extra images then later modify Fstab or do I do something to the xen config file?

    2) After forwarding all the relevent ports to the virtual servers, how can I block everything except updates via apt from reaching Dom0

    3) How should I devide my ram between
    Dom0: basic debian install modified to include xen
    Vm01: Mail server, with squirrell mail and monit
    Vm02: PureFTPD and monit
    Vm03: another Pure-Ftpd also with monit, (traffic from the net will be redirected to non-standard ports at the firewall level)

    I have 256 meg of ram, if that not enough I'll drop Vm03
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Create an extra image for each partition and add it to the vm's Xen config file.

    I'd just close down all services on dom0 except for SSH.

    I think you have to find this out by trying. Try to run dom0 with just 32MB.
     
  3. Tortanick

    Tortanick New Member

    Um, that dosn't awnser the question, to mount partions do I SSH to the virtual machine and edit Fstab, or do I edit the Xen config file?

    If you're sure ok, I thought I'd have to routenly get the latest updates.


    Ok, I'll try. What would you recomend to generate a log of system resorse useage, preffrably for text editors not web browsers.
    Also is there any rules to assigning ram? multiple of 32 only? only 32,64,128...
     
    Last edited: Jul 8, 2006
  4. falko

    falko Super Moderator Howtoforge Staff

    Both. http://www.howtoforge.com/perfect_xen_setup_debian_ubuntu_p4 and http://www.howtoforge.com/perfect_xen_setup_debian_ubuntu_p5 should give you the idea.


    You could create a cron job that writes the output of
    Code:
    uptime
    to a text files every 5 minutes or so.
    If you want something for your browser, have a look here: http://www.howtoforge.com/server_monitoring_monit_munin
    It's totally up to you. :)
     
  5. Tortanick

    Tortanick New Member

    thanks for all the help :)
     

Share This Page