Hi Guys,
This is my log file, appreciate if you guys could help me out. My storage management IP is pingable.
Command Line for discoverArrays: "C:\Program Files\VMware\VMware Site Recovery Manager\external\perl-5.8.8\bin\perl.exe" "C:/Program Files/VMware/VMware Site Recovery Manager/scripts/SAN/IBM/command.pl"
Input for discoverArrays: <?xml version="1.0" encoding="UTF-8"?>
<Name>discoverArrays</Name>
<Name>DS4800</Name>
<Address>192.168.2.247</Address>
<Address>192.168.2.248</Address>
<OutputFile>C:\WINDOWS\TEMP\vmware-SYSTEM\dr-sanprovider1</OutputFile>
<LogLevel>trivia</LogLevel>
Environment ALLUSERSPROFILE=C:\Documents and Settings\All Users will be set for the script
Environment ClusterLog=C:\WINDOWS\Cluster\cluster.log will be set for the script
Environment CommonProgramFiles=C:\Program Files\Common Files will be set for the script
Environment COMPUTERNAME=VCENTERSRM-32 will be set for the script
Environment ComSpec=C:\WINDOWS\system32\cmd.exe will be set for the script
Environment FP_NO_HOST_CHECK=NO will be set for the script
Environment lib=C:\Program Files\SQLXML 4.0\bin\ will be set for the script
Environment NUMBER_OF_PROCESSORS=1 will be set for the script
Environment OS=Windows_NT will be set for the script
Environment Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\Program Files\VMware\VMware Site Recovery Manager\scripts\SAN\IBM;C:\Program Files\VMware\VMware Site Recovery Manager\scripts\SAN\IBM;C:\Program Files\VMware\VMware Site Recovery Manager\scripts\SAN\IBM;C:\Program Files\VMware\VMware Site Recovery Manager\scripts\SAN\IBM will be set for the script
Environment PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH will be set for the script
Environment PROCESSOR_ARCHITECTURE=x86 will be set for the script
Environment PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 8, GenuineIntel will be set for the script
Environment PROCESSOR_LEVEL=6 will be set for the script
Environment PROCESSOR_REVISION=0f08 will be set for the script
Environment ProgramFiles=C:\Program Files will be set for the script
Environment SystemDrive=C: will be set for the script
Environment SystemRoot=C:\WINDOWS will be set for the script
Environment TEMP=C:\WINDOWS\TEMP will be set for the script
Environment TMP=C:\WINDOWS\TEMP will be set for the script
Environment USERPROFILE=C:\Documents and Settings\Default User will be set for the script
Environment windir=C:\WINDOWS will be set for the script
Starting process: "C:
Program Files
VMware
VMware Site Recovery Manager
external
perl-5.8.8
bin
perl.exe" "C:/Program Files/VMware/VMware Site Recovery Manager/scripts/SAN/IBM/command.pl"
discoverArrays exited with exit code 0
C:/Program Files/VMware/VMware Site Recovery Manager/scripts/SAN/IBM[2008-11-10:: 14:12:45]:INFO:discoverArray:call the discoverArray.pl file.....
:INFO:discoverArray:exit discoverArrays.....
'perl' is not recognized as an internal or external command,
operable program or batch file.
Failed to retrieve script results
Work function threw std::exception: XML document is empty
(dr.fault.InternalError) {
reason = "XML document is empty",
Error set to (dr.fault.InternalError) {
reason = "XML document is empty",
Work function completed with error
Adding task StorageManager.DeleteArrayManager-16
Removing array-manager-538 from database
Persisting storage-manager-7 to database
Saving Storage Manager 'storage-manager-7' to DB object
Saved Storage Manager 'storage-manager-7' to DB object
Array Manager 'Check628088459ds4700' deleted
Work function completed successfully
Task StorageManager.CreateArrayManager-13 marked as complete
Task ArrayManagerImpl.UpdateSpecTask-14 marked as complete
Task ArrayManagerImpl.QueryInfoTask-15 marked as complete
Task StorageManager.DeleteArrayManager-16 marked as complete
This error is due to missing path.
You have to add the path to the perl direftory (which is installed in de SRM directory.
As a example is place my path envoiromental here. The second path should direct to the script directory (depending on storage vendor)
if you have done this, you can execute for example the command.pl from the dosbox (it will only activate perl)
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;_"D:\VMware\VMware Site Recovery Manager\external\perl-5.8.8\bin"_;"D:\VMware\VMware Site Recovery Manager\scripts\SAN\IBM"
Sarek
If you find this information useful, please award points for "correct" or "helpful".
I notice your log file has entries like
"'perl' is not recognized as an internal or external command,
2 operable program or batch file"
That sounds like the either the path to the perl.exe is not registered in environmental variables in Windows... or that the script is making a hard-coded reference to an invalid path...
C:\Program Files\VMware\VMware Site Recovery Manager\external\perl-5.8.8\bin\perl.exe
Can you check these paths?
Did you remember to stop and restart the SRM service after installing the SRA for you array - on both the protected/recovery site?
I notice you sample log has reference to IBM storage. There's been a thread about this on this forum. I doubt it relates to this error - perhaps you should have a look:
http://communities.vmware.com/thread/166877
Regards
Mike
I solved the perl problem and this is what i'm getting now .. this is getting frustrating ...
<Name>discoverArrays</Name>
<Name>DS4800</Name>
<Address>192.168.2.140</Address>
<Address>192.168.2.141</Address>
<OutputFile>C:\WINDOWS\TEMP\vmware-SYSTEM\dr-sanprovider1</OutputFile>
<LogLevel>trivia</LogLevel>
Environment ALLUSERSPROFILE=C:\Documents and Settings\All Users will be set for the script
Environment ClusterLog=C:\WINDOWS\Cluster\cluster.log will be set for the script
Environment CommonProgramFiles=C:\Program Files\Common Files will be set for the script
Environment COMPUTERNAME=VCENTERSRM-32 will be set for the script
Environment ComSpec=C:\WINDOWS\system32\cmd.exe will be set for the script
Environment FP_NO_HOST_CHECK=NO will be set for the script
Environment lib=C:\Program Files\SQLXML 4.0\bin\ will be set for the script
Environment NUMBER_OF_PROCESSORS=1 will be set for the script
Environment OS=Windows_NT will be set for the script
Environment Path=C:\Program Files\VMware\VMware Site Recovery Manager\scripts\SAN\IBM will be set for the script
Environment PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH will be set for the script
Environment PROCESSOR_ARCHITECTURE=x86 will be set for the script
Environment PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 8, GenuineIntel will be set for the script
Environment PROCESSOR_LEVEL=6 will be set for the script
Environment PROCESSOR_REVISION=0f08 will be set for the script
Environment ProgramFiles=C:\Program Files will be set for the script
Environment SystemDrive=C: will be set for the script
Environment SystemRoot=C:\WINDOWS will be set for the script
Environment TEMP=C:\WINDOWS\TEMP will be set for the script
Environment TMP=C:\WINDOWS\TEMP will be set for the script
Environment USERPROFILE=C:\Documents and Settings\Default User will be set for the script
Environment windir=C:\WINDOWS will be set for the script
Starting process: "C:
Program Files
VMware
VMware Site Recovery Manager
external
perl-5.8.8
bin
perl.exe" "C:/Program Files/VMware/VMware Site Recovery Manager/scripts/SAN/IBM/command.pl"
discoverArrays exited with exit code 0
C:/Program Files/VMware/VMware Site Recovery Manager/scripts/SAN/IBM[2008-11-11:: 17:56:38]:INFO:discoverArray:call the discoverArray.pl file.....
:INFO:discoverArray:exit discoverArrays.....
Failed to retrieve script results
Work function threw std::exception: XML document is empty
(dr.fault.InternalError) {
reason = "XML document is empty",
Error set to (dr.fault.InternalError) {
reason = "XML document is empty",
Work function completed with error
Adding task StorageManager.DeleteArrayManager-28
Removing array-manager-652 from database
Persisting storage-manager-7 to database
Saving Storage Manager 'storage-manager-7' to DB object
Saved Storage Manager 'storage-manager-7' to DB object
Array Manager 'Check463797797DS4000' deleted
Work function completed successfully
Task StorageManager.CreateArrayManager-25 marked as complete
Task ArrayManagerImpl.UpdateSpecTask-26 marked as complete
Task ArrayManagerImpl.QueryInfoTask-27 marked as complete
Task StorageManager.DeleteArrayManager-28 marked as complete
Can I ask how did you fix the perl problem?
Also what make, model, vendor of SAN is it - I know its IBM... but beyond that...
Do you have a PDF file that tells you what the requirements are for your array to work with SRM. I've not worked with IBM storage with SRM, and would like to read up on it...
Regards
Mike
I see i difference in the path line. the path line now only points to the IBM script directory
Here is what your path look like from you log:
2008-11-11 17:56:38.355 'PrimarySanProvider' 2864 trivia Environment Path=C:\Program Files\VMware\VMware Site Recovery Manager\scripts\SAN\IBM will be set for the script
This is what i pulled out of my log:
Environment Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;"D:\VMware\VMware Site Recovery Manager\external\perl-5.8.8\bin";"D:\VMware\VMware Site Recovery Manager\scripts\SAN\IBM" will be set for the script
i tried the full path without " " but then it didn't work. I also had to add the path to the PERL directory to make things work. And if your are using SMSRAInstaller-WS32-01.00.35.03 as SRA it sould work.
Sarek
If you find this information useful, please award points for "correct" or "helpful".