The transition to NetApp MS Azure AD B2C is complete. If you missed the pre-registration, you will be invited to register at next log in.
Please note that access to your NetApp data may take up to 1 hour.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

ONTAP Discussions

how to change the espsilon node using powershell cmdlets

Arjun_chris

Hi All,

 

I'm trying to automate the ontap upgrade process and i need to trasnfer the epsilon node to another node. I know we can use Invoke-NcSsh and then use the normal ontap command but i want to achive it using PS cmdlet so that i can use the previous varibales. I tried Set-Ncnode but there is no option to trasnfer the epsilon. Any help is highly appricaited.

Here is my code.

 

#ClusterName

$Cluster = Read-Host "Enter the cluster name to connect"

 

#credentials to connect the cluster

$creds= Get-Credential -UserName "admin" -Message Null

 

 

 

foreach ($item in $Cluster) {

   Connect-NcController $item -Credential $creds}

 

$epsilonnode= Get-NcNode | where {$_.IsEpsilonNode -eq $true}

Write-Host "The Epsilon node is : $epsilonnode"

 

$nonepsilonnode =  Get-NcNode |where {$_.IsEpsilonNode -eq $false}

$nonepsilonnode

 

Read-Host -Prompt "Press any key to continue"

$newepsilonnode = Read-Host -Prompt  "Enter the node name to trasnfer the Epsilon :"

Write-Host "Trasnferring the Epsilon to $newepsilonnode ...."  

2 REPLIES 2

TMAC_CTG

Int ONTAP via CLI, I do not believe it is a one-step process.

You unset (make Epsilon FALSE) it from the node first.

Then Assign (make Epsilon TRUE) it to another node.

 

Hopefully that helps!

Arjun_chris
Hi TMAC, I am aware the steps in ONTAP CLI but I am looking for a powershell Cmdlet to achieve it. I cannot use invoke-ncssh cmdlet followed by ontap cli commands because ontap cli doesn't accept $variables. I want a Powershell cmdlet by using which I can change the epsilon assignments. Thanks.
Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public