We have insatlled simulator 7-mode on to a VM and created a snaplock volume .I am able to write a file on to it via java application. Next thing what i need is to commit that file to a WORM state . Following are the steps suggested by compliance and management pdf.
1. Create a storage system connection
2. Set the retention period by getting volume complicance time .
3. Set the file to WORM state by using the retention period calculated in step 2
4. close storage system
My questiion is how to connect to simulator to get volume compliance time?
Is there any other way to commit a file to WORM state without using ONTApi
once the file is set to ReadOnly (444 in you case) then it is commited to WORM immediately. Check the file status (ONTAP CLI command) using "file fingerprint -x pathname" - should return detailed information.
Have you initialized the compliance clock? How is your retention set?