Symantec NetBackup™ コマンドリファレンスガイド

Last Published:
Product(s): NetBackup (8.1)
  1. 概要
    1.  
      NetBackup コマンドについて
    2.  
      複数階層のメニューの操作
    3.  
      NetBackup のコマンドの表記規則
    4.  
      NetBackup Media Manager コマンドの注意事項
  2. 付録 A. NetBackup コマンド
    1.  
      acsd
    2.  
      add_media_server_on_clients
    3.  
      backupdbtrace
    4.  
      backuptrace
    5.  
      bmrc
    6.  
      bmrconfig
    7.  
      bmrepadm
    8.  
      bmrprep
    9.  
      bmrs
    10.  
      bmrsrtadm
    11.  
      bp
    12.  
      bparchive
    13.  
      bpbackup
    14.  
      bpbackupdb
    15.  
      bpcatarc
    16.  
      bpcatlist
    17.  
      bpcatres
    18.  
      bpcatrm
    19.  
      bpcd
    20.  
      bpchangeprimary
    21.  
      bpclient
    22.  
      bpclimagelist
    23.  
      bpclntcmd
    24.  
      bpclusterutil
    25.  
      bpcompatd
    26.  
      bpconfig
    27.  
      bpdbjobs
    28.  
      bpdbm
    29.  
      bpdgclone
    30.  
      bpdown
    31.  
      bpduplicate
    32.  
      bperror
    33.  
      bpexpdate
    34.  
      bpfis
    35.  
      bpflist
    36.  
      bpgetconfig
    37.  
      bpgetdebuglog
    38.  
      bpimage
    39.  
      bpimagelist
    40.  
      bpimmedia
    41.  
      bpimport
    42.  
      bpinst
    43.  
      bpkeyfile
    44.  
      bpkeyutil
    45.  
      bplabel
    46.  
      bplist
    47.  
      bpmedia
    48.  
      bpmedialist
    49.  
      bpminlicense
    50.  
      bpnbat
    51.  
      bpnbaz
    52.  
      bppficorr
    53.  
      bpplcatdrinfo
    54.  
      bpplclients
    55.  
      bppldelete
    56.  
      bpplinclude
    57.  
      bpplinfo
    58.  
      bppllist
    59.  
      bpplsched
    60.  
      bpplschedrep
    61.  
      bppolicynew
    62.  
      bpps
    63.  
      bprd
    64.  
      bprecover
    65.  
      bprestore
    66.  
      bpretlevel
    67.  
      bpschedule
    68.  
      bpschedulerep
    69.  
      bpsetconfig
    70.  
      bpstsinfo
    71.  
      bpstuadd
    72.  
      bpstudel
    73.  
      bpstulist
    74.  
      bpsturep
    75.  
      bptestbpcd
    76.  
      bptestnetconn
    77.  
      bptpcinfo
    78.  
      bpup
    79.  
      bpverify
    80.  
      cat_convert
    81.  
      cat_export
    82.  
      cat_import
    83.  
      configurePorts
    84.  
      create_nbdb
    85.  
      duplicatetrace
    86.  
      importtrace
    87.  
      jbpSA
    88.  
      jnbSA
    89.  
      ltid
    90.  
      mklogdir
    91.  
      nbauditreport
    92.  
      nbcatsync
    93.  
      NBCC
    94.  
      NBCCR
    95.  
      nbcertcmd
    96.  
      nbcertupdater
    97.  
      nbcomponentupdate
    98.  
      nbcplogs
    99.  
      nbdb_admin
    100.  
      nbdb_backup
    101.  
      nbdb_move
    102.  
      nbdb_ping
    103.  
      nbdb_restore
    104.  
      nbdb_unload
    105.  
      nbdbms_start_server
    106.  
      nbdbms_start_stop
    107.  
      nbdc
    108.  
      nbdecommission
    109.  
      nbdelete
    110.  
      nbdeployutil
    111.  
      nbdevconfig
    112.  
      nbdevquery
    113.  
      nbdiscover
    114.  
      nbdna
    115.  
      nbemm
    116.  
      nbemmcmd
    117.  
      nbexecute
    118.  
      nbfindfile
    119.  
      nbfirescan
    120.  
      nbftadm
    121.  
      nbftconfig
    122.  
      nbgetconfig
    123.  
      nbhba
    124.  
      nbholdutil
    125.  
      nbhypervtool
    126.  
      nbjm
    127.  
      nbkmsutil
    128.  
      nboraadm
    129.  
      nbpem
    130.  
      nbpemreq
    131.  
      nbperfchk
    132.  
      nbplupgrade
    133.  
      nbrb
    134.  
      nbrbutil
    135.  
      nbregopsc
    136.  
      nbreplicate
    137.  
      nbrestorevm
    138.  
      nbseccmd
    139.  
      nbsetconfig
    140.  
      nbsnapimport
    141.  
      nbsnapreplicate
    142.  
      nbsqladm
    143.  
      nbstl
    144.  
      nbstlutil
    145.  
      nbsu
    146.  
      nbsvrgrp
    147.  
      resilient_clients
    148.  
      restoretrace
    149.  
      stopltid
    150.  
      tl4d
    151.  
      tl8d
    152.  
      tl8cd
    153.  
      tldd
    154.  
      tldcd
    155.  
      tlhd
    156.  
      tlhcd
    157.  
      tlmd
    158.  
      tpautoconf
    159.  
      tpclean
    160.  
      tpconfig
    161.  
      tpext
    162.  
      tpreq
    163.  
      tpunmount
    164.  
      verifytrace
    165.  
      vltadm
    166.  
      vltcontainers
    167.  
      vlteject
    168.  
      vltinject
    169.  
      vltoffsitemedia
    170.  
      vltopmenu
    171.  
      vltrun
    172.  
      vmadd
    173.  
      vmadm
    174.  
      vmchange
    175.  
      vmcheckxxx
    176.  
      vmd
    177.  
      vmdelete
    178.  
      vmoprcmd
    179.  
      vmphyinv
    180.  
      vmpool
    181.  
      vmquery
    182.  
      vmrule
    183.  
      vmupdate
    184.  
      vnetd
    185.  
      vxlogcfg
    186.  
      vxlogmgr
    187.  
      vxlogview
    188.  
      W2KOption

名前

nbcomponentupdate — JRE バージョンを更新します

概要

nbcomponentupdate -product [NetBackup | OpsCenterServer | OpsCenterAgent | OpsCenterViewBuilder | RemoteJavaConsole] -component value -path component_path | -revert [-logpath path] [-help | -?] [-dryrun | -force] [-version value] [-skipmajorversioncheck]

 

UNIX システムでは、このコマンドへのディレクトリパスは /usr/openv/netbackup/bin/goodies/ です。

Windows システムでは、このコマンドへのディレクトリパスは install_path\netbackup\bin\goodies\ です。

機能説明

このユーティリティを使うと、Symantec NetBackup および OpsCenter 製品でインストールされている JRE のバージョンをアップグレードすることができます。このユーティリティは、NetBackup Plug-in for VMware vCenter の JRE 更新をサポートしません。

NetBackup とともにインストールされる JRE は、その NetBackup リリースに対してサポートされているメジャーバージョンです。サポートされているメジャー JRE バージョンのマイナーバージョンに更新するには、このユーティリティを使用します。たとえば、NetBackup 8.0 が JRE 1.8.0.31 をインストールした場合、サポート対象のメジャーバージョンは 1.8 です。JRE 1.8.0.92 に更新するには、このユーティリティを使用します。

ベリタスは、JRE ベンダーがインストール済みの JRE バージョンに対し End-of-Life を宣言した場合にのみ別のメジャー JRE バージョンに更新することを推奨します。たとえば、お使いの環境にインストール済みの JRE バージョンでもある JRE 1.8 に対し、JRE ベンダーが End-of-Life を宣言した場合は、JRE 1.9 に更新します。

JRE を更新しようとする前に、NetBackup などの製品を終了します。更新時に製品が実行中である場合、ユーティリティが終了し、製品を終了するように求めるエラーメッセージが表示されます。

注意:

JRE 更新が進行中の場合、ユーティリティを停止しないでください。このアクションにより、JRE を使用する NetBackup などの製品が不安定になる可能性があります。

追加バージョンの JRE が異なるアプリケーションに対してシステムにインストールされている場合、NetBackup JRE はそれらの JRE と干渉しません。NetBackup JRE は Web ブラウザとの統合を行ったり、Java アプレットまたは Web Start の実行を許可したりするものではありません。したがって、NetBackup JRE は Java アプレットまたは Web Start の脆弱性を利用するタイプのブラウザベースの攻撃で使用されることがありません。

nbcomponentupdate コマンドについての詳しい情報を参照できます。

https://www.veritas.com/support/ja_JP/article.000115043

OpsCenter またはリモート管理コンソールを使用する場合は、コマンドの場所は次の通りです。

  • OpsCenter Server

    UNIX/Linux: SYMCOpsCenterServer/bin/

    Windows: install_path\server\bin\

  • OpsCenter Agent

    Windows: install_path\agent\bin\

  • OpsCenter View Builder

    Windows: install_path\viewbuilder\bin

  • リモート管理コンソール

    Windows: install_path\java

