Thursday, June 25, 2015

Julesburg software pre and post script execution

Julesburg software pre and post script execution:
By default, Julesburg software is preset with /etc/cmm/scripts/pre_cmm_startup script to execute commands for CMM initial start up.
Besides the default script, there are 3 more script that can be preloaded during WW/CMM operation to handle automated scripting or commands execution.
Default:
/etc/cmm/scripts/pre_cmm_startup
Others:
/etc/cmm/scripts/post_cmm_startup
/etc/cmm/scripts/pre_cmm_shutdown
/etc/cmm/scripts/post_cmm_shutdown
Each of the scripts above executed at different time of CMM operations.
pre_cmm_startup: Executed once WindRiver Linux has boot up but before Julesburg is brought up.
post_cmm_startup: Executed when Julesburg/CMM just boot up or initialized and running.
pre_cmm_shutdown: Executed when Julesburg/CMM received terminate CMM/Julesburg signal but CMM not yet stop.

post_cmm_shutdown: Executed when Julesburg/CMM received terminate CMM/Julesburg signal and after CMM stop.
These scripts are useful when customers or engineers want to execute scripts/commands/creating logs and etc at the 4 time phase explained above.

No comments: