Starting javamanager and elasticmanager in the same task seems to prevent elastic search from starting during scale operations.
Splitted these calls into seperate tasks.

Modified the Elastic Search Data path. And put the logging on the file share for easier access.

Added gracefully shutdown to worker role.