オプション

-component value

指定したコンポーネントを更新します。このオプションの唯一の有効な値は JRE です。

-dryrun

操作が許可される場合、確認のためテストを実行します。

-force

対話モードをスキップします。-force を使用して -productRemoteJavaConsole である場合、-version オプションを使用する必要があります。

-help | -?

ヘルプを印刷します。

-logpath path

ログファイルの場所を指定します。デフォルトでは、ログはシステムの一時フォルダに生成されます。Windows コンピュータでは、パス %temp%nbcomponentupdate_date_time.log を指定することができます。オプションの動作は指定する内容によって異なることに注意してください。

  • 指定するパスがフォルダまたはドライブである場合、ログファイルは指定する場所に生成されます。-logpathC:\logs として指定する場合、ログファイルは C:\logs\nbcomponentupdate_date_time.log になります。

  • -logpath にファイル名を指定し、その場所にファイルが存在しない場合、新しいファイルが指定する名前で作成されます。C:\samplelogfile.log を指定すると、ログは C:\samplelogfile.log ファイルに生成されます。

  • ログのパスにファイル名を指定し、ファイルがその場所に存在する場合、ログはそのファイルに追加されます。-logpathC:\samplelogfile.log として指定すると、ログは samplelogfile.log ファイルに追加されます。

メモ:

ログのパスに NFS や CIFS 共有などのネットワークパスを指定しないでください。

-path component_path

アップグレードの新しい JRE バージョンが配置されるパスを指定します。component_path は、インストールされる JRE の場所あるいは抽出される JRE フォルダのいずれかです。

-product [NetBackup | OpsCenterServer | OpsCenterAgent | OpsCenterViewBuilder | RemoteJavaConsole]

指定する製品の JRE バージョンを更新します。このオプションは大文字と小文字を区別しません。選択した製品が NetBackup リモート管理コンソールである場合、このコマンドはインストールされたリモート管理コンソールの全バージョンをリストします。そして、更新したいリモート管理コンソールのサポートされるバージョンを選択するプロンプトが表示されます。

-revert

現在インストールされている JRE の更新を以前にインストールされた JRE のバージョンに戻します。

-skipmajorversioncheck

ユーティリティが JRE をより高いメジャーバージョンまたはマイナーバージョンへ更新するのを許可します。

-version value

アップグレードまたは戻したい Remote Java Console のバージョン。このオプションは、RemoteJavaConsole-product オプションに指定する場合のみ使用できます。この制約は、Remote Java Console のみ、アップグレードまたは戻すことのできる複数のバージョンを維持するからです。

このオプションを指定しない場合、ユーティリティはインストールされた Remote Java Console のすべてのバージョンをリストします。そして、ユーティリティが、コンソールをアップグレードまたは戻すサポートされるバージョンを選択するプロンプトを表示します。-force オプションを使用する場合、-version オプションを指定する必要があります。

例 1: OpsCenter アップグレードのための予行演習

C:\Program Files\Symantec\OpsCenter\server\bin>nbcomponentupdate -product OpsCenterServer 
-component jre -path f:\JRE_Download\jre1.8.0_66 -logpath %temp%\nbcomponentupdate.log 
-dryrun

Command line: C:\Program Files\Symantec\OpsCenter\server\bin\nbcomponentupdate.exe -product 
OpsCenterServer -component jre -path f:\JRE_Download\jre1.8.0_66 -logpath C:\Users\ADMINI~1
\AppData\Local\Temp\2\nbcomponentupdate.log -dryrun

Java Runtime Envrionment(JRE) version installed with product 'Veritas OpsCenter Server'
  : 1.8.0_31 (64bit)
Java Runtime Envrionment(JRE) version found at path 'f:\JRE_Download\jre1.8.0_66'
  : 1.8.0_66 (64bit)

This utility will update the Java Runtime Envrionment(JRE) binaries present at 'C:\Program 
Files\Symantec\OpsCenter\server\jre' path

This utility may start and stop all (or some) services depending upon the present state of 
services.

Upgrade operation is permitted.
Please re-run this command without 'dryrun' option.

例 2: NetBackup の対話型の更新

$ /usr/openv/netbackup/bin/goodies/nbcomponentupdate -product NetBackup -component jre 
-path /downloadedJre/jre1.8.0_91/

Command line: /usr/openv/netbackup/bin/goodies/nbcomponentupdate -product NetBackup 
-component jre -path /downloadedJre/jre1.8.0_91/

Java Runtime Envrionment(JRE) version installed with product 'Veritas NetBackup'
  : 1.8.0_31 (64bit)
