2009. 5. 13. 10:42
(SCOM 2007) Gateway Server 및 Agent의 Failover 구성 Cmdlet SystemCenter2009. 5. 13. 10:42
Powershell
Agent의 Failover 설정 Cmdlet
$primaryMS = Get-ManagementServer | where {$_Name -eq 'Filtering'}
$failoverMS = Get-ManagementServer | where {$_Name -eq 'Filtering'}
$agent = Get-Agent | where {$_Name -eq 'Filtering'}
Set-ManagementServer -AgentManagedComputer: $Agent -ManagementServer: $PrimaryMS -FailoverServer: $FailoverMS
Gateway 서버의 Failover 설정 Cmdlet
$PrimaryMS = Get-ManagementServer | Where {$_Name -eq 'Filtering'}
$failoverMS = Get-ManagementServer | Where {$_Name -eq 'Filtering'}
$gatewayMS = Get-ManagementServer | Where {$_Name -eq 'Filtering'}
Set-ManagementServer -GatewayManagementServer: $gatewayMS -ManagementServer: $PrimaryMS -FailoverServer: $failoverMS
Agent의 Failover 설정 Cmdlet
$primaryMS = Get-ManagementServer | where {$_Name -eq 'Filtering'}
$failoverMS = Get-ManagementServer | where {$_Name -eq 'Filtering'}
$agent = Get-Agent | where {$_Name -eq 'Filtering'}
Set-ManagementServer -AgentManagedComputer: $Agent -ManagementServer: $PrimaryMS -FailoverServer: $FailoverMS
Gateway 서버의 Failover 설정 Cmdlet
$PrimaryMS = Get-ManagementServer | Where {$_Name -eq 'Filtering'}
$failoverMS = Get-ManagementServer | Where {$_Name -eq 'Filtering'}
$gatewayMS = Get-ManagementServer | Where {$_Name -eq 'Filtering'}
Set-ManagementServer -GatewayManagementServer: $gatewayMS -ManagementServer: $PrimaryMS -FailoverServer: $failoverMS