HPE OneView
1826331 Members
3975 Online
109692 Solutions
New Discussion

unassign and assign profile script

 
Jundi
Advisor

unassign and assign profile script

Hello, 

We have over hundrends of enclosures with oneview, in somecases we run into a problem where we have to reinsert the IC, refresh the enclosure and many other daily tasks that could possibly lead to the following message 

 

If this error is the result of performing a refresh or insertion of server hardware, then fix the profile by unassigning, then reassigning the server profile. If this error is the result of performing a restore from backup, then fix the error by first unassigning all the profiles that have this error, then reassigning all server profiles. The step to unassign all the profiles is required to avoid the possibility of getting duplicate MAC or WWN addresses in your environment.

Is there any script that i can use to do this for all the blades in my enclosure using the powershell ? would really appreciate your support

2 REPLIES 2
ChrisLynch
HPE Pro

Re: unassign and assign profile script

@Jundi, what version of HPE OneView are you using?

I work at HPE
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Jundi
Advisor

Re: unassign and assign profile script

1.20.04-0036122, Apr 16, 2015