ITPub博客

首页 > Linux操作系统 > Linux操作系统 > How to Setup 1-Touch on Linux

How to Setup 1-Touch on Linux

原创 Linux操作系统 作者:lhl1212 时间:2011-01-28 23:05:31 0 删除 编辑

How to Setup 1-Touch on Linux

Published 11/20/2009 10:29 AM   |    Updated 11/20/2009 02:16 PM


This document will cover the process to setup 1-Touch for Linux using CommVault Software Version 8.0.  This document should in no way be treated as the “End All” procedure.  It is merely provided as a template on how this process can be accomplished.


The entire setup will be performed on two Linux machines
:


1.    
hplnx01 will be the 1-Touch server


2.    
hplnx02 will be the 1-Touch client


The 1-Touch Server requires 2GB of disk space per client on 1-Touch server NFS share for 1-Touch client configuration files.
 
The 1-Touch Client requires 500 MB of disk space for 1-Touch client configuration files.
 

Resolution:

1-Touch server setup

 

Check name resolution order during 1-Touch Recovery only hosts/DNS is available

 

cat /etc/host.conf

order hosts,bind

 

Check /etc/hosts if for loopback entry


# cat /etc/hosts

# Do not remove the following line, or various programs

# that require network functionality will fail.

127.0.0.1               localhost.localdomain localhost

10.10.159.202           hplnx01.prace.commvault.net hplnx01


Check space requirements 2GB per 1-Touch client on the 1-Touch server


[root@hplnx01 /]# df -h

Filesystem            Size  Used Avail Use% Mounted on

/dev/mapper/VolGroup00-LogVol00

                       38G  1.8G   34G   5% /

/dev/sda1              99M   13M   81M  14% /boot

none                  506M     0  506M   0% /dev/shm

[root@hplnx01 /]#


Check if 1-Touch server is nfs server:


Is NFS already running?


[root@hplnx01 /]# /etc/init.d/nfs status

rpc.mountd is stopped

nfsd is stopped

rpc.rquotad is stopped


Runlevels that have nfs enabled


[root@hplnx01 /]# chkconfig --list nfs

nfs             0:off   1:off   2:off   3:off   4:off   5:off   6:off


Default runlevel after reboot

 

[root@hplnx01 /]# grep initdefault /etc/inittab

#   0 - halt (Do NOT set initdefault to this)

#   6 - reboot (Do NOT set initdefault to this)

id:5:initdefault:


4.4 Enable nfs at runlevel 5 during reboot:


[root@hplnx01 /]# chkconfig --level 5 nfs on

[root@hplnx01 /]# chkconfig --list nfs

nfs             0:off   1:off   2:off   3:off   4:off   5:on    6:off

 

Reboot to verify that nfs server is running after reboot:

 

[root@hplnx01 ~]# /etc/init.d/nfs status

rpc.mountd (pid 3091) is running...

nfsd (pid 3085 3084 3083 3082 3081 3080 3079 3078) is running...

rpc.rquotad (pid 3065) is running...

[root@hplnx01 ~]# /etc/init.d/nfslock status

rpc.statd (pid 2750) is running...


Configure nfs share on the 1-Touch server for client recovery


create directory for nfs share

[root@hplnx01 ~]# mkdir -p /export/1touch

 

Add directory to /etc/exports


/export/1touch  *.prace.commvault.net(rw,sync,no_root_squash)


Restart nfs daemon and nfslock daemon to make shares available


/etc/init.d/nfs stop

Shutting down NFS mountd:                                  [  OK  ]

Shutting down NFS daemon:                                  [  OK  ]

Shutting down NFS quotas:                                  [  OK  ]

Shutting down NFS services:                                [FAILED]

[root@hplnx01 ~]# /etc/init.d/nfslock stop

Stopping NFS statd:                                        [  OK  ]

[root@hplnx01 ~]# /etc/init.d/nfslock start

Starting NFS statd:                                        [  OK  ]

[root@hplnx01 ~]# /etc/init.d/nfs start

Starting NFS services:                                     [  OK  ]

Starting NFS quotas:                                       [  OK  ]

Starting NFS daemon:                                       [  OK  ]

Starting NFS mountd:                                       [  OK  ]


Check if 1-Touch server dir is exported


 [root@hplnx01 ~]# nfs-export --list

Directory       Permissions             Hosts

/export/1touch          rw                      *.prace.commvault.net


Check if nfs is listening for connections


 
[root@hplnx01 ~]# netstat -a | grep nfs

getnameinfo failed

getnameinfo failed

tcp        0      0 *:nfs                       *:*                         LISTEN

