Ignore:
Timestamp:
Jan 14, 2009, 7:52:06 PM (16 years ago)
Author:
broder
Message:

Configure iSCSI on both backend interfaces.

Location:
trunk/packages/xvm-iscsi-config
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/xvm-iscsi-config/debian/changelog

    r1930 r1979  
     1xvm-iscsi-config (0.0.7) unstable; urgency=low
     2
     3  * Configure iSCSI for multipath on eth0 and eth1.
     4
     5 -- Evan Broder <broder@mit.edu>  Wed, 14 Jan 2009 19:45:56 -0500
     6
    17xvm-iscsi-config (0.0.6) unstable; urgency=low
    28
  • trunk/packages/xvm-iscsi-config/debian/xvm-iscsi-config.install

    r1496 r1979  
    11debian/iscsid.conf.xvm.mako etc/iscsi
     2ifaces etc/iscsi
  • trunk/packages/xvm-iscsi-config/debian/xvm-iscsi-config.postinst

    r1925 r1979  
    4949            invoke-rc.d xvm-iscsi-config restart
    5050            invoke-rc.d open-iscsi restart
    51             iscsiadm -m discovery -t st -p $(invirt-getconf iscsi.address):3260
     51            iscsiadm -m discovery -t st -p $(invirt-getconf iscsi.address):3260 -I eth0 -I eth1
    5252        elif ! diff /etc/invirt/conf.d/iscsi~ /etc/invirt/conf.d/iscsi >/dev/null; then
    5353              cat <<EOF
     
    5555  /etc/init.d/xvm-iscsi-config restart
    5656  /etc/init.d/open-iscsi restart
    57   iscsiadm -m discovery -t st -p $(invirt-getconf iscsi.address):3260
     57  iscsiadm -m discovery -t st -p $(invirt-getconf iscsi.address):3260 -I eth0 -I eth1
    5858  lvchange -a ln /dev/xenvg && lvchange -a y /dev/xenvg
    5959This will leave VMs unable to access their disks, so migrate them first.
Note: See TracChangeset for help on using the changeset viewer.