Red Hat SATELLITE 5.3.0 RELEASE NOTES Technické informace Strana 124

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 199
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 123
} while ( $timeout -and $stat -ne "Up" )
if ( $timeout -eq 0) { throw 'DATACENTERTIMEOUT' }
#Approve any rhev hosts that are present
write "Approve any waiting RHEV Hypervisor hosts ..."
foreach ($candidate in select-host | ? {$_.Status -eq "Pending Approval"}) {
if ($candidate.Name -like "rhevh-01*") {
$candidate.PowerManagement.Enabled = $true
$candidate.PowerManagement.Address = "10.16.136.234"
$candidate.PowerManagement.Type = "ilo"
$candidate.PowerManagement.UserName = "Administrator"
$candidate.PowerManagement.Password = "24^goldA"
$updateHost = Update-Host -HostObject $candidate
}
$appHost = Approve-Host -HostObject $candidate -ClusterObject $clus
write-host $appHost.name was approved
}
At the end of this script, any RHEV-H hosts awaiting approval are approved. If a RHEV-H
host was installed prior to the installation of the RHEV Manager software, a reboot of the
RHEV-H communicates with the RHEV-M and marks itself as pending approval.
The script is called from the Start -> All Programs -> Red Hat -> RHEV Manager -> RHEV
Manager Scripting Library. In this PowerShell window, change the working directory to the
C:\saved directory and invoke the script.
cd C:\saved
./RHEVMInitConfig.ps1
www.redhat.com 124
Zobrazit stránku 123
1 2 ... 119 120 121 122 123 124 125 126 127 128 129 ... 198 199

Komentáře k této Příručce

Žádné komentáře