UJP - 技術情報

Life is fun and easy!

不正IP報告数

Okan Sensor
 
メイン
ログイン
ブログ カテゴリ一覧

     

NetVault 6.5 Install  〜for RedHat 6.2〜

NetVault 6.5 Install

〜for RedHat 6.2〜


0.更新履歴

  • 2002.04.08 新規作成
  • 2002.04.09 lilo.confの修正間違い
  • 2003.03.27 FAQへのリンク先が変更されていたのに伴い,リンク先を修正.

1.はじめに

 このドキュメントでは,BakBone SOFTWARE社(http://www.bakbone.co.jp)のバックアップソフト,NetVault 6.5をインストールする手順を示す.

 対象は,RedHat Linux 6.2(Kernel 2.2)のマシンである.

2.パッケージのインストール

  • rootユーザでログインする.

[babadon@msc-db babadon]$ su - root
Password:■■■■■■■■■■■■■■
[root@msc-db root]#
  • インストールするディレクトリを作成する.
[root@msc-db root]# mkdir /opt/NetVault
[root@msc-db root]#
  • CD-ROMをマウントする.
[root@msc-db root]# mount /dev/cdrom /mnt/cdrom
mount: block device /dev/cdrom is write-protected, mounting read-only
[root@msc-db root]#
  • 中身を確認する.
[root@msc-db cdrom]# ls
aix      hp     linux24  readme_e.txt  sol2678  uware213  w2k
doc      irix   nt       readme_j.txt  solx86   uware711  win9x
freebsd  linux  opensvr  sol251        tru64    vaultdrc
[root@msc-db cdrom]#
  • 今回は,Linuxを対象としているので,該当ディレクトリに移動して中身を確認する.

[root@msc-db cdrom]# cd linux
[root@msc-db linux24]# ls -la
total 38132
dr-xr-xr-x    1 root     root         2048 Mar  5 11:16 .
dr-xr-xr-x    1 root     root         2048 Mar  5 10:54 ..
-r-xr-xr-x    1 root     root        25432 Nov 11 01:33 install
-r-xr-xr-x    1 root     root     38937088 Nov 15 05:27 nvdist
-r-xr-xr-x    1 root     root          791 Nov 15 05:27 readme.txt
[root@msc-db linux24]#
  • マニュアルによると,rpm版もあるらしい.
  • 残念ながら,このCD-ROMにはrpmが無い.
  • よって,インストーラを起動する.
root@msc-db linux]# ./install ./nvdist


        NetVault 6 - Release V650_R011018
        Copyright (c) BakBone Software Inc. 2000-2001

        Unix Installation/Removal Utility


-- BAKBONE SOFTWARE, INC. --

SOFTWARE LICENSE AGREEMENT

-IMPORTANT-
Read This Carefully Before Opening The Media Package

DO NOT PROCEED WITH INSTALLATION OR USE THIS SOFTWARE UNTIL YOU,
THE INDIVIDUAL OR ENTITY PURCHASING THIS PRODUCT OR SERVICE HAVE
READ THIS SOFTWARE LICENSE AGREEMENT ("AGREEMENT").
BY INSTALLING OR USING ANY OF THE PRODUCTS OR SERVICES PROVIDED
BY BAKBONE SOFTWARE, INC. (OR AUTHORIZING ANY OTHER PERSON TO DO
SO), YOU ARE CONSENTING TO BE BOUND BY AND ARE BECOMING A PARTY
TO THIS AGREEMENT.

Press any key
)
  • パッケージにNetVault6とかかれているが,実はVer6.5だったのが確認できた.
  • ENTERキーを入力する.
IF YOU DO NOT ACCEPT THE TERMS AND CONDITIONS OF THIS AGREEMENT,
YOU SHALL NOT HAVE ANY RIGHTS TO INSTALL, USE OR OTHERWISE
BENEFIT FROM THE PRODUCTS OR SERVICES.

BAKBONE SOFTWARE LICENSE

