ADSM-L

Re: [ADSM-L] TSM on Linux Box

2015-01-23 13:07:50
Subject: Re: [ADSM-L] TSM on Linux Box
From: Jeanne Bruno <JBruno AT CENHUD DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Fri, 23 Jan 2015 18:03:58 +0000
Yes, I saw the 'upstart' you sent yesterday.  I found out have mixed bag of our 
RHEL.  Our newer servers are 6.5 though. 
Is that the script were a 'respawn' command is needed?
I found one online, but if you have a sample script you can send me, that would 
be great.


-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of 
Erwann SIMON
Sent: Friday, January 23, 2015 12:55 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: [ADSM-L] TSM on Linux Box

Hello,

It won't change anything since /etc/inittab is not processesed anymore (on RHEL 
6+ witch used upstart). See links to Red Hat documentation I provided earlier 
or man 5 inittab.

I can send you a sample init script (to be placed in /etc/init/) if you want to 
start dsmc sched.

-- 
Best regards / Cordialement / مع تحياتي
Erwann SIMON

----- Mail original -----
De: "Jeanne Bruno" <JBruno AT CENHUD DOT COM>
À: ADSM-L AT VM.MARIST DOT EDU
Envoyé: Vendredi 23 Janvier 2015 18:31:14
Objet: Re: [ADSM-L] TSM on Linux Box

Hello.  Well, after checking the steps for Traditional method on page 235, the 
difference we had was on the entry in the inittab file.



Book:

tsmsched::once:/usr/bin/dsmc sched > /dev/null 2>&1 # TSM scheduler



Ours:

"item::once:/usr/bin/dsmc sched > /dev/null 2>&1 # TSM scheduler"



1.        Are the quotes assumed?

2.       Any difference by using the word ‘item’?





-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of 
Prather, Wanda
Sent: Thursday, January 22, 2015 11:24 AM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: [ADSM-L] TSM on Linux Box



On Linux I always just set it up with dsmcad; all my customers run dsmcad 
anyway because so few of them have XWindows environments, and so they use the 
dsmcad webclient for GUI access.



On Windows I still tend to use the old scheduler-only mode, as most of my 
customers had rather just RDP into the server because it's faster and you don’t 
get hung up with java issues on Windows with the browser.



So I guess that's a way of saying I do whichever the customer prefers!



Wanda







-----Original Message-----

From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of 
Erwann SIMON

Sent: Thursday, January 22, 2015 11:17 AM

To: ADSM-L AT VM.MARIST DOT EDU<mailto:ADSM-L AT VM.MARIST DOT EDU>

Subject: Re: [ADSM-L] TSM on Linux Box



I'm used to associate the scheduler with the dsmcad. Which mode do you prefer ?



--

Best regards / Cordialement / مع تحياتي

Erwann SIMON



----- Mail original -----

De: "Wanda Prather" <Wanda.Prather AT ICFI DOT COM<mailto:Wanda.Prather AT ICFI 
DOT COM>>

À: ADSM-L AT VM.MARIST DOT EDU<mailto:ADSM-L AT VM.MARIST DOT EDU>

Envoyé: Jeudi 22 Janvier 2015 17:11:48

Objet: Re: [ADSM-L] TSM on Linux Box



Missed that point!

Thanks!



-----Original Message-----

From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of 
Erwann SIMON

Sent: Thursday, January 22, 2015 10:57 AM

To: ADSM-L AT VM.MARIST DOT EDU<mailto:ADSM-L AT VM.MARIST DOT EDU>

Subject: Re: [ADSM-L] TSM on Linux Box



Hello Wanda,



Please note that Jeanne seems to use the TSM Scheduler in the "traditional 
autonomous" mode, not in "CAD managed" mode.

The script provided with the client package begining with TSM 6.3 only allows 
to start the dsmcad, and not "dsmc sched".



A news script must be written, or the managedservices option must be change to 
include schedule also.





--

Best regards / Cordialement / مع تحياتي

Erwann SIMON



----- Mail original -----

De: "Wanda Prather" <Wanda.Prather AT ICFI DOT COM<mailto:Wanda.Prather AT ICFI 
DOT COM>>

À: ADSM-L AT VM.MARIST DOT EDU<mailto:ADSM-L AT VM.MARIST DOT EDU>

Envoyé: Jeudi 22 Janvier 2015 16:05:06

Objet: Re: [ADSM-L] TSM on Linux Box



It's not the redhat book, it's just the TSM client  book for Unix.  I'll mail 
you a copy directly.

