NetBackup™ Self Service 構成ガイド
リモート PowerShell から Windows マスターサーバーまでの問題
NetBackup マスターサーバーでは、リモート接続数が制限されています。サーバーのデフォルトは通常十分です。
使用量が大きなインストールでは、この制限を増やす必要がある場合があります。制限を超えると、次のエラーが発生する可能性があります。
NetBackup server name Connecting to remote server NetBackup server name failed with the following error message : The WS-Management service cannot process the request. The maximum number of concurrent shells for this user has been exceeded. Close existing shells or raise the quota for this user. For more information, see the about_Remote_Troubleshooting Help topic.
制限を増やすには:
- NetBackup マスターサーバーで、許可される接続数を決定するために表示される次の PowerShell コマンドを実行します。
Get-Item WSMan:\localhost\Shell\MaxShellsPerUser
- NetBackup マスターサーバーで、許可される接続数を増やすために表示される次の PowerShell コマンドを実行します。
Set-Item WSMan:\localhost\Shell\MaxShellsPerUser interger_value
この制限に達すると、次のようなエラーが表示されます。
RunCommand failed. "C:\Program Files\Veritas\NetBackup\bin\admincmd\bpimagelist" "-d" "03/02/2015 09:58:11" "-e" "03/02/2015 11:58:11" "-json_compact" Run-Process script threw exception: Starting a command on the remote server failed with the following error message : The WS- Management service cannot process the request. This user is allowed a maximum number of 15 concurrent operations, which has been exceeded. Close existing operations for this user, or raise the quota for this user. For more information, see the about_Remote_Troubleshooting Help topic.
Windows 2012 のデフォルトは 1500 です。この制限を増やすには、表示される次のコマンドを NetBackup マスターサーバーで実行します。
winrm set winrm/config/Service @{MaxConcurrentOperationsPerUser="1500"}
デフォルトで、Windows 場所では PowerShell 接続プールが使用されます。このオプションにより、NetBackup マスターサーバーで PowerShell を呼び出したときのより高いスループットが可能になります。すべての呼び出しでコンピュータでの新しい実行領域の作成および破棄が要求されないため、高いスループットが実現されます。
表: PowerShell 接続プールに使用されるバックアップサーバーフィールド
名前 |
詳細 |
---|---|
NetBackup 使用プール接続 |
PowerShell 接続プールを有効にするかどうかを決定します。パフォーマンスを向上させるために、接続プールはデフォルトで有効になっています。この値は、サポートから指示された場合にのみ変更します。 |
NetBackup 最小プールサイズ ( Minimum Pool Size) |
PowerShell 接続プールの最小接続数。値が空の場合、デフォルトの 1 になります。この値は、サポートから指示された場合にのみ変更します。 |
NetBackup 最大プールサイズ ( Maximum Pool Size) |
PowerShell 接続プールの最大接続数。値が空の場合、デフォルトの 3 になります。この値は、サポートから指示された場合にのみ変更します。 |
診断追跡では、PowerShell 接続の作成、使用、廃棄に関する多くの情報が取得されます。
次の PowerShell スクリプトを使用して、NetBackup マスターサーバーへの接続に関する情報を検索できます。
$machineName = 'netbackup_master_server_machine_name' $userName = 'user_name_-_same_as_the_location_integration_setting' $password = '<password>' $connectionURI = ('http://{0}:5985/wsman' -f $machineName) $securePassword = ConvertTo-SecureString $password -AsPlainText -Force $credential = New-Object System.Management.Automation.PSCredential ($userName, $securePassword) $connections = Get-WSManInstance -ConnectionURI $connectionURI -Credential $credential -ResourceURI shell -Enumerate #| where { $_.Owner -eq $userName } if($connections.length -eq 0) { "There are no remote PowerShell connections" } $connections | ForEach-Object { # To remove the connection, uncomment the line below # Remove-WSManInstance -ConnectionURI $connectionURI shell @{ShellID=$_.ShellID} $_ "Owner: {0}" -f $_.Owner "HostName: {0}" -f (Resolve-DnsName $_.ClientIP | select -expand NameHost) "-------------------------------------------------------" }
Self Service では、スケジュールされているタスクの多くがバックグラウンドで実行されます。これらのスケジュールされているタスクにより外部システム間のデータが同期され、ユーザーインターフェースが可能な限り最新のものに保たれます。これらのタスクのステータスおよびタイミングは、非テナント管理者ユーザーとしてログオンすると[監視 (Monitoring)]ページの左側に表示されます。
特定のタスクの実行に問題がある場合、アクションの歯車は赤です。タスク名をクリックすると、[スケジュールされているタスクの詳細 (Scheduled Task Details)]ウィンドウが表示されます。このウィンドウにはエラーメッセージが表示され、トラブルシューティングプロセスに役立ちます。エラーを解決し、ドロップダウンの [今すぐ実行 (Run Now)]をクリックして、タスクを再試行できます。
[監視 (Monitoring)]ページの[アクティビティ (Activity)]領域に、アクションに対しキューに登録されたタスクが表示されます。このキューが 10 項目を超え、数分間にわたり変わる兆候がない場合、Self Service のメインタスクエンジンに問題がある可能性があります。Windows サービスが実行中であることを確認し、[管理 (Admin)]、[サポート (Support)]、[エラーログ (Error Log)]の順に選択して、エラーを確認します。[監視 (Monitoring)]ページから、使用率データの再構築を開始できます。この処理により、今月のデータと以前の月のデータの両方が更新されます。
表: バックグラウンドタスクと説明
バックグラウンドタスク |
説明 |
---|---|
System Sync |
前回実行以来のすべてのバックアップサーバーからバックアップイメージをインポートします。古いバックアップイメージの有効期限を期限切れにして使用量を計算します。このタスクはスケジュールで 1 日に一度実行されます。 |
System Update |
バックアップイメージの同期やアクティブなリクエストの更新など、システム更新を実行します。このタスクはスケジュールで 1 分に一度実行されます。 |
Asset Import |
構成されているインポートに従って、NetBackup Import または vCloud Director からのコンピュータを同期します。このタスクはスケジュールで 1 日に一度実行されますが、手動で開始できます。 |