Hello, I'm trying to get an access token from Azure SAML from a PS script that would then authenticate me on the Ontap device i'm trying to get DATA from. I can only connect to the Ontap via an application in Azure, with MFA. I can recover the Token from the application but cannot use it to connect to the Ontap, the response from the API call is the login.microsoft.com page. Anyone already made it work ? I can provide samples of the code used. Cheers
... View more
Dear NetApp Gurus, I would like to know something more about data compresion during the SnapMirror replication. In my opinion, a snapmirror source can not be compressed, but the destination volume can be compressed. I rememeber, that I read somewhere this sentences. Am I right? However, in the documentation (https://www.netapp.com/media/17229-tr4015.pdf?v=127202175503P) there is written that If the source volume is compressed, the destination volume is in a compressed state as well. Replication of compressed volumes does not decompress the source volume to read data for a transfer. Rather, data is replicated in a compressed state to the destination volume. So, it means that data compression can be enabled between the source and the destination source independently. Is it correct?
... View more
We are planning to upgrade from ONTAP version 8.3.2P12 to version 9.1P20 . When trying to download the image, we were presented with two options:
1- With NetApp Volume Encryption for FAS
2- Without NetApp Volume Encryption for FAS
Apparently, no matter which option we choose, the NVE will provide the ability to use the integrated OKM w/NVE to encrypt volumes.
What are the advantages of encrypting volumes? It is really necessary?
... View more
I am recently learning powershell scripting, how can I write scripts to successfully access adv permissions, I tried to pass y after set adv, but it didn't work, I don't know how to solve this problem, hope someone can help modify my script my script # Set connection information $ONTAPHost = Read-Host "Enter the IP address of the ONTAP cluster" $User = Read-Host "Enter username" $Password = Read-Host "Enter password" $OutputFile = "commands_output.txt" # Output file path # Import Posh-SSH module from removable drive, need to change the drive letter Import-Module F:\Posh-SSH # Create an SSH session and pass credentials $securePassword = $Password | ConvertTo-SecureString -AsPlainText -Force $credential = New-Object System.Management.Automation.PSCredential($User, $securePassword) # Define command array $commands = @( "cluster show", "set adv", "system node image show" ) # Try to connect to the ONTAP cluster try { # Creating an SSH Session $session = New-SSHSession -ComputerName $ONTAPHost -Credential $credential -ErrorAction Stop Write-Host "SSH session established successfully." # If the file already exists, clear the file contents if (Test-Path $OutputFile) { Clear-Content -Path $OutputFile } # Loop through the array of commands and execute them in turn foreach ($command in $commands) { Write-Host "`nExecuting command: $command" try { # Execute the current command and get the result $result = Invoke-SSHCommand -SessionId $session.SessionId -Command $command -ErrorAction Stop # Record the command execution to a file Add-Content -Path $OutputFile -Value "`n::> $command" # Output the result of the command if ($result.Output) { $result.Output -split "`n" | ForEach-Object { Add-Content -Path $OutputFile -Value $_ } } else { Add-Content -Path $OutputFile -Value "No output received for '$command'." } } catch { Write-Host "Error executing command: $command" Add-Content -Path $OutputFile -Value "Error executing command: $command - $_" } } } catch { Write-Host "Failed to establish SSH session or execute command: $_" Add-Content -Path $OutputFile -Value "Failed to establish SSH session or execute command: $_" exit } finally { # Make sure to close the SSH session at the end of the script if ($session) { Remove-SSHSession -SessionId $session.SessionId Write-Host "SSH session closed." } } outputfile ::> cluster show Last login time: 11/25/2024 16:21:20 Node Health Eligibility --------------------- ------- ------------ FAS2720-01 true true FAS2720-02 true true 2 entries were displayed. ::> set adv Last login time: 11/25/2024 16:22:14 ::> system node image show Last login time: 11/25/2024 16:22:14 Error: "image" is not a recognized command
... View more
I am deploying a 2-node ONTAP Select (9.15) cluster with the Deploy OVA. The customer is seeking Metrocluster SDS functionality. As I understand, a 2-node cluster is a Metrocluster SDS deployment as long as the OTS nodes are on different ESXi hosts, and hosted on different VMware datastores. Aggregates appear to be mirrored (plex0/1), so the complete loss of one full side will be survivable. My question is on e0c/e0d for the Cluster network. The default network is 169.254.x.x, which is a non-routable network. My 2 basic questions are: a. Is my understanding of a 2-node HA deployment correct? b. Does this limit OTS to either a single datacenter, bridged network, or a stretched VLAN because of the private Cluster network? Thank you.
... View more