1.      EVALUATION LICENSE.
Notwithstanding any provision of this license
agreement to the contrary, the following terms and
conditions shall apply to any evaluation license
acquired.  An evaluation license will be deemed to exist
any time certain  software ("Evaluation Software") is
provided to you, the end user, for the purposes of your
evaluation of the same. Any evaluation license to use
the Evaluation Software shall terminate fourteen (14)

Press any key
)
  • ENTERキーを入力する.
days from the date of your initial installation of the
Evaluation Software.  Evaluation Software may be used
solely for your own, internal, non-commercial
evaluation purposes.   Evaluation Software may not be
transferred, is licensed to you without fee, and is
provided for all intents and purposes "as is."  To the
maximum extent permitted by applicable law, you agree
to release, defend, indemnify and hold BAKBONE
harmless from any claims and/or damages of any kind
by any party or entity, arising out of your use of any
Evaluation Software.  You hereby acknowledge that
BAKBONE shall not be responsible for any damage or
loss resulting from, without limitation, any data or
information loss and from any and all system failure
that may occur upon expiration of the evaluation

Press any key
)
  • ENTERキーを入力する.
license.  All other terms and conditions of this license
agreement shall otherwise apply to any evaluation
license granted hereunder.

2.      GRANT OF LICENSE.
BakBone Software, Inc. and its affiliates, including but
not limited to, its parent, subsidiaries, successors and
assigns and any entity merged into or with BakBone
Software, Inc. ("BAKBONE"), grants to you, the end
user, a personal, nonexclusive, nonsublicensable,
nonassignable license to use a single copy of this
software program, including any updates, additional
modules, or additional software provided by
BAKBONE through an authorized distributor in

Press any key
)
  • ENTERキーを入力する.
connection therewith (the "Software"), solely for you
own use, and solely in accordance with the terms and
conditions of this license agreement.  You may copy the
Software into the memory of any computer, solely as
necessary to use the Software in accordance with this
license agreement.  You may use one copy of the
Software (Single Server or Enterprise Edition), and
related documentation (a) on a single backup server at
any one time (b) you may use a single copy of the
Software on an unlimited number of workstations
connected to the backup server (c) you may use a single
copy of the Software on an unlimited number of
workstations connected to the backup server and (d)
you may copy the Software program into any computer-
readable or printed form for backup or modification

Press any key
)
  • ENTERキーを入力する.
purposes required in support of your use of the
software.

3.      COPYRIGHT AND COPIES.
The Software (including any copy thereof), is owned by
BAKBONE or its suppliers and is protected by United
States, local and international copyright and/or patent
laws and international treaty provisions.  The Software
copy is licensed, not sold to you, and you are not an
owner of any copy thereof.  You may either (a) make
one copy of the Software solely for backup or archival
purposes, or (b) transfer the Software to a single hard
disk provided you keep the original solely for backup or
archival purposes.  You may not otherwise copy the

Press any key
)
  • ENTERキーを入力する.
Software, and you may not copy the written materials
accompanying the Software.  BAKBONE hereby
reserves all rights not explicitly granted in this software
license agreement.

4.      MODIFICATIONS AND REVERSE ENGINEERING.
Except as otherwise provided herein,
you shall not copy, modify, reverse engineer, map,
decompile, enhance, or make derivative works or
compilations or portions or otherwise the source code,
internal structure, organization or any other aspect of
the Software or any part thereof or aid, abet or permit
others to do so.  Any unauthorized modifications,
derivative works, or any other intellectual property,

Press any key
)
  • ENTERキーを入力する.
created directly or indirectly using or referring to the
Software, or components thereof, or enhancements of
the Software, shall belong exclusively to BAKBONE
and you hereby assign any and all rights in them
(including without limitation moral rights) to
BAKBONE.  You hereby agree to promptly enter into
any further documentation required by BAKBONE in
its sole discretion to legally or commercially effect such
assignment, including, without limitation, ensuring that
its employees and/or contractors do the same.  You
hereby expressly waive any rights you may obtain
inconsistent with the foregoing through application of
the law of any other country or otherwise.  You hereby
acknowledge that you have no right whatsoever and
shall have no right whatsoever, whether by the express

Press any key
)
  • ENTERキーを入力する.