Java Runtime Envrionment(JRE) version found at path '/downloadedJre/jre1.8.0_91'
  : 1.8.0_91 (64bit)

This utility will update the Java Runtime Envrionment(JRE) binaries present at '/usr/openv/
java/jre' path

This utility may start and stop all (or some) services depending upon the present state of 
services.

Do you want to continue (Y[es]/N[o]): Yes

Performing upgrade steps ...

[1/4] Pre-installation step is in progress
[1/4] Pre-installation step is completed successfully

[2/4] Installation step is in progress
[2/4] Installation step is completed successfully

[3/4] Post-installation step is in progress
[3/4] Post-installation step is completed successfully

[4/4] Commit and Cleanup step is in progress
[4/4] Commit and Cleanup step is completed successfully


After upgrading, Java Runtime Envrionment(JRE) version installed with product 'Veritas 
NetBackup'                                 : 1.8.0_91 (64bit)

Successfully upgraded Java Runtime Envrionment(JRE) for Veritas NetBackup.
The log file generated for this operation is /tmp/logs/nbcomponentupdate/
nbcomponentupdate_12-08-2016_16.15.13.log

例 3: NetBackup を対話せずに戻す

# ./nbcomponentupdate -product NetBackup -component jre -revert -force
Command line: /usr/openv/netbackup/bin/goodies/nbcomponentupdate -product NetBackup 
-component jre -revert -force

Java Runtime Envrionment(JRE) version installed with product 'Veritas NetBackup'
  : 1.8.0_91 (64bit)
After revert, Java Runtime Envrionment(JRE) version with product 'Veritas NetBackup'
  : 1.8.0_31 (64bit)

This utility will update the Java Runtime Envrionment(JRE) binaries present at '/usr/openv/
java/jre' path

This utility may start and stop all (or some) services depending upon the present state of 
services.

Performing revert steps ...

[1/4] Pre-installation step is in progress
[1/4] Pre-installation step is completed successfully

[2/4] Installation step is in progress
[2/4] Installation step is completed successfully

[3/4] Post-installation step is in progress
[3/4] Post-installation step is completed successfully

[4/4] Commit and Cleanup step is in progress
[4/4] Commit and Cleanup step is completed successfully

After reverting, Java Runtime Envrionment(JRE) version installed with product 'Veritas NetBackup'
  : 1.8.0_31 (64bit)

Successfully reverted Java Runtime Envrionment(JRE) for Veritas NetBackup.
The log file generated for this operation is /tmp/logs/nbcomponentupdate/
nbcomponentupdate_22-08-2016_13.07.42.log

例 4: Remote Java Console を対話型で戻す

D:\sandbox>nbcomponentupdate.exe -product remotejavaconsole -component jre -revert 
-logpath D:\LogFolder
Command line: D:\sandbox\nbcomponentupdate.exe -product remotejavaconsole -component jre 
-revert -logpath D:\LogFolder


Following NetBackup Remote Java Console instances found on the host are supported by the 
utility:

1> NetBackup - Java (NB-Java) 7.7           JRE : 1.8.0_31 (64bit)

2> NetBackup - Java (NB-Java) 7.7.1         JRE : 1.8.0_31 (64bit)

3> NetBackup - Java (NB-Java) 7.7.2         JRE : 1.8.0_77 (64bit)

** NOTE **
Unsupported versions of Veritas NetBackup Remote Java Console found on the host:
NetBackup - Java (NB-Java) 7.6, NetBackup - Java (NB-Java) 7.5

Please enter choice [(1 - 3) or Q(uit) to exit]: 3

After revert, Java Runtime Envrionment(JRE) version with product 'Veritas NetBackup Remote 
Java Console'         : 1.8.0_31 (64bit)

This utility will update the Java Runtime Envrionment(JRE) binaries present at 'D:\RJC772\
Java\jre' path

Do you want to continue (Y[es]/N[o]): y

Performing revert steps ...

[1/4] Pre-installation step is in progress
[1/4] Pre-installation step is completed successfully

[2/4] Installation step is in progress
[2/4] Installation step is completed successfully

[3/4] Post-installation step is in progress
[3/4] Post-installation step is completed successfully

[4/4] Commit and Cleanup step is in progress
[4/4] Commit and Cleanup step is completed successfully

After reverting, Java Runtime Envrionment(JRE) version installed with product 'Veritas 
NetBackup Remote Java Console'             : 1.8.0_31 (64bit)

Successfully reverted Java Runtime Envrionment(JRE) for Veritas NetBackup Remote Java 
Console.
The log file generated for this operation is D:\LogFolder\
nbcomponentupdate_22-08-2016_16.22.13.log