- Timestamp:
- Jan 14, 2009, 7:52:06 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/xvm-iscsi-config/debian/xvm-iscsi-config.postinst
r1925 r1979 49 49 invoke-rc.d xvm-iscsi-config restart 50 50 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 52 52 elif ! diff /etc/invirt/conf.d/iscsi~ /etc/invirt/conf.d/iscsi >/dev/null; then 53 53 cat <<EOF … … 55 55 /etc/init.d/xvm-iscsi-config restart 56 56 /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 58 58 lvchange -a ln /dev/xenvg && lvchange -a y /dev/xenvg 59 59 This will leave VMs unable to access their disks, so migrate them first.
Note: See TracChangeset
for help on using the changeset viewer.