Unsolved

442

November 8th, 2021 06:00

Apply AccessPolicyGroup to Volume with Powershell

Hello,

I'm trying to create a volume and assign access policy to it.
After creating volume I opened GUI and checked volume. The 'iscsi access' is set to 'no access', which is fine since no ACL or AccessPolicyGroup is assigned.
Now, I've got accessgroup which was created via GUI, but I don't see a way to assign it to this new Volume.
There is no cmdlet like Set-EqlVolumeAccessPolicy? Any change to do it via PS?
Here is some brief of creating vol:
#Connect to PS
$GrpAddr = "x.x.x.x"
Connect-EqlGroup -GroupAddress $GrpAddr -Credential (Get-Credential)

#CreateVolume
$volname ="cl-test-02"
$VolSize = "2048"
$SnapshotReserve = "25"
$SnapshotReserveWarn = "90"
$ThinProvision = "Yes"
$ThinProvisionWarn = "80"
$ThinProvisionReserveMin = "25"
$ThinProvisionReserveMax = "100"
$multipleAccess = "Yes"
New-EqlVolume -VolumeName $VolName -VolumeSizeMB $VolSize `
-iSCSIAlias $volname
-SnapshotReservePercent $SnapshotReserve -VolumeDescription $Description `
-ThinProvision $ThinProvision -AllowMultipleInitiators $multipleAccess `
-SnapshotReserveWarnPercent $SnapshotReserveWarn -ThinProvisionWarningPercent $ThinProvisionWarn `
-ThinProvisionMinReservePercent $ThinProvisionReserveMin -ThinProvisionMaxGrowPercent $ThinProvisionReserveMax

Regards, Hubert

Moderator

 • 

9.3K Posts

November 8th, 2021 10:00

Hi Hubert,

Which storage device are you using? This may help https://dell.to/3wqHu8R

4 Operator

 • 

2.3K Posts

November 8th, 2021 22:00

November 9th, 2021 06:00

Ye, I've seen this spreadsheet, but it's kinda old with ref v4.0, where the accesspolicy where not even the thing. I've found that they got added after v7.0.

I've been thinking about running with ACL, but this forces me to add new ACL for each ISCSI host per volume for my migration, while groups allow me to just add it once and forget it.

It seems that there is no way to currently to manage a groups for ACL (access policies and accesspolicies groups) apart from creating, deleting or associating access policies to access policies groups, unless I've missed something.

This is on newest HIT 5.4.0.1

PS>Get-Module *eql*

ModuleType Version Name ExportedCommands
---------- ------- ---- ----------------
Binary 5.4.0.1... EqlMpioPSTools {Get-EqlMpioConfiguration, Set-EqlMpioConfiguration...}
Binary 5.4.0.1... EqlPSArrayPSTools {Get-EqlPSArray, Set-EqlPSArray}
Binary 5.4.0.1... EqlPSTools {New-EqlAccessPolicyGroupAssociation, Remove-...}

Regards, Hubert

November 9th, 2021 06:00

Hello,

Currently on PS6210 fw V10.0.3.

4 Operator

 • 

1.5K Posts

November 9th, 2021 08:00

Hello, 

 An option I use for Vmware, Linux and Windows clusters, hypervisors, etc is CHAP.   This way I set the ACL once and add the CHAP username / password to the new server I am addind. 

 Regards, 

Don

No Events found!

Top