1 Reply Latest reply: Sep 26, 2017 1:59 PM by dynamox RSS

Powershell and XTREMIO

clarkk6

I am testing some scripts with xtremio 2.0 powershell module , The XMS is managing two clusters, when i create a volume using the cluster name, everything work fine, however when i create a Initiatorgroup, it does not find the cluster name ? The debug and verbose output shows the restapi URL, which includes the clustername. Has anyone seen or have this issues ?

 

PS C:\windows\system32> New-XtremVolume -XtremClusterName VSCALEXIO -VolName TEST -VolSize 10m

 

Index CreationTime        

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

    3 9/25/2017 10:29:51 AM

 

 

PS C:\windows\system32> New-XtremInitiatorGroup -XtremClusterName VSCALEXIO -InitiatorGroupName HOST4 -Debug -Verbose

VERBOSE: POST https://x.x.x.x/api/json/v2/types/initiator-groups?cluster-name=VSCALEXIO with -1-byte payload

@{message=cluster_id_is_required; error_code=400}

At C:\windows\system32\WindowsPowerShell\v1.0\Modules\XtremLib\xtremlib.psm1:7025 char:9

+         throw $error

+         ~~~~~~~~~~~~

    + CategoryInfo          : OperationStopped: (@{message=clust...error_code=400}:PSObject) [], RuntimeException

    + FullyQualifiedErrorId : @{message=cluster_id_is_required; error_code=400}