Recent Discussions
Hi All. Do you have PoSH documentation about how to
Hi All. Do you have PoSH documentation about how to copy volumes from protection group snapshots and attach the copies to different VMs in a vVol environment? I found your docs about how to do it with regular volume snapshots, but not PG snapshots.adam_sennott2 years agoNovice I119Views0likes44Comments<!here> I am facing a very weird issue. While using
!here I am facing a very weird issue. While using 2.x get volumes api with FlashArray I am getting a common volume called `pure-protocol-endpoint` even though I am not able to see the volume inside the array under volume listpratik_narode3 years agoNovice I90Views0likes36CommentsWe are building out a PureArray environment. Here's
We are building out a PureArray environment. Here's my issue: I created a volume based on volume on a machine1, when i tried to connect that new volume to machine1 it shows up for about 30 second and just disconnect. Does anyone know what the issue is? I'm able to connect this new volume to another machine without any issues.bradn2k13 years agoNovice I51Views0likes18CommentsI'm attempting to use New-Pfa2Certificate to import
I'm attempting to use New-Pfa2Certificate to import an updated CA signed certificate: ```New-Pfa2Certificate -Certificate $cert1 -IntermediateCertificate $cert2 -Key $key -Passphrase $pp New-Pfa2Certificate: Missing or invalid parameter. (), https://ttpur002.gsm1900.org/api/2.17/certificates (POST)``` If I run it Verbose: ```VERBOSE: PureStorage.Rest Verbose: 13 : 2024-01-04T0322.8514223Z Error: Exception "PureRestException: HttpStatusCode = 'BadRequest', RestErrorCode = 'InvalidArgument', Details = '[{"context":,"message":"Missing or invalid parameter."},{"context":"POST","message":"https://arrayname/api/2.17/certificates"}]', InnerException = ''", StackTrace= at PureStorage.FlashArray.Rest.Api.CertificatesApi.Api224CertificatesPostWithHttpInfo(CertificatePost certificate, String authorization, String xRequestID, List`1 names, String apiVersion) at PureStorage.FlashArray.Rest.Rest2Api.c__DisplayClass133_0.Post_Certificatesb__0() at PureStorage.Rest.PureClient.DoRetries[T](String method, String path, String apiVersion, Func`1 retriable) VERBOSE: PureStorage.Rest Error: 12 : 2024-01-04T0322.8516374Z '"PureRestException: HttpStatusCode = 'BadRequest', RestErrorCode = 'InvalidArgument', Details = '[{"context":,"message":"Missing or invalid parameter."},{"context":"POST","message":"https://arrayname/api/2.17/certificates"}]', InnerException = ''"'``` I've also tried under SDK1 with Import-PfaCertificate (api 1.11) and Import-PfaNamedCertificate (api 1.12), but it chokes on importing the key: ```Import-PfaCertificate : [{"context": , "msg": "Failed to load the private key.\n", "ctx": "management"}] At line:1 char:1 + Import-PfaCertificate -Array $array -Certificate $cert1 -Intermediate ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Import-PfaCertificate], PureRestException + FullyQualifiedErrorId : PurePowerShell.ImportCertificateCmdlet``` I'm guessing I've flattened the key.pem incorrectly (adding line breaks and flattening it to single line same as the cert and intermediate cert). Any advice? Any other way to construct the key file for importing?clint_simmons542 years agoNovice I37Views0likes16CommentsOkay, this has been great! Using the docs I was able
Okay, this has been great! Using the docs I was able to get a volume snapshot, create a reference object and use it to create a new volume, and assign the new volume to a host group. Client is happy, which means I'm happy! Step Two is to mount that new volume in the client's vSphere environment and assign the VMs to it... do I need to hop over into PowerCLI to accomplish that, or does your SDK have some nifty Cmdlets that make it nice and easy for me?justin_riggs3 years agoNovice I37Views0likes15CommentsEven for new token and trying to connect with using
Even for new token and trying to connect with using the new API id and token ..getting same error "Connecting... Using id_token Connection faild: PureError: Could not retrieve a new access token API Client could not initialize." IS there something need to validate from Pure endkulandaivelu_s3 years agoNovice I36Views0likes13CommentsHi everyone, I'm trying to use RestAPI with powershell
Hi everyone, I'm trying to use RestAPI with powershell to get pureone Pods informations (mediator status, and status). I have no problem to authentificate, but when I send my Api Request I'm not able to get all the informations. In items, array is empty and I don’t understand why. (I have 2 arrays in this pod) PS C:\> Invoke-RestMethod 'https://api.pure1.purestorage.com/api/1.latest/pods?names=''POD-PROD-ESX-SANhttps://api.pure1.purestorage.com/api/1.latest/pods?names=''POD-PROD-ESX-SAN'|''' -Method 'GET' -Headers $pureOneHeader | ConvertTo-Json { "total_item_count": 1, "continuation_token": , "items": [ { "id": "d2f9ca34-56b3-4efc-a18c-XxxxXXXXXxX", "name": "POD-PROD-ESX-SAN", "arrays": " ", "mediator": "purestorage", "source": , "_as_of": 1662531420000 } ] } In the rest API Guide we can find as example "arrays" : "arrays": [ { "id": "2a989a09-c851-4d52-9ec6-ab728b1c04db", "name": "example_name", "resource_type": "example_resource_type", "frozen_at": 1502729489760, "mediator_status": "online", "status": "resyncing", "fqdn": "http://example_name.dc1.example.com|example_name.dc1.example.com" } I tried as a viewer and admin (Pure1 :api rôles) Do you have and Idea ? thank you.jonathan_roland3 years agoNovice I18Views0likes10CommentsHi, i am trying to get the amount of storage used of
Hi, i am trying to get the amount of storage used of one/multiple arrays, from pure1. I am looking for the same value as shwon in pure1 UI under Fleet - Appliances. Are historic metrics my only onption here. And if so, which is the correct one and how to i get a "live" value.simon_unger2 years agoNovice I24Views0likes10Comments