Skip to Content.
Sympa Menu

unclug - [unclug] Ubuntu and TSM.

unclug AT lists.ibiblio.org

Subject: UNC Linux Users Group

List archive

Chronological Thread  
  • From: "Alan Hoyle" <alanh AT email.unc.edu>
  • To: "UNC Linux Users Group" <unclug AT lists.ibiblio.org>
  • Subject: [unclug] Ubuntu and TSM.
  • Date: Fri, 29 Jun 2007 15:14:08 -0400

I recently built up a linux box using Ubuntu and discovered that it's
not hard to set it up to use the TSM backup client. Assuming you have
a passing familiarity with setting up TSM on RPM-based distributions,
here are the basic steps:

1. Install the "alien" package which lets you (among other things)
install RPM packages on Ubuntu or other Debian-based distros.

$ sudo apt-get install alien

2. download the TSM client software from IBM

3. untar the TSM RPMs...

4. Use alien to install the appropriate RPMs.
$ sudo alien -i --scripts TIVsm-API.i386.rpm TIVsm-BA.i386.rpm

5. Set up the normal TSM stuff (dsm.opt/dsm.sys/inclexcl.dsm).

6. Run a manual backup.

$ sudo dsmc incremental

7. open ports 1500 and 1501 to the backup server in your firewall.

8. Instead of creating an inittab, use Upstart and create a
/etc/event.d/dsm file containing:

--------------------------------- /etc/event.d/dsm
---------------------------------
# dsm
#
# This service starts the Tivoli Storage Manager "dsmc sched" backup process
# and respawns it as the scheduled happens.

start on runlevel-2
start on runlevel-3
start on runlevel-4
start on runlevel-5

stop on runlevel 0
stop on runlevel 1
stop on runlevel 6

respawn
exec /usr/bin/dsmc sched >/dev/null 2>&1
--------------------------------- end /etc/event.d/dsm
---------------------------------

9. Start the dsmc sched process

$ sudo start dsm

10. Check to see if the /var/log/dsmsched.log is correct.

$ tail /var/log/dsmsched.log

06/29/07 13:33:13 --- SCHEDULEREC QUERY END
06/29/07 13:33:13 Next operation scheduled:
06/29/07 13:33:13
------------------------------------------------------------
06/29/07 13:33:13 Schedule Name: AM0230
06/29/07 13:33:13 Action: Incremental
06/29/07 13:33:13 Objects:
06/29/07 13:33:13 Options:
06/29/07 13:33:13 Server Window Start: 02:30:00 on 06/30/07
06/29/07 13:33:13
------------------------------------------------------------
06/29/07 13:33:13 Waiting to be contacted by the server.



--
Alan Hoyle - alanh AT unc.edu - http://www.alanhoyle.com/
"I don't want the world, I just want your half." -TMBG
Get Horizontal, Play Ultimate.




Archive powered by MHonArc 2.6.24.

Top of Page