Hi,
I installed the WFA 4.2 on RHEL 7.4 (with some trouble).
The restore of a WFA 4.1 backup was successful.
I haven't tried all workflows, but they are failing on a certain point. One is the creation of a qtree in a volume.
The workflow dies with the message:
not well-formed (invalid token) at line 1, column 685, byte 695 at /usr/lib64/perl5/vendor_perl/XML/Parser.pm line 187.
Location: Row '1' step 'Create qtree'.
The API seems to be ok if I invoke it on the command line. The qtree is created:
require 5.6.1;
use lib '/opt/wfa/wfa/perl/nmsdk';
use strict;
use warnings;
use NaServer;
use NaElement;
my $s = new NaServer('SVM-Name', 1 , 130);
$s->set_server_type('FILER');
$s->set_transport_type('HTTPS');
$s->set_port(443);
$s->set_style('LOGIN');
$s->set_admin_user('Username', 'Password');
my $api = new NaElement('qtree-create');
$api->child_add_string('export-policy','default');
#$api->child_add_string('mode','');
$api->child_add_string('oplocks','disabled');
$api->child_add_string('qtree','testQtree');
$api->child_add_string('security-style','unix');
$api->child_add_string('volume','Testvolume');
my $xo = $s->invoke_elem($api);
if ($xo->results_status() eq 'failed') {
print 'Error:\n';
print $xo->sprintf();
exit 1;
}
print 'Received:\n';
print $xo->sprintf();
Does someone have an idea where to get more detailed information? Where can I seen the commands passed to the API?
Marcus