Community

Subscribe
Highlighted
Accepted Solution

Environment variable not reflected on Snap Creator Framework 3.4p1d1

Synptom:

APP_AUTO_DISCOVERY has been set as N, but "Application Auto Discovery" still got kicked during Action=snap.

My analysis:

The folow scdump log shows "Application Auto Discovery" got kicked at Line 1913: &QUIESCE_APP;

-----------------

......

########## Parsing Environment Parameters ##########

[Thu Feb  7 01:25:01 2013] DEBUG: Parsing VOLUMES - filer: CtrlA volume: vola

[Thu Feb  7 01:25:01 2013] DEBUG: Parsing VOLUMES - filer: CtrlB volume: volb

......

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

[Thu Feb  7 01:25:01 2013] INFO: No commands defined

########## PRE APPLICATION QUIESCE COMMANDS FINISHED SUCCESSFULLY ##########

########## Application Auto Discovery ##########

[Thu Feb  7 01:25:02 2013] [10.128.0.80:9090(3.4.0.1)] INFO: Checking if VIBE pre-requisites already run (function: discover) ....

[Thu Feb  7 01:25:02 2013] [10.128.0.80:9090(3.4.0.1)] DEBUG: Saving vDC Dedicated Backup kkkk Organization ppppp for backup.

......

-----------------

While within QUIESCE_APP:

-----------------

### Quiesce Application ###

sub QUIESCE_APP {

    if ($ENV{'APP_NAME'} !~ m/^null$/ && $ENV{'NTAP_SNAPSHOT_DISABLE'} !~ m/^y$/i) {

        my $result = ();

        # App Auto Disocovery or Validate Volumes (if requested)

        if ($ENV{'APP_AUTO_DISCOVERY'} =~ m/^y$/i) {

            &APP_AUTO_DISCOVERY();

        } else {

            &VALIDATE_VOLUMES();

        }

-----------------

So APP_AUTO_DISCOVERY seems still being seen as Y (previously it was Y, but these days we changed it to N).

Any chance I can have your comment upon this ?

scdump logs and .conf file attached.

Thanks in advance.

Re: Environment variable not reflected on Snap Creator Framework 3.4p1d1

Hello,

Please set this parameter in the configuration file.

VIBE_DYNAMIC_VOLUMES_UPDATE=N

Here is a document that you could refer as well.


http://www.netapp.com/nl/system/pdf-reader.aspx?m=tr-4068.pdf&cc=nl&wid=152035045&mid=75194265&cc=nl

Thanks,
Siva Ramanathan

Re: Environment variable not reflected on Snap Creator Framework 3.4p1d1

Thank you Ramanathan.

It seems that vibe is a little special compared with other plugins:

   578:####################################

   579:### Define undeclared parameters ###

   580:####################################

   581:&setEnv();

  9023:### Set all undefined Global parameters ###

  9024:sub setEnv {

  9109:    ### Application plugins which require non-default parameters ###

  9110:    if (defined $ENV{'APP_NAME'} && $ENV{'APP_NAME'} =~ m/^vibe$/i) {

  9111:        $ENV{'APP_DEFINED_RESTORE'}="Y";

  9112:        $ENV{'APP_AUTO_DISCOVERY'}="Y";

  9113:        $ENV{'APP_CONF_PERSISTENCE'}="Y";

  9114:    }

Thanks again, will have a try.

Bing

Re: Environment variable not reflected on Snap Creator Framework 3.4p1d1

Hello Bing,

You are correct.

I was advised by our VMware Guru that to leave the auto discovery ON.

You should never disable auto discovery with VIBE.  It would break down the search for VMs and the quiesce/unquiesce ordering.

It’s the reason why it is hard-coded internally -- it should always auto discover even if you try to say ‘N’.

--Matt

Matt Robinson - NetApp

Infrastructure Architect - Enterprise Business Solutions

Thanks,

Siva Ramanathan

Re: Environment variable not reflected on Snap Creator Framework 3.4p1d1

Hi Siva,

I saw document you referred is for cluster-mode. So are you meaning descriptions there also apply for 7-mode?

Also I cannot find such description in IAG

https://library.netapp.com/ecm/ecm_get_file/ECMM1278897

Maybe we need a KB saying that also applies for 7-mode ?

Thanks,

Bing

Re: Environment variable not reflected on Snap Creator Framework 3.4p1d1

Snapcreator Installation and Administration Guide for 3.6.0 has this variable  defined.

IAG you listed https://library.netapp.com/ecm/ecm_get_file/ECMM1278897 has this variable defined as well.

This variable is independent of 7-mode or clustered ONTAP.

Re: Environment variable not reflected on Snap Creator Framework 3.4p1d1

Customer tried VIBE_DYNAMIC_VOLUMES_UPDATE=N but failed with the following error:


ERROR: [scf-00050] Auto Discovery for plugin vibe failed because env is empty, Exiting!

Will post another thread.