terms of this Agreement or by any course of conduct, to
use, review, or access the source code for the Software.

5.      OTHER RESTRICTIONS.
You may not rent or lease the Software, but you may transfer
the Software and accompanying written materials on a
permanent basis provided you retain no copies and the
recipient agrees to the terms of this Agreement.  If the
Software is an update, any transfer must include the
update and all prior versions.  You may not modify or
translate the Software.  You further agree (i) not to
remove any Software identification or notices of any
proprietary or copyright restrictions from the Software
or any support material; (ii) except for archival or

Press any key
)
  • ENTERキーを入力する.
6.      DUAL MEDIA.
If the Software package contains more than one form of media,
such as a 3.5" diskette and a CD-ROM, then you may use only one
of the media appropriate for your computer or computer
system.  You may not use the other media on another

Press any key
)
  • ENTERキーを入力する.
another except as part of the permanent transfer (as
provided above), of all Software and written materials.

7.      LIMITED WARRANTY AND REMEDY.
BAKBONE warrants the physical media
(e.g. diskette(s) or CD-ROM), and the physical
documentation, to be free of defects in materials and
workmanship for a period 90 days from the original
purchase date.  If BAKBONE receives notification
within this warranty period of any such defects and
such notification is determined to be correct,
BAKBONE will, at its sole option and discretion, either
repair or replace the media or documentation, or
Press any key
)
  • ENTERキーを入力する.
provide you a full refund.  The foregoing is your sole
and exclusive remedy and states BAKBONE's entire
liability arising out of this warranty.  Any other
warranty claim, if any, must be brought to Distributor,
who you agree shall be the sole party you look to for
warranty claims and damages beyond the express,
limited warranty set out herein.  Moreover, this limited
warranty is void if the damage or defect has resulted
from accident, abuse or misapplication.

8.      NO OTHER WARRANTIES.
THE LIMITED WARRANTY ABOVE IS EXCLUSIVE
AND IN LIEU OF ALL OTHER CONDITIONS AND
WARRANTIES FOR THE SOFTWARE AND
Press any key
)
  • ENTERキーを入力する.
DOCUMENTATION.  BAKBONE AND ITS
SUPPLIERS MAKE NO OTHER CONDITIONS OR
WARRANTIES, EXPRESS, IMPLIED, STATUTORY
OR OTHERWISE, AND EXPRESSLY DISCLAIM
ALL OTHER CONDITIONS AND WARRANTIES,
INCLUDING BUT NOT LIMITED TO, IMPLIED
CONDITIONS OR WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE, AND NON-
INFRINGMENT FOR THE SOFTWARE AND
DOCUMENTATION.

9.      LIMITED LIABILITY.
TO THE MAXIMUM EXTENT PERMITTED BY

Press any key
)
  • ENTERキーを入力する.
APPLICABLE LAW, IN NO EVENT AND UNDER
NO LEGAL THEORY SHALL BAKBONE OR ITS
SUPPLIERS BE LIABLE TO YOU FOR ANY COSTS
OF SUBSTITUTE PRODUCTS, OR FOR ANY
CONSEQUENTIAL, SPEICAL, INCIDENTAL,
PUNITIVE OR INDIRECT DAMAGES OF ANY
KIND ARISING OUT OF THE LICENSE OR, USE
OF, OR INABILITY TO USE ANY BAKBONE
SOFTWARE OR DOCUMENTATION, EVEN IF
BAKBONE HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.  IN NO
EVENT SHALL BAKBONE'S OR ITS SUPPLIERS'
LIABILITY EXCEED THE LICENSE FEE PAID BY
YOU.  THIS LIMITATION OF LIABILITY AND
RISKS IS REFLECTED IN THE PRICE OF THE

Press any key
)
  • ENTERキーを入力する.
SOFTWARE LICENSE.

10.     TERM.
This license is effective until terminated.
You may terminate it at any time by
destroying the Software together with all copies,
modifications and merged portions in any form.  It will
also terminate automatically upon your failure to
comply with any term or condition of this Agreement.
In the event of such termination, you agree to promptly
destroy the Software together with all copies,
modifications and merged portions in any form.