And those are all the instructions!



The client install *should* have created everything you need.



Once you have set up the dsm.sys so that you can successfully run dsmc i, try 
doing this (as root):



chkconfig  --add dsmcad  (that's a space and 2 hyphens) service dsmcad start



Then do:  ps -ef | grep dsm



You should see the dsmcad daemon running, and it should restart after a reboot.





Wanda Prather

TSM Consultant

ICF International Enterprise and Cybersecurity Systems Division













-----Original Message-----

From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of 
Jeanne Bruno

Sent: Thursday, January 22, 2015 8:29 AM

To: ADSM-L AT VM.MARIST DOT EDU<mailto:ADSM-L AT VM.MARIST DOT EDU>

Subject: Re: [ADSM-L] TSM on Linux Box



Thanks.  We are only at v 6.4.1 for linux right now.

But I will find the redhat book for 6.4.1 and see there in instructions for the 
auto startup.





-----Original Message-----

From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of 
Prather, Wanda

Sent: Wednesday, January 21, 2015 5:53 PM

To: ADSM-L AT VM.MARIST DOT EDU<mailto:ADSM-L AT VM.MARIST DOT EDU>

Subject: Re: [ADSM-L] TSM on Linux Box



Dunno what version of the client you are installing, or what version of Linux?

But the client manual says how to do it on Linux now if it's relatively recent.



All I do on Redhat is follow these instructions from the book below.

I do the :"hkconfig --add dsmcad" (those are 2 hyphens), then "service dsmcad 
start".



<< snip from 7.1.1 book >>

On Linux clients, the installation program creates a startup script for the 
client acceptor daemon (dsmcad) in /etc/init.d. The client acceptor daemon 
(dsmcad) must be started before it can manage scheduler tasks, or manage the 
web client. As root, use the following command to start, stop, or restart the 
daemon, or check its status:

service dsmcad start

                stop

                restart

                status

To enable the Client Acceptor Daemon to start automatically after a system 
restart, add the service as follows, at a shell prompt:

# chkconfig --add dsmcad

<<snip>>





Wanda Prather

TSM Consultant

ICF International Enterprise and Cybersecurity Systems Division







-----Original Message-----

From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of 
Jeanne Bruno

Sent: Wednesday, January 21, 2015 10:30 AM

To: ADSM-L AT VM.MARIST DOT EDU<mailto:ADSM-L AT VM.MARIST DOT EDU>

Subject: [ADSM-L] TSM on Linux Box



Hello.  On a windows box, when installing TSM, there's the option towards the 
end of the client install to choose whether you want the TSM server to start up 
automatically when the client server (node) has been restarted.

How do I do this on a linux box?  I thought if I put:

"item::once: /usr/bin/dsmc sched > /dev/null 2>&1 # TSM scheduler"

in the etc/inittab file, this was the auto startup.



But this does not auto start the 'dsmc schedule', because the node missed the 
backup and I have to manually do the 'nohup' command.



I'm not seeing anything on the GUI and I don't know if I need anything 
additional in the .opt or .sys file.

I have 'managedservices  webclient' currently in the .sys file.



In this link:  
https://urldefense.proofpoint.com/v2/url?u=http-3A__kb.mit.edu_confluence_display_istcontrib_TSM-2B6-2Bfor-2BLinux-2B-2D-2BInstall-2C-2BConfigure-2C-2BSet-2BUp-2C-2Band-2BConfirm-2Bthe-2BScheduler&d=AwIFAg&c=BY0WRPt8vrhqs_gNwjcMsqT0O3k78MJMGj95ah0eDEA&r=7l_gtgCLb17w6YLNyl5xk2NLH8XcWIQUFrWhANDp1mE&m=7jle81k8NcMseFKXenq1iad-MMDOzObZDCjFHcc1Zcs&s=Hew1At-2H4Pku2TnCueQs4CRN9mx8L6HhAquwJirGu8&e=

It mentions that using the /etc/inittabl to autostart doesn't seem to work any 
more and it suggests to create a /etc/init/dsm-sched.conf file with some 
start,stop,respawn and exec options.



Any thoughts, knowledge, comments will be appreciated.



Thanks!



____________________

Jeannie Bruno

Senior Systems Analyst

jbruno AT cenhud DOT com<mailto:jbruno AT cenhud DOT com<mailto:jbruno AT 
cenhud DOT com%3cmailto:jbruno AT cenhud DOT com>>

Central Hudson Gas & Electric

(845) 486-5780
<Prev in Thread] Current Thread [Next in Thread>