VCEM Profile Failover and Profile Moves White Paper
24
9. Review the Automatic Event Handling task summary. The automatic event handler will be
invoked whenever one of the trigger events occurs for the specified system. Click Finish to
return to the Manage Tasks screen.
Figure 16: Reviewing the summary
Using customized scripts to initiate failover
You may choose to create customized scripts or batch files to initiate failover. These scripts
can be logically constructed to perform tasks before and after a VCEM profile failover. The
basic construction of a custom script might be:
• Pre-Failover commands. Some examples include:
o Evacuate Virtual Machines from an ESX Host
o Gracefully shutdown an application
o Write volatile data to disk
• VCEM failover command. Use one of the following:
o vcem –failover –host hostname
o vcem –failover –ip ip_address
o vcem –failover –bay enclosure_name:bay_number