service mysqld status
if [ $? != 0 ];then
rm -f /var/lib/mysql/mysql.sock
/etc/init.d/mysqld restart
/etc/init.d/cloudstack-management restart
/etc/init.d/cloudstack-agent restart
fi
service cloudstack-management status
service cloudstack-agent status
service nfs status
service rpcbind status
service libvirtd status[/tex]
mount -t nfs 10.217.55.201:/secondary /mnt/secondary
service mysqld restart
/etc/init.d/rpcidmapd restart
service rpcbind restart
service nfs restart
service libvirtd restart
service cloudstack-agent restart
service cloudstack-management restart