Press any key
)
  • ENTERキーを入力する.
11.     GOVERNING LAW.
You acknowledge that BAKBONE is based in the State of
California, U.S.A. and requires uniformity and consistency
in the laws under which it deals directly or indirectly with
all of the licensees and sub-licensees of its Software,
documentation and trademarks.  In addition, you
acknowledge that BAKBONE is the proponent of this
Agreement and the business transactions contemplated
by this Agreement.  Accordingly, this Agreement shall
be governed by and interpreted only in accordance with
the laws of the State of California, U.S.A., without
reference to conflict of laws principles.

12.     FORUM SELECTION AND DISPUTE RESOLUTION

Press any key
)
  • ENTERキーを入力する.
(a)     Except as otherwise provided below,
any controversy or claim arising out of or relating
to this Agreement shall be submitted to final
and binding arbitration before, and in accordance with,
the rules of the International Chamber of Commerce
("ICC").  If the claim seeks damages of U.S. 100,000 dollars
or less, it shall be decided by a single independent
arbitrator.  If the claim seeks damages in excess of U.S.
100,000 dollars, it shall be decided by three independent
arbitrators, one nominated by each party and one
selected by the ICC, in accordance with ICC's rules and
procedures.  All arbitrators shall have expertise in the
subject matter of the dispute.  The arbitration process,
including selection of the arbitrator or arbitrators,
exchanges of requests for information and the

Press any key
)
  • ENTERキーを入力する.
arbitration hearing shall be completed within 60 days
following the initiation of the arbitration by either
party, and the actual arbitration hearing shall be limited
to one (1) day.  The arbitrator(s) shall issue a written
judgment within ten (10) days following the arbitration
hearing.  Judgment upon any arbitration award may be
entered in any court having jurisdiction thereof.  This
provision is self executing, and in the event that either
party fails to appear at any properly noticed arbitration
proceeding, an award may be entered against such party
notwithstanding said failure to appear.  Such arbitration
shall be conducted in San Diego, California.  This
clause shall survive the termination of this Agreement.
(b)     Notwithstanding the foregoing:

Press any key
)
  • ENTERキーを入力する.
(1) any claim relating to the validity of the
BAKBONE Software, the BAKBONE trademarks, or
other proprietary technology or intellectual property
shall not be determined by arbitration, but only by a
court located in the Southern District of California, to
whose jurisdiction the parties hereby consent or such
other court with BAKBONE, in its sole discretion as
owner of the licensed intellectual property, shall select;
and
(2) you acknowledge that any breach of your
obligations under this Agreement which relates to the
proprietary rights, or which is otherwise not subject to
remedy by monetary damages, will cause BAKBONE
irreparable harm, and that BAKBONE accordingly will
be entitled to injunctive and other equitable relief in

Press any key
)
  • ENTERキーを入力する.
addition to all other remedies provided by this
Agreement or available at law, in any court of
competent jurisdiction.

13.     MISCELLANEOUS.
This is the entire Agreement between you and BAKBONE, and
supersedes any prior agreement, or representations of
Distributor, if any, whether written or oral, relating to
the subject matter of this Agreement.  The parties
disclaim the application of the United Nations
Convention on the International Sale of Goods.  You
may not export or re-export the Software of
documentation without the appropriate United States or
foreign government licenses.  If any provision of this

Press any key
)
  • ENTERキーを入力する.
Agreement is ruled invalid, such invalidity shall not
affect the validity of the remaining portions of this
Agreement.

NVE 7005-1A 10/11


Do you accept all the terms of the preceding license agreement
If you choose No this setup will close. To install NetVault you must
accept this agreement

Press y to accept, n otherwise (y/n)
  • yを入力し,ENTERキーを入力する.
Press y to accept, n otherwise (y/n)y
This program will install NetVault 6 V650_R011018
Are you sure you want to continue? (y/n):
  • yを入力し,ENTERキーを入力する.
This program will install NetVault 6 V650_R011018
Are you sure you want to continue? (y/n): y

Please enter the path where you would like the NetVault directory
to be created (The NetVault database directory will be specified separately)
Installation Directory ('/usr'):
  • 先ほど作成したディレクトリを指定する.
