7 Replies Latest reply: Oct 24, 2013 11:00 AM by pjagannathan RSS

Vmware Snapshot + App Consistency

pjagannathan
Currently Being Moderated

I have SC 4.0 installed and trying to do a VM snapshot. My goal here is to take a NetApp snapshot of the VM and also ensure application consistency. The application is not in the native plugin list and also not a community plugin.

 

I decided to use pre/post App quiesce comands which points to a Shell script to quiesce/unquiesce databases.

 

1. Is this the correct way to go about for databases thats not in the list?

2. I edited the config file and set the param PRE_APP_QUIESCE_CMD01=/usr/local/scAgent4.0.0/sctest.sh

 

the sctest.sh is a simple test file and has 755 permissions.

ls -l 1>1.out

 

########## PRE APPLICATION QUIESCE COMMANDS ##########

[192.168.x.x:9090 (4.0.0.1)] Executing Pre application quiesce command [/usr/local/scAgent4.0.0/sctest.sh] on 192.168.x.x

[192.168.x.x:9090 (4.0.0.1)] [agt-00011] Command [/usr/local/scAgent4.0.0/sctest.sh] is not allowed

 

3. Testing this on 8.2 CDOT lead to timeout errors. Is 8.2 CDOT supported?

ERROR: com.netapp.snapcreator.storage.executor.ZapiExecutorException: java.net.ConnectException: Connection timed out

          at com.netapp.snapcreator.storage.executor.ZapiExecutorImpl.run(ZapiExecutorImpl.java:58)

          at com.netapp.snapcreator.storage.executor.ZapiExecutorImpl.invoke(ZapiExecutorImpl.java:87)

          at com.netapp.snapcreator.storage.executor.ZapiExecutorImpl.updateApiVersion(ZapiExecutorImpl.java:203)

          at com.netapp.snapcreator.storage.executor.DirectZapiExecutor.<init>(DirectZapiExecutor.java:74)

          at com.netapp.snapcreator.storage.executor.ZapiExecutorFactory.get(ZapiExecutorFactory.java:72)

          at com.netapp.snapcreator.storage.api.StorageApiFactory.getStorage(StorageApiFactory.java:28)

          at com.netapp.snapcreator.storage.StorageCoreImpl.systemGetVersion(StorageCoreImpl.java:1551)

          at com.netapp.snapcreator.workflow.task.ApplicationTask.validateCMode(ApplicationTask.java:189)

          at com.netapp.snapcreator.workflow.task.ValidateSnapCreateParams.execute(ValidateSnapCreateParams.java:118)

          at com.netapp.snapcreator.workflow.impl.SCTaskCallable.call(SCTaskCallable.java:48)

          at com.netapp.snapcreator.workflow.impl.SCTaskCallable.call(SCTaskCallable.java:20)

          at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

          at java.util.concurrent.FutureTask.run(Unknown Source)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

  • Re: Vmware Snapshot + App Consistency
    pjagannathan
    Currently Being Moderated

    Ok, I got past the pre/post script issue. Had to modify the agent.conf file and also move the script to a location outside the SnapCreator install dir.

  • Re: Vmware Snapshot + App Consistency
    pjagannathan
    Currently Being Moderated

    But I'm still running into issues on CDOT 8.2 though.

    • Re: Vmware Snapshot + App Consistency
      spinks
      Currently Being Moderated

      Hi -

       

      Just saw this thread.  Glad you found the agent.conf setting.

       

      ONTAP 8.2 is not supported with Snap Creator 4.0.  It will be supported with Snap Creator 4.1.

       

      That being said, many of us are running Snap Creator 4.0 on ONTAP 8.2 with no problems.

      The caveat is that some features added to 8.2 such as SnapVault and CG will not work until Snap Creator 4.1 is released (est January 2014).

       

      Can you post a log so we can get a better feel for where in the process you are hitting errors?

       

      Thanks,

       

      John

      • Re: Vmware Snapshot + App Consistency
        pjagannathan
        Currently Being Moderated

        Thanks for the response. It pretty much fails right in the beginning of the Job when discovering the ONTAP

         

        ########## Detecting Data ONTAP mode for auto ##########

        [2013-09-18 13:11:36,686] INFO: STORAGE-03031: System version details of [xxxxxxx].

        [2013-09-18 13:11:36,686] ERROR: com.netapp.snapcreator.storage.executor.ZapiExecutorException: java.net.ConnectException: Connection timed out

                  at com.netapp.snapcreator.storage.executor.ZapiExecutorImpl.run(ZapiExecutorImpl.java:58)

                  at com.netapp.snapcreator.storage.executor.ZapiExecutorImpl.invoke(ZapiExecutorImpl.java:87)

                  at com.netapp.snapcreator.storage.executor.ZapiExecutorImpl.updateApiVersion(ZapiExecutorImpl.java:203)

                  at com.netapp.snapcreator.storage.executor.DirectZapiExecutor.<init>(DirectZapiExecutor.java:74)

                  at com.netapp.snapcreator.storage.executor.ZapiExecutorFactory.get(ZapiExecutorFactory.java:72)

                  at com.netapp.snapcreator.storage.api.StorageApiFactory.getStorage(StorageApiFactory.java:28)

                  at com.netapp.snapcreator.storage.StorageCoreImpl.systemGetVersion(StorageCoreImpl.java:1551)

                  at com.netapp.snapcreator.workflow.task.ApplicationTask.validateCMode(ApplicationTask.java:189)

                  at com.netapp.snapcreator.workflow.task.ValidateSnapCreateParams.execute(ValidateSnapCreateParams.java:118)

                  at com.netapp.snapcreator.workflow.impl.SCTaskCallable.call(SCTaskCallable.java:48)

                  at com.netapp.snapcreator.workflow.impl.SCTaskCallable.call(SCTaskCallable.java:20)

                  at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

                  at java.util.concurrent.FutureTask.run(Unknown Source)

                  at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

                  at java.lang.Thread.run(Unknown Source)

        Caused by: java.net.ConnectException: Connection timed out

                  at java.net.PlainSocketImpl.socketConnect(Native Method)

                  at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)

                  at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)

                  at java.net.AbstractPlainSocketImpl.connect(Unknown Source)

                  at java.net.SocksSocketImpl.connect(Unknown Source)

                  at java.net.Socket.connect(Unknown Source)

                  at java.net.Socket.connect(Unknown Source)

                  at java.net.Socket.<init>(Unknown Source)

                  at java.net.Socket.<init>(Unknown Source)

                  at javax.net.DefaultSocketFactory.createSocket(Unknown Source)

                  at netapp.manage.http.HTTPClient.<init>(HTTPClient.java:492)

                  at netapp.manage.NaServer.getSession(NaServer.java:330)

                  at netapp.manage.NaServer.invokeHTTP(NaServer.java:836)

                  at netapp.manage.NaServer.invokeElemForXML(NaServer.java:692)

                  at netapp.manage.NaServer.invokeElem(NaServer.java:614)

                  at com.netapp.snapcreator.storage.executor.ZapiExecutorImpl.run(ZapiExecutorImpl.java:53)

                  ... 15 more

         

         

        [2013-09-18 13:11:36,687] ERROR: STORAGE-03033: System version details of [xxxxxxxx] failed with error [java.net.ConnectException: Connection timed out].

        ########## Snap Creator Framework 4.0p1 failed ##########

        [2013-09-18 13:11:36,687] INFO: Pre Exit commands are not defined. Skipping !

More Like This

  • Retrieving data ...