この製品のマニュアルセットは、偏向のない言語を使用するように配慮されています。このマニュアルセットでの偏向のない言語とは、年齢、障害、性別、人種的アイデンティティ、民族的アイデンティティ、性的指向、社会経済的地位、およびインターセクショナリティに基づく差別を意味しない言語として定義されています。製品ソフトウェアのユーザーインターフェイスにハードコードされている言語、RFP のドキュメントに基づいて使用されている言語、または参照されているサードパーティ製品で使用されている言語によりドキュメントに例外が存在する場合があります。シスコのインクルーシブランゲージに対する取り組みの詳細は、こちらをご覧ください。
このドキュメントは、米国シスコ発行ドキュメントの参考和訳です。リンク情報につきましては、日本語版掲載時点で、英語版にアップデートがあり、リンク先のページが移動/変更されている場合がありますことをご了承ください。あくまでも参考和訳となりますので、正式な内容については米国サイトのドキュメントを参照ください。
この章の内容は、次のとおりです。
Cisco IMC 管理パックは、PowerShell モジュールからインポート可能なコマンドレットの使用をサポートしています。これらのコマンドレットを使用して、新しい Cisco IMC サーバ グループを Operations Manager 管理グループに追加するなどのアクションを実行できます。また、既存グループの更新や、Cisco IMC サーバ グループの既存ルールの変更にも使用できます。
次の例に、Cisco IMC で使用可能なコマンドレットのインポートと表示の方法を示します。
PS C:\Users\Administrator.MSCOM> import-module ciscoimcscomps PS C:\Users\Administrator.MSCOM> get-command -module ciscoimcscomps CommandType Name ModuleName ----------- ---- ---------- Function Add-ImcScomGroup ciscoimcscomps Function Disable-ImcScomRule ciscoimcscomps Function Enable-ImcScomRule ciscoimcscomps Function Get-ImcScomRule ciscoimcscomps Function Update-ImcScomGroup ciscoimcscomps PS C:\Users\Administrator.MSCOM>
Cisco IMC グループには、IP アドレス範囲、サブネット マスク、またはカンマ区切り値を使用して複数の IMC IP アドレスを設定できます。IMC への接続に使用するプロキシの詳細も指定できます。ポートが指定されなかった場合、デフォルトのポート 80 または 443 が使用されます。後から手動で作成または割り当てを行う場合、[Run-As-Account] 用の詳細は指定しないでおきます。
Cisco IMC 管理パックで利用できるコマンドレットをインポートします。
Update-ImcScomGroup コマンドレットは、既存の IMC グループに対して、非必要なプロパティを更新します。変更する単一または複数のパラメータに新しい値を指定できます。指定しなかったパラメータについては、既存の値が使用されます。
Syntax
Update-ImcScomGroup -GroupName <string> [-GroupDescription <string>] [-ExcludeIpList <string>] [-Secure <bool>] [-Port <int>][-MachineType <string> {Agent Managed Computer (Trusted Boundary) | Agent Managed Computer (Untrusted Boundary) | Management Server |Gateway Server}] [-MachineName <string>] [-ProxyHost <string>] [-ProxyPort <int>] [-ProxyUsername <string>] [-ProxyPassword <string>] Update-ImcScomGroup -GroupName <string> -NetworkAddress <string> -SubnetMask <string> [-GroupDescription <string>] [-ExcludeIpList<string>] [-Secure <bool>] [-Port <int>] [-MachineType <string> {Agent Managed Computer (Trusted Boundary) | Agent Managed Computer(Untrusted Boundary) | Management Server | Gateway Server}] [-MachineName <string>] [-ProxyHost <string>] [-ProxyPort <int>] [-ProxyUsername <string>] [-ProxyPassword <string>] Update-ImcScomGroup -GroupName <string> -IpRangeStartAddress <string> -IpRangeEndAddress <string> [-GroupDescription <string>][-ExcludeIpList <string>] [-Secure <bool>] [-Port <int>] [-MachineType <string> {Agent Managed Computer (Trusted Boundary) | AgentManaged Computer (Untrusted Boundary) | Management Server | Gateway Server}] [-MachineName <string>] [-ProxyHost <string>] [-ProxyPort<int>] [-ProxyUsername <string>] [-ProxyPassword <string>] Update-ImcScomGroup -GroupName <string> -MultiIpAddressRange <string> [-GroupDescription <string>] [-ExcludeIpList <string>] [-Secure<bool>] [-Port <int>] [-MachineType <string> {Agent Managed Computer (Trusted Boundary) | Agent Managed Computer (Untrusted Boundary)| Management Server | Gateway Server}] [-MachineName <string>] [-ProxyHost <string>] [-ProxyPort <int>] [-ProxyUsername <string>][-ProxyPassword <string>]
次のパラメータを入力します。
GroupName:更新する IMC グループの名前
MachineName:新しいマシンの FQDN。この IMC グループ MP に関連したすべてのスクリプトがこのマシンで実行されます。
GroupDescription:この IMC グループ MP の新しい説明文字列。
NetworkAddress:サブネット マスクとともに使用されるネットワーク アドレス
SubnetMask:対象となる IMC サーバを指定するサブネット マスク例:255.255.255.128
IpRangeStartAddress:IMC サーバの IP アドレス範囲の最初の IP アドレス
IpRangeEndAddress:IMC サーバの IP アドレス範囲の最後の IP アドレス
ExcludeIpList:除外する IP アドレスのカンマ区切りのリスト
MultiIpAddressRange:IP アドレスまたは IP アドレス範囲のカンマ区切りのリスト。例:192.168.1.1,192.168.1.10-192.168.1.30,192.168.1.45
Secure:安全な接続オプションを設定するか、リセットするかのブール値
ポート:使用する新しいポート番号。
ProxyHost:IMC との通信に使用される新しいプロキシ サーバの IP アドレスまたはホスト名
ProxyPort:プロキシ サーバの新しいポート番号
ProxyUsername:プロキシ サーバの新しいユーザ名
ProxyPassword:プロキシ サーバの新しいパスワード
Get-ImcScomRule [[-FaultID] <string[]>]
オーバーライドを追加する管理パックの名前を指定します。
Enable-ImcScomRule [-Rule] <ManagementPackRule[]> [-ManagementPackName] <string>
オーバーライドを追加する管理パックの名前を指定します。
Disable-ImcScomRule [-Rule] <ManagementPackRule[]> [-ManagementPackName] <string>