Академический Документы
Профессиональный Документы
Культура Документы
http://www.oucs.ox.ac.uk/hfs/clients/supported/linux/index.xml?splitLevel=-1
We want to use cookies to collect data on how people use our site. Click here to accept, and dismiss this notice. For more information, and to change your preferences later, see our cookie policy. If you prefer not to accept them you may disable them (this sets a cookie).
2. Prerequisites
The preferred method of installation is using the IT Services HFS software repositories. When doing this software prerequisites should be automatically installed. These include: Item libstdc++ X Window System Java runtime acl IBM GSKit libraries JRE 5 or 6 >2.0.19 Version 5 (for 6.2 client) and 6 required for the GUI required for the GUI required for EXT2/EXT3/XFS ACL support supplied with the TSM client software Notes
It is possible to run the command line application without having to have a Java runtime or X Window System installed. The TSM software installs in /opt/tivoli and /usr/local/ibm. It must be possible to create these directories (if they don't exist) and write into them. You will also need a standard 100Mb/s (or faster) network connection to the University network or a connection to the Oxford eduroam wireless network (please see page on backing up over wireless for more details). The HFS only supports VPN-based backup for systems registered for VPN-based backup.
The command line client dsmtca The 'trusted client agent', which allows non-root users to connect to the HFS A file /etc/TIVGUID is created the first time a client is run. This file holds the Global Unique Identifier that associates a TSM client with a TSM server and should not be edited or removed. The password for the HFS account will be stored in an encrypted form, readable only by root, in /etc/adsm/TSM.PWD.
1 of 12
5/21/2013 1:40 PM
http://www.oucs.ox.ac.uk/hfs/clients/supported/linux/index.xml?splitLevel=-1
If you have installed from the IT Services HFS repository you will get TSM client updates along with all your other system updates. If you have specific installation problems then email hfs@ox.ac.uk attaching /opt/tivoli/tsm/client/ba/bin/tsm-install.log. This describes what the post installation scripts have attempted to do, and highlights any problems. It may also be required to email the following files: dsm.sys, dsm.opt.
8.04 LTS, 10.04 LTS, 10.10, 11.04, 11.10, 12.04 LTS, 12.10 Debian based systems see note 2
Note 1: The TSM client version 6.2 will not run on Red Hat Enterprise Linux 4 or on version 4 of distributions based on RHEL4. However you can still follow these installation instructions which will result in the 6.1 client being installed on these Linux versions. Note 2: We have had reports of problems with TSM on the latest versions of Fedora (Fedora 18) and Ubuntu (Ubuntu 13.04): the TSM installer does not complete, and TSM cannot be run. The problem does not occur on all installations of Fedora 18 or Ubuntu 13.04 and we have as yet been unable to reproduce it on a test system. Nonetheless at the moment we cannot guarantee that you can run TSM on these Linux versions. We will continue to investigate the problem.
3.3. Installation
3.3.1. Debian based distributions (e.g. Debian, Ubuntu)
3.3.1.1. Setting up the repository Download the ox-hfs-repo package from ftp://ftp.hfs.ox.ac.uk/repo/apt/deb/ox-hfs-repo.deb. If you download this using a browser you may be prompted to install it. You can do it this way if you wish (the details will vary from one distribution to another). Alternatively save the file somewhere, open a command shell, change to the directory where you saved the file, and run (as root or prefixed with sudo).
dpkg -i ox-hfs-repo.deb
3.3.1.2. Installing the TSM client You can now install the TSM client using apt: 1. 2. 3. 4. 5. Make sure the universe repository is enabled in /etc/apt/sources.list Update your list of packages with apt-get update To install the full TSM client including GUI support do apt-get install tsm-client Alternatively to install the command line only TSM client do apt-get install tsm-client-base The selected package as well as some packages it depends on (including gskcrypt32 and gskssl32 for TSM 6.2 or gskcrypt64 and gskssl64 for TSM 6.3) will be installed. For new installs you will be prompted for your TSM nodename and password and will be asked whether you want to run scheduled backups.
It is also possible to install the TSM client with GUI tools. However the details vary between distributions so are not covered here. 3.3.1.3. Upgrading the TSM client If you are upgrading from TSM 6.1, 5.5 or 5.4 first install the ox-hfs-repo package as described above. Usually the TSM client will be updated alongside all your other software updates. If you want to upgrade just the TSM client run the following two commands (as root, or prefixed with sudo):
apt-get update apt-get install tsm-client
or
apt-get update apt-get install tsm-client-base
if you have only the tsm-client-base package installed. If your upgraded configuration is not working and you would like to start with a fresh configuration then run:
dpkg-reconfigure tsm-client-base
This will ignore your old configuration files and prompt you for your Nodename and Password, and whether you want to run scheduled backups. If the update was successful, you can continue to use the TSM client as previously. Your scheduled backups should also continue to function as previously.
3.3.2. Red Hat based distributions (e.g. Red Hat Enterprise Linux, Fedora, CentOS, Scientific Linux)
3.3.2.1. Setting up the repository Download the ox-hfs-repo package from ftp://ftp.hfs.ox.ac.uk/repo/rpm/ox-hfs-repo.rpm. If you download this using a browser you may be prompted to install it. You can do it this way if
2 of 12
5/21/2013 1:40 PM
http://www.oucs.ox.ac.uk/hfs/clients/supported/linux/index.xml?splitLevel=-1
you wish (the details will vary from one distribution to another). Alternatively save the file somewhere, open a command shell, change to the directory where you saved the file, and as root run
rpm -i ox-hfs-repo.rpm
3.3.2.2. Installing the TSM client You can now install the TSM client using yum: 1. 2. 3. 4. 5. Make sure you are logged in as root To install the full TSM client including GUI support do yum install tsm-client Alternatively to install the command line only TSM client do yum install tsm-client-base The selected package as well as some packages it depends on (including gskcrypt32 and gskssl32 for TSM 6.2 or gskcrypt64 and gskssl64 for TSM 6.3) will be installed. Run /opt/tivoli/tsm/client/ba/bin/HFSsetup.sh. This will prompt for a Nodename, Password, and whether to start the scheduler.
It is also possible to install the TSM client with GUI tools. However you will still need to run /opt/tivoli/tsm/client/ba/bin/HFSsetup.sh as root after installation. 3.3.2.3. Upgrading the client If you are upgrading from TSM 6.1, 5.5 or 5.4 first install the ox-hfs-repo package as described above. Usually the TSM client will be updated alongside all your other software updates. If you want to upgrade just the TSM client run the following commands as root:
yum update tsm-client
or
yum update tsm-client-base
if you have only the tsm-client-base package installed. If your upgraded configuration is not working and you would like to start with a fresh configuration then run:
/opt/tivoli/tsm/client/ba/bin/HFSsetup.sh reconfigure
This will ignore your old configuration files and prompt you for your Nodename and Password, and whether you want to run scheduled backups. If the update was successful, you can continue to use the TSM client as previously. Your scheduled backups should also continue to function as previously.
3.3.3.2. Installing the TSM client You can now install the TSM client using zypper: 1. 2. 3. 4. 5. Make sure you are logged in as root To install the full TSM client including GUI support do zypper install tsm-client Alternatively to install the command line only TSM client do zypper install tsm-client-base The selected package as well as some packages it depends on (including gskcrypt32 and gskssl32 for TSM 6.2 or gskcrypt64 and gskssl64 for TSM 6.3) will be installed. Run /opt/tivoli/tsm/client/ba/bin/HFSsetup.sh. This will prompt for a Nodename, Password, and whether to start the scheduler.
It is also possible to install the TSM client with GUI tools. However the details vary between distributions so are not covered here. You will still need to run /opt/tivoli /tsm/client/ba/bin/HFSsetup.sh as root after installation. 3.3.3.3. Upgrading the client If you are upgrading from TSM 6.1, 5.5 or 5.4 first install the ox-hfs-repo package as described above. Usually the TSM client will be updated alongside all your other software updates. However, because of the change from 32-bit to 64-bit software you will not be automatically updated to 6.3 from an earlier version. In this case, or if you want to just install the TSM client and not other packages, run the following commands as root:
zypper update tsm-client tsm-client-base
or
zypper update tsm-client-base
if you have only the tsm-client-base package installed. If your upgraded configuration is not working and you would like to start with a fresh configuration then run:
/opt/tivoli/tsm/client/ba/bin/HFSsetup.sh reconfigure
This will ignore your old configuration files and prompt you for your Nodename and Password, and whether you want to run scheduled backups. If the update was successful, you can continue to use the TSM client as previously. Your scheduled backups should also continue to function as previously.
3 of 12
5/21/2013 1:40 PM
http://www.oucs.ox.ac.uk/hfs/clients/supported/linux/index.xml?splitLevel=-1
install properly. Instead you must save the file somewhere, open a command shell, change to the directory where you saved the file, and run as root
rpm -i ox-hfs-repo.rpm
3.3.4.2. Installing the TSM client You can now install the TSM client using urpmi: 1. 2. 3. 4. 5. Make sure you are logged in as root To install the full TSM client including GUI support do urpmi tsm-client Alternatively to install the command line only TSM client do urpmi tsm-client-base The selected package as well as some packages it depends on (including gskcrypt32 and gskssl32 for TSM 6.2 or gskcrypt64 and gskssl64 for TSM 6.3) will be installed. Run /opt/tivoli/tsm/client/ba/bin/HFSsetup.sh. This will prompt for a Nodename, Password, and whether to start the scheduler.
It is also possible to install the TSM client with GUI tools. However the details vary between distributions so are not covered here. You will still need to run /opt/tivoli /tsm/client/ba/bin/HFSsetup.sh as root after installation. 3.3.4.3. Upgrading the client If you are upgrading from TSM 6.1, 5.5 or 5.4 first install the ox-hfs-repo package as described above. Usually the TSM client will be updated alongside all your other software updates. However, because of the change from 32-bit to 64-bit software you will not be automatically updated to 6.3 from an earlier version. In this case, you must first uninstall the old version:
urpme tsm-client tsm-client-base gskcrypt64 gskssl64
if upgrading frome earlier versions. Then install the latest TSM client as described above. If you want to just install the TSM client and not other packages, run the following commands as root:
urpmi tsm-client
or
urpmi tsm-client-base
if you have only the tsm-client-base package installed. If your upgraded configuration is not working and you would like to start with a fresh configuration then run:
/opt/tivoli/tsm/client/ba/bin/HFSsetup.sh reconfigure
This will ignore your old configuration files and prompt you for your Nodename and Password, and whether you want to run scheduled backups. If the update was successful, you can continue to use the TSM client as previously. Your scheduled backups should also continue to function as previously.
Download all the RPM files from ftp://ftp.hfs.ox.ac.uk/repo/rpm/ for 64-bit Linux or from from ftp://ftp.hfs.ox.ac.uk/repo/62/rpm/ for 32-bit Linux For 64-bit Linux install all the downloaded packages with
rpm -i ox-hfs-repo.rpm tsm-client-6.4.0.7-2.x86_64.rpm tsm-client-base-6.4.0.7-2.x86_64.rpm gskcrypt64-8.0-14.14.x86_64.rpm gskssl64-8.0-14.14.x86_64.rpm
If this complains about missing dependencies (for example compat-libstdc++-33) you will need to find and install those packages for your distribution. If the dependent libraries are actually installed you can try using the --nodeps switch to install ignoring dependencies. If you can't meet dependencies for the tsm-client package try omitting that - you may still be able to install the command line only package. (Note that the ox-hfs-repo package is installed even though you can't use a repository as as it is a dependency of the tsm-client-base package). To automatically configure the client run: /opt/tivoli/tsm/client/ba/bin/HFSsetup.sh. This will prompt for a Nodename, Password, and whether to start the scheduler. 3.3.5.2. Upgrading Follow the instructions above for installation only use rpm -U option in place of rpm -i, that is for 64-bit clients
rpm -U ox-hfs-repo.rpm tsm-client-6.4.0.7-2.x86_64.rpm tsm-client-base-6.4.0.7-2.x86_64.rpm gskcrypt64-8.0-14.14.x86_64.rpm gskssl64-8.0-14.14.x86_64.rpm
4 of 12
5/21/2013 1:40 PM
http://www.oucs.ox.ac.uk/hfs/clients/supported/linux/index.xml?splitLevel=-1
If the update was successful, you can continue to use the TSM client as previously. Your scheduled backups should also continue to function as previously. However, if your configuration is not working after the upgrade and you would like to start with a fresh configuration then run:
/opt/tivoli/tsm/client/ba/bin/HFSsetup.sh reconfigure
Then follow the installation instructions. This will ignore your old configuration files and prompt you for your Nodename and Password, and whether you want to run scheduled backups.
3.3.6.2. Installing the TSM client (32-bit systems) Download the gzipped tar file from ftp://ftp.hfs.ox.ac.uk/repo/62/tar/tsm-client-6.2.5.0-3.tgz Install the software by untarring the file from the root directory. After the TSM software has been unpacked, to automatically configure the client run: /opt/tivoli/tsm/client/ba/bin/HFSsetup.sh. This will prompt for a Nodename and Password, and whether you want to run scheduled backups. (If you are using a system with a startup script system significantly different to that used on Debian and Redhat systems, e.g. Gentoo, you may have to manually configure the scheduler to start). For example:
cd /tmp wget ftp://ftp.hfs.ox.ac.uk/repo/tar/tsm-client-6.2.5.0-3.tgz cd / su tar -xhzf /tmp/tsm-client-6.2.5.0-3.tgz /opt/tivoli/tsm/client/ba/bin/HFSsetup.sh
3.3.6.3. Upgrading the TSM client. Save the files dsm.opt, dsm.sys, incl.excl and dsmsched.rc (if they exist) to a safe area. Remove the /opt/tivoli directory tree. Download the tar file and untar as for a fresh installation. Copy back the files you saved earlier (dsm.opt, dsm.sys, etc) back to /opt/tivoli/tsm/client/ba/bin/ Run the /opt/tivoli/tsm/client/ba/bin/HFSsetup.sh script, which will upgrade the existing configuration. If the update was successful, you can continue to use the TSM client as previously. Your scheduled backups should also continue to function as previously.
5. Configuration
TSM needs two configuration files: dsm.sys dsm.opt Example versions of these files are installed in the installation directory /opt/tivoli/tsm/client/ba/bin/ and they are dsm.opt.example and dsm.sys.example (or dsm.opt.oucs and dsm.sys.oucs in older package versions. In older versions there was an incl.excl where the include and exclude statements were placed. The installation process should configure these files for you, but if you feel the need to edit them yourself you may find helpful our page on manually configuring TSM for Linux/Unix.
5 of 12
5/21/2013 1:40 PM
http://www.oucs.ox.ac.uk/hfs/clients/supported/linux/index.xml?splitLevel=-1
VirtualMountPoint The option VirtualMountPoint can be used to logically partition your filespaces, but more usefully can give basic backup and restore functionality on unsupported filesystems. For more details on the virtualmountpoint option take a look at our page on supported Linux and Unix file systems.
To quit the session, issue quit at the prompt. For further help on includes/excludes see our page on how to exclude files and folders from backup.
For more in depth usage of the CLI, see Using the TSM Client Command Line Interface for Backup & Restore
6 of 12
5/21/2013 1:40 PM
http://www.oucs.ox.ac.uk/hfs/clients/supported/linux/index.xml?splitLevel=-1
To just back up all local disks, click on the grey box to the left of the icon and the word Local. If you have more data than the daily backup limit you may not want to do this. Scroll down for other examples.
The Local node in the tree has been ticked. Notice the parent node HFS-TEST-OUCS - this name will be replaced with your TSM nodename.
7 of 12
5/21/2013 1:40 PM
http://www.oucs.ox.ac.uk/hfs/clients/supported/linux/index.xml?splitLevel=-1
It is also possible to see a report of current progress by clicking on Report. If you want to interrupt the backup process, click on the Stop button.
Once the backup process has completed then a message will pop up. It is possible for this to become hidden behind another window.
8 of 12
5/21/2013 1:40 PM
http://www.oucs.ox.ac.uk/hfs/clients/supported/linux/index.xml?splitLevel=-1
To view the individual filesystems click on the small square to the left of the tick box and the word Local. This will expand the tree to display the filesystem partitions.
To select filesystem partitions click on the square grey box to the left of the partition name. In the example below the following partitions have been selected: /, /usr and /var.
9 of 12
5/21/2013 1:40 PM
http://www.oucs.ox.ac.uk/hfs/clients/supported/linux/index.xml?splitLevel=-1
To back up the files click on Backup. You may want to follow the screenshots above in 6.3. Back up Local Filesystems .
You may have noticed the red circle over /tmp/. This means that it has been excluded in dsm.sys. If you click on a directory or icon (in the example below bin has been selected) then the files will be displayed in the right hand pane.
10 of 12
5/21/2013 1:40 PM
http://www.oucs.ox.ac.uk/hfs/clients/supported/linux/index.xml?splitLevel=-1
It is possible to select a particular directory to back up. In this example it is /bin/. Notice that I have clicked on the check box and then clicked on the folder icon or directory name (bin) to show what is inside the directory as above.
To back up the files click on Backup. You may want to follow the screenshots above in 6.3. Back up Local Filesystems .
To back up the files click on Backup. You may want to follow the screenshots above in 6.3. Back up Local Filesystems . To cancel any individual selection, click the selector box to toggle it off. To cancel all your selections first select the parent folder icon in the left hand pane, then choose the [Deselect Items] option from the [Edit] menu.
7. Troubleshooting
7.1. On installation error ANS1357S
During the installation you may see some installation output similar to the following:
Attempting to find server... TCP probing dsmb1.ox.ac.uk 1500 ... success. Contacting TSM server: OX_HFS_B1 Attempting to store password... Attempting to connect to TSM server... connect_test() ERROR: ANS1357S. The post install script does not understand this error. Please report it to hfs@oucs.ox.ac.uk. ...
The error message ANS1357S means "Session rejected: Downlevel client code version". This message may arise if a TSM account is used first with the Windows TSM software and then afterwards with the Linux version of TSM. If this is the case then it is best practice to use separate TSM accounts for the separate operating systems.
11 of 12
5/21/2013 1:40 PM
http://www.oucs.ox.ac.uk/hfs/clients/supported/linux/index.xml?splitLevel=-1
dpkg-reconfigure tsm-client-base
8. Further Help
Sources of further help include: If you have a query about the operation of the GUI, click on the Help button or press F1. To access help in the command line client just press h at the tsm> prompt. If you have a query about options in the configuration files dsm.sys and dsm.opt, then please see the further instructions that appear as comments at the top of each file. If you have a problem or query check first the help pages to see if it is answered there. If your query is still unresolved, then contact hfs@ox.ac.uk with as much detail as possible, including copies of the files dsm.sys, dsm.opt, dsmerror.log and, if the query relates to scheduled backup, the dsmsched.log and dsmwebcl.log files. If you have specific installation problems then email hfs@ox.ac.uk with /opt/tivoli/tsm/client/ba/bin/tsm-install.log. This describes what the post installation scripts have attempted to do and highlight any problems. It may also be required to email the following files: dsm.sys and dsm.opt. About | Contact | Privacy | Cookies | Feedback | Accessibility | University of Oxford. IT Services documents are available in alternative formats through advance request from the Help Centre. Written by OUCS, OUCS. Latest revision Fri, 17 May 2013 [Change Page Style: Simple text | Printable version | Normal ]
12 of 12
5/21/2013 1:40 PM