udp        0      0 *:nfs                       *:*


Install the 1-Touch boot server


 
[root@hplnx01 cdrom]# ./cvpkgadd

Restarting in pdksh-v5.2.14...

Simpana                     8.0.0 (BUILD68)                      Linux glibc2.3

-------------------------------------------------------------------------------

 

                                   CommVault

                    __  _                                  

                   / _\(_)_ __ ___  _ __   __ _ _ __   __ _

                   \ \ | | '_ ` _ \| '_ \ / _` | '_ \ / _` |

                   _\ \| | | | | | | |_) | (_| | | | | (_| |

                   \__/|_|_| |_| |_| .__/ \__,_|_| |_|\__,_|

                                   |_|                     

 

                                8.0.0(BUILD68)

 

                  Welcome to CommVault Systems, Inc. Simpana.

 

For support please visit http://www.commvault.com/support, or send an email to

support@commvault.com, or call US/CANADA (Toll Free) (877) 780-3077;

INTERNATIONAL (732) 571-2160.

 

        This script. will install Simpana backup system on this machine.

        Log messages will be sent to /tmp/.gxsetup/cvpkgadd.log.23121.

 

                          Press to start ...

 

Simpana                     8.0.0 (BUILD68)                      Linux glibc2.3

-------------------------------------------------------------------------------

EULA

 

        Press to review Simpana End User License Agreement ...

 

Simpana                     8.0.0 (BUILD68)                      Linux glibc2.3

-------------------------------------------------------------------------------

      

                            CommVault Systems, Inc.

      

                End User License and Limited Warranty Agreement

      

                CommVault(r) Simpana(r)  Software Release 8.0.0

      

        (including Microsoft(r) SQL Server(tm) 2005 Enterprise Edition,

                    SQL Server(tm) 2005 Express Edition and

                     Windows Pre-Installation Environment)

      

      

                          End User License Agreement

      

       IMPORTANT-  READ CAREFULLY: THIS END USER LICENSE AGREEMENT ("EU-

       LA") IS A LEGAL AGREEMENT BETWEEN YOU (EITHER AS AN INDIVIDUAL OR

       ENTITY)  ("YOU"  )  AND COMMVAULT SYSTEMS, INC. ("COMMVAULT") FOR

       THE ABOVE-REFERENCED SOFTWARE PRODUCT(S), WHICH INCLUDES COMPUTER

       SOFTWARE  AND MAY INCLUDE ASSOCIATED MEDIA, AND "ONLINE" OR ELEC-

       TRONIC DOCUMENTATION ("SOFTWARE"). BY INSTALLING, COPYING OR OTH-

       ERWISE  USING THE SOFTWARE, YOU AGREE TO BE BOUND BY THE TERMS OF

       THIS EULA. IF YOU DO NOT AGREE TO THE TERMS OF THIS EULA, DO  NOT

--More--(4%)

Do you accept the terms of this license agreement?    y

Simpana                     8.0.0 (BUILD68)                      Linux glibc2.3

-------------------------------------------------------------------------------

Cluster Support

 

Certain Simpana packages can be associated with a virtual IP, or in other

words, installed on a "virtual machine" belonging to some cluster. At any

given time the virtual machine's services and IP address are active on only

one of the cluster's servers. The virtual machine can "fail-over" from one

server to another, which includes stopping services and deactivating IP

address on the first server and activating the IP address/services on the

other server.

 

Currently you have Simpana installed on physical node

hplnx01(hplnx01.prace.commvault.net).

 

Now you have a choice of either adding another package to the existing

installation or configure Simpana on a virtual machine for use in a cluster.

 

    1) Add another package to hplnx01(hplnx01.prace.commvault.net)

    2) Install Simpana on a virtual machine

    3) Exit this menu

 

Your choice: [1]

Simpana                     8.0.0 (BUILD68)                      Linux glibc2.3

-------------------------------------------------------------------------------

Install Simpana on physical machine hplnx01.prace.commvault.net

 

Select the Simpana module that you would like to install.

 

    1) Media Agent                2) Proxy FileSystem IDA

    3) Oracle IDA                 4) Oracle SAP IDA

    5) SAPMAXDB IDA               6) Sybase IDA

    7) DB2 IDA                           8) MySQL IDA

    9) Lotus Notes DB IDA         10) Data Archiver for UNIX

   11) Continuous Data Replicator       12) Qsnap Driver

   13) Image IDA for UNIX         14) NDMP Remote Server

   15) NDMP Restore Enabler       16) Quick Recovery Agent

   17) CommCell Console                  18) 1-Touch Boot Server Agent

   19) Recovery Director for UNIX        20) Groupwise DB on OES

   21) Novell OES Linux FS IDA           22) SRM File System Agent

   23) Novell OES Directory Services     24) UNIX ImageLevel ProxyHost IDA

   25) Data Classification       26) Exit

 

