question

Priya-9505 avatar image
0 Votes"
Priya-9505 asked Priya-9505 answered

Failover cluster Manaeger- Edit FIle server Role IP..

Hello,

Good Morning.
I have a windows 2019 cluster and created couple of file server roles and associated a static IPs to the roles.
Created SMB and NFS shares as well. I just have 1 IP mapped per File server role.

Now if i have to update/change the IP associated with file server role, would it be possible?

Thanks in advance for your time!

windows-server-clustering
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

YuhanDeng-MSFT avatar image
0 Votes"
YuhanDeng-MSFT answered

Hi,
It is possible.
You can change the IP address as below:
In failover cluster, find the role you want to modify;
93060-image.png
Right click the Name of the server, change the DNS name, and configure the IP as you want.

Thanks for your time.
Best regards,
Danny


If the Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.




image.png (91.6 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Priya-9505 avatar image
0 Votes"
Priya-9505 answered

Thank you so much Danny. It worked!.

I am actually looking for a powershell cmdlet to achieve the same. I did call Add-ClusterFileServerRole() to create the fileserver role in Windows 2019 coreOS.
It would help if you can share the cmdlet as well, as from the quick search i could not find the cmdlet.

Thanks a lot for your time and help.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

YuhanDeng-MSFT avatar image
0 Votes"
YuhanDeng-MSFT answered

Hi,
Hope this will help:
https://docs.microsoft.com/en-us/powershell/module/failoverclusters/get-clusternetwork?view=windowsserver2019-ps

Thanks for your time.
Best regards,
Danny


If the Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Priya-9505 avatar image
0 Votes"
Priya-9505 answered YuhanDeng-MSFT commented

OK. I could change the name with this cmdlet. Thank you. But i am looking for an IP address change. Am checking if i can use get-clusterresource and change the IP.
Let me know if you have any other cmdlets which can help me here.

Thanks again for your immediate response.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi Priya,
I tried to look for the commands but failed. It seems that there's no official gathering of these commands.
Would you do the research by yourself?
Thanks for your time.
Best regards,
Danny

0 Votes 0 ·
Priya-9505 avatar image
0 Votes"
Priya-9505 answered

Sure. Thank you. Will do it.

Thank you!

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Priya-9505 avatar image
0 Votes"
Priya-9505 answered

Danny,

Get-ClusterResource -Name "IP Address 172.17.180.206" | Set-ClusterParameter -Multiple @{"Name"="IP Address 172.17.180.222"} - cmdlet worked!

Thanks for your pointers.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.