[ad#ad-1]
kill process INFOCARD.EXE
stergeti din windows:
C:\Windows\mds.sys
C:\Windows\mdt.sys
C:\Windows\winbrd.jpg
C:\Windows\infocard.exe
May 3, 2010
Cum scapi de virusul FOTO :D
Install Xenserver Hetzner for DS 5000 Guest Networking Enabled
I have tested XensServer and i am very impress with it performance, compare to Vmware Esxi or Server. even with Openvz (only Linux)
It takes me awhile until i am able to get it working on my dedicated server in Hetzner which has Diffrent IP addressing
First of all we would need :
– A webserver apart from the Dedicated server that we want to install XenServer.
– XenServer-5.5.0-Update2-install-cd.iso
– Fresh Install Centos Installed on Hetzner. ( this can be done on rescue mode Linux 32bit) and login to your server and execute “installimage” then follow all the wizard which kinda straight forward.
Ok here we are.
1. Download XenServer-5.5.0-Update2-install-cd.iso on your other webserver apart from hetzener we would use this server as source installation.
2. mount this iso with this command
# mount -o loop FREE_XenServer-5.5.0-install-cd.iso /mnt
# mkdir /var/www/xenserver
# cp -a /mnt/* /var/www/xenserver
3. Create file called xenserver.xml in /var/www/xenserver with this content below according to your needs.
<installation mode=”fresh” srtype=”lvm”>
<bootloader>grub</bootloader>
<primary-disk gueststorage=”yes”>sda</primary-disk>
<keymap>us</keymap>
<hostname>xen</hostname>
<root-password>my_password</root-password>
<source type =”url”>http://your_webserverip/xenserver</source>
<!– No Post install scripts configured –>
<admin-interface name=”eth0″ proto=”static”>
<ip>xxx.xxx.xxx.xxx</ip>
<subnet-mask>255.255.255.192</subnet-mask>
<gateway>xxx.xxx.xxx.xxx</gateway>
</admin-interface>
<nameserver>213.133.99.99</nameserver>
<nameserver>213.133.100.100</nameserver>
<timezone>Europe/Berlin</timezone>
<time-config-method>ntp</time-config-method>
<ntp-servers>ntp</ntp-servers>
<ntpservers>83.246.120.75</ntpservers>
<ntpservers>213.9.73.106</ntpservers>
<ntpservers>188.40.34.195</ntpservers>
</installation>
Attention: You must fill with your own IP and Gateway from Hetzener.
4. Login to your Dedicated server which we want to install XenServer and copy these 3 files from the iso files you have mounted and copy to your webserver public directory
#cd /boot
#wget http://your_webserverip/xenserver/boot/vmlinuz
#wget http://your_webserverip/xenserver/boot/xen.gz
#wget http://your_webserverip/install.img
5. Once they are downloaded to your Centos edit your /boot/grub/menu.1st
# Hetzner Online AG – installimage
# GRUB bootloader configuration file
#
timeout 5
default 1
title CentOS Linux (2.6.18-128.1.16.el5)
root (hd0,1)
kernel /boot/vmlinuz-2.6.18-128.1.16.el5 ro root=/dev/md2 vga=0×317
initrd /boot/initrd-2.6.18-128.1.16.el5.img
title Install Xenserver
root (hd0,1)
kernel /boot/xen.gz dom0_mem=752M acpi=off nosmp noapic noirqbalance
module /boot/vmlinuz answerfile=http://my_webserver_ip/xenserver/xenserver.xml install
module /boot/install.img
6. now reboot your Centos and start to check the installation log by logging to your webserver and check tail -f access_log
it might take some times depend on the connection between the two servers.
Once installation has been completed login to your fresh new Xenserver.. and start to configure the networking….
7. Makse sure your /etc/sysctl.conf has this :
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.
# Controls IP packet forwarding
net.ipv4.ip_forward = 1
# Controls proxy arp
net.ipv4.conf.default.proxy_arp = 1
# Turn off redirects
net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.default.send_redirects = 0
net.ipv4.conf.lo.send_redirects = 0
net.ipv4.conf.xenbr0.send_redirects = 0
and validated with ’systcl -p’
# sysctl -p
net.ipv4.ip_forward = 1
net.ipv4.conf.default.proxy_arp = 1
net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.default.send_redirects = 0
net.ipv4.conf.lo.send_redirects = 0
net.ipv4.conf.xenbr0.send_redirects = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.conf.default.accept_source_route = 0
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.all.send_redirects = 0
kernel.sysrq = 1
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.shmmax = 4294967295
kernel.shmall = 268435456
vm.dirty_ratio = 5
kernel.printk = 4 4 1 4
8. Disable SeLinux with
# system-config-securitylevel-tui
9. add your additional subnetwork to your xenserver
# ip addr add 78.47.193.23/29 dev xenbr0
10. shutdown the iptables
# service iptables stop
11. Create Dummy interface as we would use this as gateway for all Guest machine (Linux or Windows)
let say you have this Ip subnet from Hetzner 78.47.125.24 until 78.47.125.31.
Network: 78.47.125.24/29
Broadcast: 78.47.125.31
HostMin: 78.47.125.25 (this one we would use as gatway for our guesthost)
HostMax: 78.47.125.30
# nano /etc/sysconfig/network-scripts/ifcfg-xenbr0:1
XEMANAGED=yes
DEVICE=xenbr0:1
ONBOOT=yes
BOOTPROTO=none
NETMASK=255.255.255.248
IPADDR=78.47.193.23
12. bring our xenguest gateway ip up
#ifup xenbr0:1
13. now you can use this range 78.47.125.26 until 78.47.125.30
NETMASK = 255.255.255.248
GATEWAY = 78.47.125.25
NAMESERVER = 213.133.99.99 213.133.100.100
Good luck
Thanks to : Jonathan Thorpe
http://forums.citrix.com/profile.jspa?userID=8895058
and
http://www.simsonlai.org/install-xenserver-hetzner-for-ds-5000-guest-networking-enabled/