This content has been marked as final. Show 8 replies
While I agree with you, your VM server should NOT reboot. I've seen it happened before without virutalization. I even had a issue this past week were a native Redhat client refused to see a new LUN from a EMC array and it was running the latest version of powerpath. I ended up having to reboot the server. A LUN rescan can be disruptive. While, I've never had it happen to me. I can see were it might happen.
In a production environment, I would recommend you live migrate your VM guests to another server in your cluster before running a rescan on that server. You can then move the guests back after a rescan. That way you can void the potential issue.
The LUN rescan is a storage server event, with generic fibre storage, we can't specify a rescan on a particular server that I'm aware of.
You have a "rescan physical disks" option on your individual servers. You can run a "refresh" from the "storage" perspective but this will take place on the admin servers you set. You do have to run "refresh" sometimes to add a repository type connection but not for pass through connections. It just depends on which you are doing. I should have made that distinction. Sorry.
I had the same problem with VNX on 3.1.1. With iSCSI works perfect, however with FC sometimes it'is trick.
When you full rescan on OVM Manager, for some reason it issues a lip on fc_host with can causes the reboot.
By that time , I had SR (as usual, works for nothing ...) that come to /dev/null.
I found a work-around to fix the problem; scanning the disk on each host, worked for me.
Set ssh keys between the server to avoid logins. (fix host1,host2 ... hostN to your proper config).
host_list=(IP1 IP2 IP3 ... IPN)
for (( i=0;i<$count;i++)); do
ssh $HOST echo "- - -" > /sys/class/scsi_host/host1/scan
ssh $HOST echo "- - -" > /sys/class/scsi_host/host2/scan
You're running OVM 3.1.1 against a VNX? Is it running well? We've been experiencing general instability...
What is a "lip on fc_host" exactly?
EMC decided a long time ago to use their own product for multipathing. EMC does not work well with most native MPIOs. I wouldn't even consider trying to run FC connections to any OS without powerpath. Just try to find supported mulipther configs for most linux distributions... Even if you can find one... expect your logs to fill up on your servers from all the nonsense errors generated.
The rescan-scsi-bus.sh script or command has worked well for me on VNX storage. Although there are still issues with OVM and EMC and multipath issues.