Installation Directory ('/usr'): /opt/NetVault

Please enter the path for the NetVault database directory
Database Directory: (/opt/NetVault/NetVault6/nvdb):
  • データベースを作成するディレクトリを指定する.
  • そのままで良いので,ENTERを入力する.
Please enter the path for the NetVault database directory
Database Directory: (/opt/NetVault/NetVault6/nvdb):

Please select the type of installation to perform:
1) Server
2) Client
3) Custom

Please select (1-3):
  • Serverを選択する.
Please select (1-3): 1

Enter a name that this machine will be known as by the other NetVault
machines on your network
NetVault Machine Name ('msc-db'):
  • NetVaultのネットワーク名を入力する.
  • ホスト名がデフォルトで表示されているので,そのままENTERキーを入力する.

Enter the password that will be required to access this system from
other NetVault nodes on your network
Password:
  • NetVaultの管理用ユーザのパスワードを入力する.(確認用と2回分)
Password:■■■■■■■■■■■■
Confirm Password:■■■■■■■■■■

Please wait while the software is installed...
Copying 'Core files': \
  • ファイルのコピーが始まる.
Please wait while the software is installed...
Copying 'Core files': copied
Copying 'Server files': copied
Copying 'Device control files': copied
Copying 'Data Plugin files': copied
Copying 'GUI files': copied
Copying 'Online help files': copied
Creating symbolic links: done
Checking for additional packages:  done
Successfully installed '/opt/NetVault/NetVault6/packages/con1110.npk'
Successfully installed '/opt/NetVault/NetVault6/packages/cpy1110.npk'
Successfully installed '/opt/NetVault/NetVault6/packages/nvd1310.npk'
Successfully installed '/opt/NetVault/NetVault6/packages/nvf1810.npk'
Successfully installed '/opt/NetVault/NetVault6/packages/raw1710.npk'
\License installed: 'TRUE'
Will link to '/opt/NetVault/NetVault6/etc/startup.sh'
Installed NetVault services
Restarting NetVault services... ok
Installation completed successfully.
[root@msc-db linux24]#
  • インストールに成功したようである.
  • どんな感じで入っているか確認する.
[root@msc-db NetVault6]# pwd
/opt/NetVault/NetVault6
[root@msc-db NetVault6]# ls
bin     devices  gui   lib     logs  packages  pit.old  replaced  scripts  util
config  etc      help  locale  nvdb  pit       RELEASE  reports   tmp
[root@msc-db NetVault6]# du -s -k *
4       RELEASE
13004   bin
76      config
2968    devices
32      etc
152     gui
11240   help
5864    lib
4       locale
2064    logs
356     nvdb
1872    packages
332     pit
324     pit.old
12      replaced
116     reports
12      scripts
4       tmp
11356   util
[root@msc-db NetVault6]#

3.カーネル関連パラメータの設定

  • Linux Kernel 2.2系でNetVaultを使う場合,カーネル関連パラメータの設定を行う.
    • LinuxがスキャンするSCSI LUN(Logical Unit Number)を設定する為.
  • これは,該当機種を使っている場合だけである.
  • 接続されているSCSIデバイスを確認してみる.
[babadon@msc-db babadon]$ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: DELL     Model: PERCRAID RAID5   Rev: 0001
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 06 Lun: 00
  Vendor: SONY     Model: TSL-11000        Rev: L0u6
  Type:   Sequential-Access                ANSI SCSI revision: 02
[babadon@msc-db babadon]$

3.1.ブートローラの設定

  • 今回の対象マシンでは,LILOを使っているので,LILOに合った設定を行う.
  • lilo.confファイルを確認する.
[root@msc-db NetVault6]# cat /etc/lilo.conf
boot=/dev/sda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
linear
default=linux

image=/boot/vmlinuz-2.2.14-6.1.1smp
        label=linux
        initrd=/boot/initrd-2.2.14-6.1.1smp.img
        read-only
        root=/dev/sda2

image=/boot/vmlinuz-2.2.14-6.1.1
        label=linux-up
        initrd=/boot/initrd-2.2.14-6.1.1.img
        read-only
        root=/dev/sda2