Module number: [1] 18

Checking for running services ...done.

Checking for jobs running on hplnx01.prace.commvault.net ...done.

 

Stopping Simpana services ...done.

Simpana              8.0.0 (BUILD68)              CVGx1Touch for Linux glibc2.3

-------------------------------------------------------------------------------

Reading firewall registry ... done.

Simpana              8.0.0 (BUILD68)              CVGx1Touch for Linux glibc2.3

-------------------------------------------------------------------------------

CommServe Check

 

CommServe:  vmcs01.prace.commvault.net

Trying to contact CommServe vmcs01.prace.commvault.net [1 of 3] ...done.

Checking if CS is enabled for install authentication ...done.

Getting CommServe version ...done.

Verifying CommServe version ...done.

Getting CommServe Service Pack Level ...done.

Verifying CommServe Service Pack Level ... done.

Verifying CVGx1Touch license on the CommServe ... done.

Simpana              8.0.0 (BUILD68)              CVGx1Touch for Linux glibc2.3

-------------------------------------------------------------------------------

WARNING ON SERVICE PACKS

 

It appears that you have Simpana Service Pack 1 installed. The CVGx1Touch that

you're trying to install now is from the original Simpana 8.0.0 distribution,

and will have to be patched at the end of the install as well.

 

If you do not have Simpana Service Pack 1 handy, we recommend that you abort

the install now because Simpana services will not run on a partially patched

machine.

 

Please type "yes" to acknowledge that you have read this message:     yes

Simpana              8.0.0 (BUILD68)              CVGx1Touch for Linux glibc2.3

-------------------------------------------------------------------------------

WARNING ON PARTIAL UPDATES

 

It appears that you have Simpana installed with partial updates. The

CVGx1Touch that you're trying to install now is from the original Simpana

8.0.0 distribution, and will have to be updated by the following updates at

the end of the install as well.

 

  CVGx1Touch: linux_8.0.0B68_10996;

 

If you do not have the above Simpana updates handy, we recommend that you

abort the install now because Simpana services will not run on a partially

updated machine.

 

***** DO YOU REALLY WANT TO CONTINUE THE INSTALL? [no]  yes

Simpana               <- config ->                CVGx1Touch for Linux glibc2.3

-------------------------------------------------------------------------------

Simpana              8.0.0 (BUILD68)              CVGx1Touch for Linux glibc2.3

-------------------------------------------------------------------------------

Binary Copy

 

Copying binaries ...

 

[14%] Creating SR ...                                                     

[28%] Creating iDataAgent ...                                              

[42%] Unpacking iDataAgent/srrestore ...                                   

[57%] Unpacking iDataAgent/srprefind ...                                   

[71%] Unpacking iDataAgent/srrestore.sh ...                                

[85%] Unpacking iDataAgent/srrestore3.sh ...                               

[100%] Unpacking iDataAgent/addmodule.sh ...                                

[20%] Verifying CRC32 for iDataAgent/srrestore ...                         

[40%] Verifying CRC32 for iDataAgent/srprefind ...                         

[60%] Verifying CRC32 for iDataAgent/srrestore.sh ...                       

[80%] Verifying CRC32 for iDataAgent/srrestore3.sh ...                     

[100%] Verifying CRC32 for iDataAgent/addmodule.sh ...                      

 

 

Successfully copied 5 files

Simpana             <- postinstall ->             CVGx1Touch for Linux glibc2.3

-------------------------------------------------------------------------------

Updating registry tree under /etc/CommVaultRegistry ... done.

Preconfiguring CVGx1Touch on the CommServe ...done.

Adjusting modes and permissions of Simpana files

 

Successfully installed CVGx1Touch.

 

Press ENTER to continue ...

-------------------------------------------------------------------------------


Install Simpana on physical machine hplnx01.prace.commvault.net

 

Select the Simpana module that you would like to install.

 

    1) Media Agent                2) Proxy FileSystem IDA

    3) Oracle IDA                 4) Oracle SAP IDA

    5) SAPMAXDB IDA               6) Sybase IDA

    7) DB2 IDA                           8) MySQL IDA

    9) Lotus Notes DB IDA         10) Data Archiver for UNIX

   11) Continuous Data Replicator       12) Qsnap Driver

   13) Image IDA for UNIX         14) NDMP Remote Server

   15) NDMP Restore Enabler       16) Quick Recovery Agent

   17) CommCell Console                  18) Recovery Director for UNIX

   19) Groupwise DB on OES       20) Novell OES Linux FS IDA

   21) SRM File System Agent             22) Novell OES Directory Services

   23) UNIX ImageLevel ProxyHost IDA    24) Data Classification

   25) Exit

 

