Connect to a Pure Store Cloud Dedicated Instance from Everpure Cloud Manager or Azure VM

Everpure Cloud Dedicated for Azure

Audience
Public
Source Type
Documentation

At this step we assume that there is an active PowerShell session in either the Everpure Cloud Manager or the Azure VM.

Upon logging into the Everpure VMware Cloud Manager, a PowerShell session can be launched by entering the purepwsh command.

When connecting from an Azure VM, please ensure that you have your PowerShell environment properly configured as described in this section. Then open your PowerShell and log into the Azure using Connect-AzAccount -UseDeviceAuthentication command before connecting to Everpure Cloud Dedicated Instance.

Important: Logging into Azure connects you to your default subscription by default. If you have multiple subscriptions, ensure you switch to the correct context before configuring Azure VMware Solution or Everpure Cloud Dedicated instances to avoid deployment errors. To check what context you are in, please execute this command: get-azcontext. If the context is not correct, it can be changed by using this command: set-azcontext -subscriptionID "your Subscription ID".

Connect to Everpure Cloud Dedicated Instance

To open a connection to Everpure Cloud Dedicated instance, please enter following command: Connect-Pfa2Array -Endpoint "yourControllerManagementIPAddress" -Credential (Get-Credential) -IgnoreCertificateError.

A connection to Everpure Cloud Dedicated can be optionally established as a variable during each unique PowerShell session to execute joint AVS and Everpure Cloud Dedicated commands. These sessions may optionally be created prior to running any of specific setup and management commands as shown in the below examples, so you do not need to continually login to Everpure Cloud Dedicated for execution.

Note: When connecting to a newly deployed Everpure Cloud Dedicated array, ensure to change the default password first. Not doing so may result in the following error:
Connect-Pfa2Array: The remote server returned an error: (500) INTERNAL SERVER ERROR.
Message from Purity='ctx:,msg:Failed PAM account validation
Error: Authentication token is no longer valid; new one required

Below is an example of how a Everpure Cloud Dedicated session can be set as a variable and used by default in subsequent commands.

#Establish Connection to Everpure Cloud Dedicated
$CBSConnection = Connect-Pfa2Array -Endpoint "yourControllerManagementIPAddress" -Credential (Get-Credential) -IgnoreCertificateError
PowerShell credential request
Enter your credentials.
User: pureuser
Password for user pureuser: ********