Ya. I have used the following commands to create coredump file in my shared datastore.
$esxcli.system.coredump.file.add($null, "datastore1", $true, "coredumpfile", 100)
file is also created in datastore and its active.
still configuration issue is not resolved