Module number: [1] 25

Installing PostPack ...done.

Simpana                     8.0.0 (BUILD68)                      Linux glibc2.3

-------------------------------------------------------------------------------

Download and Install Latest Service Pack

 

If you choose to download the latest service pack from the software provider

website now, please make sure you have internet connectivity at this time.

This process may take some time depending on the internet connectivity.

 

You may enter Ctrl-C to cancel the download at anytime.

 

Do you want to download the latest service pack now ? [no] no

Simpana                     8.0.0 (BUILD68)                      Linux glibc2.3

-------------------------------------------------------------------------------

Cluster Support

 

Certain Simpana packages can be associated with a virtual IP, or in other

words, installed on a "virtual machine" belonging to some cluster. At any

given time the virtual machine's services and IP address are active on only

one of the cluster's servers. The virtual machine can "fail-over" from one

server to another, which includes stopping services and deactivating IP

address on the first server and activating the IP address/services on the

other server.

 

Currently you have Simpana installed on physical node

hplnx01(hplnx01.prace.commvault.net).

 

Now you have a choice of either adding another package to the existing

installation or configure Simpana on a virtual machine for use in a cluster.

 

    1) Add another package to hplnx01(hplnx01.prace.commvault.net)

    2) Install Simpana on a virtual machine

    3) Exit this menu

 

Your choice: [1] 3

 

 

Thank you for choosing CommVault Systems, Inc. Simpana.

 

For support please visit http://www.commvault.com/support, or send an email to

support@commvault.com, or call US/CANADA (Toll Free) (877) 780-3077;

INTERNATIONAL (732) 571-2160.

 

 

*** !!!WARNING!!!

*** Service Pack or partially installed patches were detected on this machine.

***

*** You must reinstall the latest CommVault Systems, Inc. Simpana Service Pack

*** (downloadable from https://www.commvault.com/mainadv.asp), or Simpana will

*** not work properly.

***

*** As a result, Simpana services might have NOT been started. To force

*** services up (e.g. in order to be able to run Simpana Updates), you should

*** do "simpana -force start".. 

 

[root@hplnx01 cdrom]# simpana -force start

Starting Simpana services for Instance001 ...


I
nstall latest SP (Service Pack) for UNIX/Linux on the 1-Touch boot server

 

1-Touch client setup

 

Check name resolution order during 1-Touch Recovery only hosts DNS is available

 

[root@hplnx02 cdrom]# cat /etc/host.conf

order hosts,bind

 

Check /etc/hosts if for loopback entry

 

[root@hplnx02 cdrom]# cat /etc/hosts

# Do not remove the following line, or various programs

# that require network functionality will fail.

127.0.0.1               localhost.localdomain localhost

10.10.159.45            hplnx02.prace.commvault.net hplnx02

::1                      localhost6.localdomain6 localhost6

 

Check if nfs client is up and running

 

# /etc/init.d/nfs status

Shutting down NFS mountd: rpc.mountd (pid 19695) is running...

nfsd (pid 19689 19688 19687 19686 19685 19684 19683 19682) is running...

rpc.rquotad (pid 19678) is running...

 

Check if 1-Touch server directory is accessible

 

# mount hplnx01:/export/1touch /mnt

# touch /mnt/test.txt

# ls /mnt

# test.txt


Check if required packages for 1-Touch Recovery are installed on the client including latest CommVault Software SP for UNIX/Linux


# rpm -q syslinux grub mkisofs

syslinux-2.11-1

grub-0.97

mkisofs-2.01.1-5

 

Enable 1-Touch Recovery on the client in the CommCell Console


From the CommCell Browser, right-click the appropriate (usually the default) subclient and then click Properties from the shortcut menu



From the Subclient properties (1-Touch Recovery) tab, click 1-Touch Recovery.



The 1-Touch server can be in the same subnet as the client computer, or it can be in a different subnet.  However, if they are in different subnets, ensure that there is no network firewall between the server and the client.  Click yes



Confirm 1-Touch Server directory.  Click Yes




You have successfully configured 1-Touch for Linux

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/611609/viewspace-686476/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-12-08

  • 博文量
    252
  • 访问量
    496796