[root@msc-db NetVault6]#
  • 次のように,書き換える.
[root@msc-db NetVault6]# cat /etc/lilo.conf
boot=/dev/sda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
linear
default=linux


image=/boot/vmlinuz-2.2.14-6.1.1smp
        label=linux
        initrd=/boot/initrd-2.2.14-6.1.1smp.img
        read-only
        append = "max_scsi_luns=8"
        root=/dev/sda2

image=/boot/vmlinuz-2.2.14-6.1.1
        label=linux-up
        initrd=/boot/initrd-2.2.14-6.1.1.img
        read-only
        append = "max_scsi_luns=8"
        root=/dev/sda2
[root@msc-db NetVault6]#
  • liloコマンドを実行する.
[root@msc-db NetVault6]# lilo
Added linux *
Added linux-up
[root@msc-db NetVault6]#
  • ここまで設定したら,OSを再起動する.
[root@msc-db NetVault6]# reboot

Broadcast message from root (pts/0) Mon Apr  8 14:42:54 2002...

The system is going down for reboot NOW !!

[root@msc-db NetVault6]#
  • リブート後,dmesgでscsi関連の情報を確認してみる.
percraid device detected
scsi0 : percraid
scsi : 1 host.
  Vendor: DELL      Model: PERCRAID RAID5    Rev: 0001
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: hdwr sector= 512 bytes. Sectors= 142182913 [69425 MB] [69.4 GB]
sda: Write Protect is off
 sda: sda1 sda2
(scsi1) <Adaptec AIC-7899 Ultra 160/m SCSI host adapter> found at PCI 2/4/1
(scsi1) Wide Channel B, SCSI ID=7, 32/255 SCBs
(scsi1) Downloading sequencer code... 396 instructions downloaded
enable_irq() unbalanced from fc82db26
scsi1 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.28/3.2.4
       <Adaptec AIC-7899 Ultra 160/m SCSI host adapter>
scsi : 2 hosts.
(scsi1:0:6:0) Synchronous at 40.0 Mbyte/sec, offset 15.
  Vendor: SONY      Model: TSL-11000         Rev: L0u6
  Type:   Sequential-Access                  ANSI SCSI revision: 02
  Vendor: SONY      Model: TSL-11000         Rev: L0u6
  Type:   Medium Changer                     ANSI SCSI revision: 02
autodetecting RAID arrays
autorun ...

4.プロセスを確認してみる

  • NetVault系のプロセスがあがっている事を確認する.
[root@msc-db root]#  ps -ef | grep nv
root       865     1  0 18:39 ?        00:00:00 /opt/NetVault/NetVault6/bin/nvpm
root       866   865  0 18:39 ?        00:00:00 nvcmgr 2
root       880   865  0 18:39 ?        00:00:00 nvnmgr 3
root       881   865  0 18:39 ?        00:00:00 nvlogdaemon 7
root       882   865  0 18:39 ?        00:00:00 nvmedmgr 4
root       883   865  0 18:39 ?        00:00:00 nvsched 5
[root@msc-db root]#
  • なんかあがっているらしい.
  • 実行ファイルを確認してみる.
root@msc-db bin]# pwd
/opt/NetVault/NetVault6/bin
[root@msc-db bin]# ls
convplgkey      nvcmgr          nvdevicescan  nvjobmgr      nvnmgr       nvreadlog
getmachineid    nvconfigupdate  nvdevmgr      nvkill        nvpassword   nvsched
installplugin   nvconfigurator  nvduplicate   nvlogdaemon   nvpitupdate  nvsysexec
latentinstall   nvconsolidate   nvfs          nvmedmgr      nvplgscript  nvutility
licenseinstall  nvcoreplg       nvgui         nvmsg         nvpmgr       nvverify
nvbrowsedb      nvdatacopy      nvguidisplay  nvndmpchgmgr  nvpview      txtconfig
nvchgmgr        nvdbplugin      nvguiproxy    nvndmpdevmgr  nvraw        uncompress
[root@msc-db bin]#


広告スペース
Google