Граф коммитов

48 Коммитов

Автор SHA1 Сообщение Дата
Sanjay Rajmohan 0372af2f44
Update Device ID check for restore volume function (#282)
* Remove NAA ID check from restore volume function

* Add check for EUI devices
2024-10-22 12:03:27 -07:00
Sanjay Rajmohan fd6a4b3d68
Remove AutomationOnly attribute for Sync-VMHostStorage (#281) 2024-09-13 13:07:46 -07:00
Hesham Anan 0fc70f1ee7
RunCommand to test VMKernel connectivity (#266)
* RunCommand to test VMKernel connectivity

# Conflicts:
#	Microsoft.AVS.VMFS/Microsoft.AVS.VMFS.psd1
#	Microsoft.AVS.VMFS/Microsoft.AVS.VMFS.psm1

* Add AVSAttribute
2024-08-23 01:22:34 -07:00
Hesham Anan aa24cd93be
Allow specifying individual VMhost when cleaning iSCSI targets (#275)
* Allow specifying individual VMhost when cleaning iSCSI targets

* Change VMhosts ---> VMHosts

* Change VMhosts ---> VMHosts
2024-08-14 13:50:52 -07:00
Hesham Anan dcc4826c05
Check if an iSCSI target is used before removing it (#267) 2024-07-17 08:50:02 -07:00
Hesham Anan d627a7e9e1
Remove incorrect file (#265) 2024-07-17 08:48:13 -07:00
Eugene Tolmachev a35ad45eb4
fix metadata (#262)
* fix metadata

* require Compliance_Checks

* no difference in metadata between suffixes
2024-06-17 11:26:30 -04:00
Hesham Anan 562874cd9d
RunCommand to reconfigure HA (#260)
Add new RunCommand Repait-HAConfiguration to enable re-configuring HA
2024-06-13 11:45:32 -07:00
Hesham Anan 86ef0ffa1c
RunCommand Register Host with Static Discovery (#256)
Add a new RunCommand "Set-VmfsStaticIscsi" to set a static iSCSI target
and apply best practices settings to the created iSCSI target
2024-05-22 10:26:56 -07:00
rahman-lb db7158cb85
Updating RunCommands for Host and Datastore so that related datastore(s) and host(s) are returned respectively. (#255) 2024-05-22 10:25:57 -07:00
rahman-lb c873f9e82c
Adding back NVMe/TCP related functions (#246)
* Adding back function names  that were previously removed

* removed not needed character

* adding a missing function  New-NVMeTCPAdapter
2024-04-04 12:11:53 -07:00
rahman-lb 5d09770b80
Adding new RunCommand to create VM's snapshot in Quiesce mode on a given VMFS datastore (#245) 2024-04-04 09:06:37 -07:00
Sanjay Rajmohan 00996fcce8
Remove NVMeTCP exported functions (#243) 2024-03-06 09:26:10 -08:00
Sanjay Rajmohan e6f587e9e4
Export NVMeTCP cmdlets (#242) 2024-02-26 14:01:34 -08:00
rahman-lb 13409ffe34
Enable to resize flash and non-flash volume, removes a hard NaaId check (#239) 2024-02-15 22:04:40 -08:00
Hesham Anan 354a1eed48
Change default iSCSI config and allow overriding config values. (#240)
Change default NoopOutTime out to 30 seconds
Change default RecoveryTime to 45 seconds
Add parameters to override iSCSI config (LoginTImeout, NoopOutTimeout and RecoveryTimeout)
2024-02-14 08:50:52 -08:00
Hesham Anan 22a433283a
Change max VMFS size to 64 TB instead of 62 TB (#235) 2024-02-05 08:16:23 -08:00
Sanjay Rajmohan 0c2f122716
Remove using module from Microsoft.AVS.VMFS (#236) 2024-02-05 08:15:50 -08:00
Sanjay Rajmohan 1c32befe3a
Update functions to export for VMFS preview package (#229)
* Update functions to export for VMFS preview package

* Revert to include using module

* Use RequiredVersion
2023-12-12 13:59:20 -08:00
Eugene Tolmachev db2dc325bd
update dependencies to v6 (#228) 2023-12-01 15:17:20 -05:00
Sanjay Rajmohan caf593024a
Set AutomationOnly attribute for VMFS functions (#224) 2023-11-13 14:27:41 -08:00
Hesham Anan 39a4983fc0
Mark selected RunCommands with AutomationOnly attribute (#222) 2023-11-08 12:01:01 -08:00
Hesham Anan a52cfbc98e
Fix invalid check for Datastore name (#223) 2023-11-07 17:35:57 -05:00
Eugene Tolmachev f95ba4546e
bump Microsoft.AVS.Management dependency to latest (#221) 2023-10-27 09:06:20 -07:00
rahman-lb a4a145451f
Removing storage adapter health status check during connecting to targets (#205) 2023-08-29 13:37:27 -07:00
rahman-lb 100ed0602a
Reduced the amount of data written to NameOutput variable (#204) 2023-08-25 09:18:49 -07:00
rahman-lb b0bbead041
Enable user to collect and create storage adapter, Tag VMKernel for NVMe/TCP services. (#201)
* Adding RunCommands for collecting available storage adapters, VMKernels adapters,  Tagging NVMe/TCP  and creating new Storage adapter

* updating code return correct property for HOST NQN

* fixed code review comments, renamed function names
2023-08-17 08:57:30 -07:00
Sanjay Rajmohan 6db3337dfc
Add VMFS cmdlet exports again (#203) 2023-08-16 16:20:17 -07:00
Sanjay Rajmohan c398a3c72f
Remove unused preview package cmdlet exports (#202) 2023-08-16 11:31:57 -07:00
Sanjay Rajmohan 7bc1f95829
Update VMFS package description (#199) 2023-08-01 10:04:30 -07:00
rahman-lb 8012fe16d5
Adding cmdlet to collect detailed inventory of hosts (#197) 2023-08-01 08:54:57 -07:00
rahman-lb 85dd0b2dda
Enable user to collect all available VMFS datastores under a given vSphere Cluster (#195)
* Adding new cmdlet to let user print all datastores under a given vSphere cluster

* fixing review comments, adding result to output stream
2023-07-28 10:25:17 -07:00
Eugene Tolmachev ec96a7f8cb
use correct dependency for automation designation (#196) 2023-07-28 08:40:43 -04:00
rahman-lb c94c026e17
Enable user to Mount VMFS datastore on all ESXi host(s) under a vSphere cluster (#194)
* Adding new cmdlet to Mount VMFS datastore on all ESXi host(s) under a given vSphere cluster

* Indent the code

* Indent the code

* Removing space and indenting code
2023-07-26 11:16:47 -07:00
rahman-lb d9b4a089aa
Enabling cmdlet to remove a VMFS datastore from given vSphere Cluster (#191)
* Enabling cmdlet to remove a VMFS datastore

* Adding checks to avoid deleting a datastore that is shared across clusters or having VMs
2023-07-24 09:52:00 -07:00
Sanjay Rajmohan df80a45de1
Add attribute to specify whether a script is intended to be for automation (#192)
* Add attribute to specify whether a script is intended to be for automation

* Update attribute name
2023-07-14 14:14:27 -07:00
rahman-lb 92069d39ae
Removing check that blocks creating datastore on non-flash devices (#190) 2023-07-11 15:50:05 -04:00
YIZHA f7395fac0e
Get correct esxi from a specified cluster when creating a new datastore (#188)
Motivation: When creating a new datastore, the correct esxi from a specified cluster should be used. Otherwise, the run command might fail to find the storage device

Testing: Pester tests using local Vmware deployment

Co-authored-by: zye <zye@purestorage.com>
2023-06-30 11:16:43 -07:00
Hesham Anan 7ae3ccf9b5
Optionally rename a datastore after restoring (#187)
* Optionally rename a datastore after restoring

Motivation: When Vmware restores a datastore from a snapshot, a datastore with a random name is created
This update allows selecting a name for the datastore

Testing: Pester tests using local Vmware deployment

* Update comment for DataStoreName param
2023-06-26 15:06:15 -07:00
rahman-lb 48310b756d
Enable ESXi host connect/disconnect to/from storage controller over NVMe/TCP (#185)
* Adding feature to connect/disconnect ESXi host to/from Storage contoller over NVMe/TCP

* Fixing code review comments to add original exception for further debugging

* Updated code to accept vSphere Cluster as input and connect/disconnect esxi host under given cluster

* fixing code review comments, skipping to disconnect host(s) that has provisioned device(s) from target
2023-06-05 13:43:16 -04:00
Hesham Anan 37b8856487
Rescans all host storage in cluster (#167)
Motivation: We want to reduce RunCommand overhead of re-scanning individual ESXi hosts one at a time in some workflows
Testing: Pester tests using local VMware deployment
2023-04-18 08:53:53 -07:00
Hesham Anan 307f05fc64
Add API to remove the static iSCSI configurations from a specified host (#163)
* Add API to remove the static iSCSI configurations from a specified Esxi Host

Add function Remove-VMHostStaticiSCSITargets to remove static iSCSI configuration

# Conflicts:
#	Microsoft.AVS.VMFS/Microsoft.AVS.VMFS.psd1

* Update example text

* Fix typo

* Check if VMHost exists

* Filter static addresses that are removed

* Rename cmdlet to Remove-VMHostStaticIScsiTargets

* Change cmdlet name to "Remove-VMHostStaticIScsiTargets"
2023-04-17 14:10:45 -07:00
Hesham Anan 5c00d3f96b
Rescan all hosts after restoring a datastore (#166)
Motivation: Need to make sure that the datastore is available on all hosts
Testing: Pester tests using local VMWare deployment
2023-04-11 22:37:05 -04:00
srajmohan24 00eaddb4a4
Update VMFS package description to specify Automation only (#165) 2023-04-11 10:48:34 -04:00
Hesham Anan 81ed929c2b
Add API to rescan storage (#162)
* Add API to rescan storage

Sync-VMhostStorage API is added to enable rescanning VMHostStorage

* Fix typo
2023-04-10 15:32:38 -04:00
Hesham Anan 1b882ef600
Change Set-VmfsIscsi to accept only primary iSCSI address (#164)
* Change Set-VmfsIscsi to accept only primary iSCSI address

* Remove extra spaces
2023-04-10 15:32:14 -04:00
srajmohan24 13ca5447e5
VMFS package update description (#157)
* Update VMFS Package Description

* Update VMFS Package Description
2023-03-27 14:46:04 -04:00
srajmohan24 7ec0fe7bb5
New VMFS Functions (#149)
* Initial VMFS cmdlets changes

* Remove unused variable

* Pipeline changes for publishing new module

* Update unofficialBuild pipeline config

* Update pipeline config and use Powershell approved verbs for functions

* Update build versioning

* Update pipeline config files

* Update pipeline versioning and add parameters for package publishing
2023-03-24 14:49:29 -04:00