Success – thanks a lot, it’s working now
J
Bye,
Alexander Griesser
System-Administrator
ANEXIA Internetdienstleistungs GmbH
Telefon: +43-463-208501-320
Telefax: +43-463-208501-500
E-Mail:
ag@anexia.at
Web:
http://www.anexia.at
Anschrift Hauptsitz Klagenfurt: Feldkirchnerstraße 140, 9020 Klagenfurt
Geschäftsführer: Alexander Windbichler
Firmenbuch: FN 289918a | Gerichtsstand: Klagenfurt | UID-Nummer: AT U63216601
Von: toasters-bounces@teaparty.net [mailto:toasters-bounces@teaparty.net]
Im Auftrag von Alexander Griesser
Gesendet: Mittwoch, 01. Mai 2013 16:18
An: Xue, Youfeng
Cc: toasters@teaparty.net
Betreff: AW: Experience with sv-smvi?
Thanks,
that drove me into the right direction – I was under the assumption, that some basic components are missing or failing here because I wasn’t even able to run it on the command line – my bad.
I did now add –report and –reportdir to the script file which gets executed by VSC and am getting reports now, still not working but that’s because I’m using a private subnet for mounting the datastores which
is not accessible from the VC server and am now playing with options (-svip, -noping, etc.).
Will see how it goes, if it still doesn’t work, I’ll get back to you
J
Thanks again for the hints!
Alexander Griesser
System-Administrator
ANEXIA Internetdienstleistungs GmbH
Telefon: +43-463-208501-320
Telefax: +43-463-208501-500
E-Mail:
ag@anexia.at
Web:
http://www.anexia.at
Anschrift Hauptsitz Klagenfurt: Feldkirchnerstraße 140, 9020 Klagenfurt
Geschäftsführer: Alexander Windbichler
Firmenbuch: FN 289918a | Gerichtsstand: Klagenfurt | UID-Nummer: AT U63216601
Von: Xue, Youfeng [mailto:youfeng.xue@netapp.com]
Gesendet: Mittwoch, 01. Mai 2013 15:27
An: Alexander Griesser
Cc: toasters@teaparty.net
Betreff: RE: Experience with sv-smvi?
Hi
, alex
Looks your script is good, would you please try to run it with –verbose –report -reportdir switch to have more information for troubleshooting?
Here is my example:
C:\"Program Files"\NetApp\"Virtual Storage Console"\smvi\server\scripts\sv-smvi.exe -svuser root -svpasswd password -verbose -report -reportdir C:\NetApp\sv_smvi_log
And please makesure you have your snapvault initializated and filer hostname written to your vcenter ‘s host file or your dns is configured correctly.
And the script should trigger only within VSC(normally SMVI), it will need SMVI to transfer the volume name and snapname to the script, or it could run with nothing.
Good luck
From: Alexander
Griesser [mailto:ag@anexia.at]
Sent: 2013年5月1日
21:01
To: Xue, Youfeng
Cc: toasters@teaparty.net
Subject: AW: Experience with sv-smvi?
Hi,
sure, this is it (just changed the password):
"%PROGRAMFILES%\NetApp\SV-SMVI\sv-smvi.exe" -svuser root -svpasswd password
The file (sv-smvi.exe) exists in this directory and when I call it manually f.ex. (outside of the VSC post-script environment), it looks like this:
C:\Program Files\NetApp\SV-SMVI>sv-smvi.exe -svuser root -svpasswd password -verbose -debug
runExit(): -----------------------------------------------------
runExit(): Exiting with return code: 0
C:\Program Files\NetApp\SV-SMVI>
Bye,
Alexander Griesser
System-Administrator
ANEXIA Internetdienstleistungs GmbH
Telefon: +43-463-208501-320
Telefax: +43-463-208501-500
E-Mail:
ag@anexia.at
Web:
http://www.anexia.at
Anschrift Hauptsitz Klagenfurt: Feldkirchnerstraße 140, 9020 Klagenfurt
Geschäftsführer: Alexander Windbichler
Firmenbuch: FN 289918a | Gerichtsstand: Klagenfurt | UID-Nummer: AT U63216601
Von: Xue, Youfeng [mailto:youfeng.xue@netapp.com]
Gesendet: Mittwoch, 01. Mai 2013 14:48
An: Alexander Griesser
Cc: toasters@teaparty.net
Betreff: Re: Experience with sv-smvi?
May I see you smvi.bat?
在 2013-5-1,下午7:09,"Alexander Griesser" <ag@anexia.at>
写道:
Hey,
does anyone have experience with the sv-smvi script which can be used to support SnapVault in VSC Backups?
I’m having some troubles with getting it running at all, no matter what I do, it always just exits with return code 0, even when I use the –verbose or –debug switches, it also does not write report files.
Even if I’m giving it wrong user/password combinations, it still only exits with return code 0 and that’s about it then.
Thanks,
Alexander Griesser
System-Administrator
ANEXIA Internetdienstleistungs GmbH
Telefon: +43-463-208501-320
Telefax: +43-463-208501-500
E-Mail: ag@anexia.at
Web: http://www.anexia.at
Anschrift Hauptsitz Klagenfurt: Feldkirchnerstraße 140, 9020 Klagenfurt
Geschäftsführer: Alexander Windbichler
Firmenbuch: FN 289918a | Gerichtsstand: Klagenfurt | UID-Nummer: AT U63216601
_______________________________________________
Toasters mailing list
Toasters@teaparty.net
http://www.teaparty.net/mailman/listinfo/toasters