You can use following script to fix vdsmd deamon which might stops behaving after 2-4 weeks.
------------------------
[root@RHEVHOST1 ~]# cat /test/bin/vdsmd_refresh.sh
service vdsmd restart > /var/log/vdsm_cron.log1 2>&1
sleep 10
service vdsmd restart > /var/log/vdsm_cron.log2 2>&1
Normally, this command doesn't reboot any VM but it might pause VM for a sec. Self defense mechanism inside VM can reboot itself sometimes. you can migrate such VMs before you run this command.
------------------------
[root@RHEVHOST1 ~]# cat /test/bin/vdsmd_refresh.sh
service vdsmd restart > /var/log/vdsm_cron.log1 2>&1
sleep 10
service vdsmd restart > /var/log/vdsm_cron.log2 2>&1
Normally, this command doesn't reboot any VM but it might pause VM for a sec. Self defense mechanism inside VM can reboot itself sometimes. you can migrate such VMs before you run this command.
No comments:
Post a Comment