Subscribe
Accepted Solution

Snapcreator communication to a vfiler

[ Edited ]

Hi!

We are having problems talking to a vfiler, we read in other discussions here that you do not need to enter the physical filer and just configuring against the vfiler should work.

Config-file below

########################

###Required Options ###

########################

CONFIG_TYPE=STANDARD

SNAME=s5e

SNAP_TIMESTAMP_ONLY=Y

VOLUMES=segotx608:got608v003

NTAP_SNAPSHOT_RETENTIONS=hourly:24,daily:3,weekly:1

NTAP_USERS=segotx608:sapscadm/sapsc321

NTAP_PWD_PROTECTION=N

TRANSPORT=HTTP

PORT=80

LOG_NUM=30

SC_TMP_DIR=

-----ERRORMESSAGE

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

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

[Thu Oct 1315:41:15 2011] INFO: No commands defined

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

##########Application quiesce ##########

[Thu Oct 1315:41:15 2011] INFO: Quiescing databases

[Thu Oct 1315:41:15 2011] INFO: Quiescing database s5e

[Thu Oct 1315:41:16 2011] INFO: Quiescing database s5e finished successfully

[Thu Oct 1315:41:16 2011] INFO: Quiescing databases finished successfully

##########POST APPLICATION QUIESCE COMMANDS ##########

[Thu Oct 1315:41:16 2011] INFO: No commands defined

##########POST APPLICATION QUIESCE COMMANDS FINISHED SUCCESSFULLY ##########

##########PRE NETAPP COMMANDS ##########

[Thu Oct 1315:41:16 2011] INFO: No commands defined

##########PRE NETAPP COMMANDS FINISHED SUCCESSFULLY ##########

##########Detecting Data OnTap mode for segotx608 ##########

[Thu Oct 1315:41:17 2011] INFO: Data OnTap 7 mode detected

##########Generating Info ASUP on segotx608 ##########

[Thu Oct 1315:41:17 2011] OUTPUT: Zapi::parse_xml - Expected <netapp> element, butgot HTML

[Thu Oct 1315:41:17 2011] ERROR: [scf-00062] NetApp ASUP create on segotx608 failed!

##########Application unquiesce ##########

[Thu Oct 1315:41:17 2011] INFO: Unquiescing databases

[Thu Oct 1315:41:17 2011] INFO: Unquiescing database s5e

[Thu Oct 1315:41:18 2011] INFO: Unquiescing database s5e finished successfully

[Thu Oct 1315:41:18 2011] INFO: Unquiescing databases finished successfully

##########PRE EXIT COMMANDS ##########

[Thu Oct 1315:41:18 2011] INFO: No commands defined

##########PRE EXIT COMMANDS FINISHED SUCCESSFULLY ##########

[Thu Oct 1315:41:20 2011] INFO: Creating OM Event (script:critical-event) onsegotn7921.rds.volvo.com

[Thu Oct 13 15:41:202011] INFO: OM Event (script:critical-event) on segotn7921.rds.volvo.comcreated successfully

As you can see the snapshot part fails and we do not understand what is wrong.

Can you help us here?

Reagrds Magnus

Snapcreator communication to a vfiler

SC works fine w/vfiler

You need to check following:

1) use http only, vfilers don't support https (you are doing that)

2) ensure vfiler is allowing APIs, this is not case since error suggest we got back HTML instead of XML.

options http.admin.enable on

That should allow things to work

Let us know

Keith

Snapcreator communication to a vfiler

We still cannot get it to work.

What exactly do you mean with number 2) allowing API?

Does it matter which OnTap version we have?

Snapcreator communication to a vfiler

Allowing API means allowing http admin access. Right now SC is sending XMP requests to your vfiler and your vfiler is not understanding those and sending back HTML.

The two setting you should check are:

httpd.admin.access           legacy    

httpd.admin.enable           on    

Here is example of http settings on my storage system

cuba2> options http

httpd.access                 legacy    

httpd.admin.access           legacy    

httpd.admin.enable           on        

httpd.admin.hostsequiv.enable off       

httpd.admin.max_connections  512       

httpd.admin.ssl.enable       on        

httpd.admin.top-page.authentication on        

httpd.autoindex.enable       off       

httpd.bypass_traverse_checking off       

httpd.enable                 on        

httpd.log.format             common     (value might be overwritten in takeover)

httpd.method.trace.enable    off       

httpd.rootdir                XXX       

httpd.timeout                300        (value might be overwritten in takeover)

httpd.timewait.enable        off        (value might be overwritten in takeover)

For vfiler you wont have the SSL settings but everything else should be set similar to above.

If SC doesn't work then niether would SnapDrive or any other management produtcs that require HTTP access.

Regards,

Keith