[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] HOWTO: Compiling openiscsi and XEN 3.2 to work with each other
Daniel Schwager schreef: #################################### ## HOWTO Installation openiscsi for XEN #################################### ####### normal XEN-installation yum install hgsvn dev86 transfig openssl-devel xorg-x11-proto-devel texi2html pciutils-devel pciutils # fedoracore8 cd /usr/src hg clone http://xenbits.xensource.com/xen-3.2-testing.hg xen-3.2-testing.hg/make -j8 worldmake -j8 install depmod 2.6.18.8-xen mkinitrd /boot/initrd-2.6.18.8-xen.img 2.6.18.8-xen # modify menu.lst .... please adapt to your root-filesystem !! emacs -nw /boot/grub/menu.lst title (2.6.18-8-xen3.2.testing-20080521) root (hd0,0) kernel /xen-3.2.1.gz dom0_mem=512M module /vmlinuz-2.6.18.8-xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet module /initrd-2.6.18.8-xen.img # REBOOT into you new xen-kernel (important !) ######## openiscsi buildb) additional building "clean xen-linux tree" (!!!!) for compiling openiscsi later# Compile xen with "normal" tree cd /usr/src/ hg clone http://xenbits.xensource.com/linux-2.6.18-xen.hg cd linux-2.6.18-xen.hg cat /proc/config.gz |gunzip >.config make -j 8 # Compile openiscsi wget http://www.open-iscsi.org/bits/open-iscsi-2.0-869.tar.gz # oder neuer tar xfvz open-iscsi-2.0-869.tar.gz cd /usr/src/open-iscsi-2.0-869 make KSRC=/usr/src/linux-2.6.18-xen.hg make KSRC=/usr/src/linux-2.6.18-xen.hg install # for some reason it do install into /lib/modules/2.6.18/, no idea why, so unalias cp cp -a /lib/modules/2.6.18.8/kernel/drivers/scsi/libiscsi.ko /lib/modules/2.6.18.8-xen/kernel/drivers/scsi/ cp -a /lib/modules/2.6.18.8/kernel/drivers/scsi/iscsi_tcp.ko /lib/modules/2.6.18.8-xen/kernel/drivers/scsi/ cp -a /lib/modules/2.6.18.8/kernel/drivers/scsi/scsi_transport_iscsi.ko /lib/modules/2.6.18.8-xen/kernel/drivers/scsi/# REBOOT HERE NEEDED### Check system # discover iscsiadm -m discovery -t sendtargets -p <IP> 3260 # login iscsiadm -m node -T <targetname> -p <IP> -l # logout iscsiadm -m node -T <targetname> -p <IP> -u .. here we are Missing the most important part ;) cd /etc/xen/scripts wget http://kinkrsoftware.nl/contrib/xen/block-iscsi chmod +x block-iscsi Now you can specify: iscsi://<<targetname>> Stefan _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |