Update HPOVRackManager - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Update-HPOVRackManager

Refresh or reconnect a rack manager resource.

SYNTAX

Update-HPOVRackManager [-InputObject] <HPOneView.Servers.RackManager[]>[ [-Force] <SwitchParameter>][ [-Async] <SwitchParameter>][ [-ApplianceConnection] <Array>] [<CommonParameters>]
Update-HPOVRackManager [-InputObject] <HPOneView.Servers.RackManager[]> [-Hostname] <String>[ [-Credential] <PSCredential>][ [-Force] <SwitchParameter>][ [-Async] <SwitchParameter>] [<CommonParameters>]
Update-HPOVRackManager[ [-ApplianceConnection] <Array>] [<CommonParameters>]

Detailed Description

A rack manager platform is a multinode system. The nodes are housed within a rack or across racks, and are centrally managed by a management controller. The Rack Managers screen enables you to manage and visualize the physical location of rack manager platforms within a rack. This Cmdlet will perform a refresh of the claimed rack manager. If there is a communication issue, the -Hostname and -Crednetial parameters will need to be provided, which will then re-establish communication to the rack manager. Minimum required privileges: Infrastructure administrator or Server administrator.

Parameters

-ApplianceConnection <Array>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? False
Position? named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?    False

-Async <SwitchParameter>

Use this parameter to immediately return the async task. By default, the Cmdlet will wait for the task to complete.

Aliases None
Required? False
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    False

-Credential <PSCredential>

Use this parameter if you want to provide a PSCredential object instead.

Aliases None
Required? False
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-Force <SwitchParameter>

Force update the resource.

Aliases None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-Hostname <String>

The FQDN or IP Address of the rack manager.

Aliases None
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-InputObject <HPOneView.Servers.RackManager[]>

The HPOneView.Servers.RackManager resource to refresh.

Aliases name, Server
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?    False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)

Input Types

HPOneView.Servers.RackManager

The rack manager resource from Get-HPOVRackManager.

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

Asyncronous task resource to monitor.

Examples

 -------------------------- EXAMPLE 1 --------------------------

Get-HPOVRackManager -Name rackmanager1.domain.com -ErrorAction Stop | Update-HPOVRackManager

Refresh the specified rack manager resource.

 -------------------------- EXAMPLE 2 --------------------------

$RackManager = Get-HPOVRackManager -Name rackmanager1.domain.com -ErrorAction Stop $Credential = Get-Credential Administrator -Message "Password" $RefreshParams = @{ InputObject = $RackManager} # Check the rack manager for its state and refresh state reason if ($RackManager.State -eq 'Unmanaged' -and $RackManager.RefreshState -eq 'RefreshFailed') { # Add the "Credential" parameter to the Hashtable splat $RackManager.Add("Credential", $Credential) # Add the Hostname to the Hashtable splat $RackManager.Add("Hostname", $RackManager.SubResources.Managers[0].Hostname) } Update-HPOVRackManager @RefreshParams

Refresh the specified rack manager resource, and provide the credentials to restablish.

Related Links


Top
⚠️ **GitHub.com Fallback** ⚠️