Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tsm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
infra
ansible-shared
tsm
Commits
b7118f70
Commit
b7118f70
authored
8 years ago
by
Hinrikus Wolf
Browse files
Options
Downloads
Patches
Plain Diff
tsm7: remove stupid ld-config for dsmc, add wrapper-script instead
parent
afb712d5
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
tsm7-client/files/dsmc
+9
-0
9 additions, 0 deletions
tsm7-client/files/dsmc
tsm7-client/files/dsmc.service
+1
-1
1 addition, 1 deletion
tsm7-client/files/dsmc.service
tsm7-client/tasks/main.yml
+9
-2
9 additions, 2 deletions
tsm7-client/tasks/main.yml
with
19 additions
and
3 deletions
tsm7-client/files/dsmc
0 → 100755
+
9
−
0
View file @
b7118f70
#!/bin/bash
export
LD_LIBRARY_PATH
=
"/opt/tivoli/tsm/client/ba/bin:/opt/tivoli/tsm/client/api/bin:/opt/tivoli/tsm/client/api/bin64/:/usr/local/ibm/gsk8/lib/:/usr/local/ibm/gsk8_64/lib64/:"
export
LANG
=
"en_US.utf-8"
export
LC_CTYPE
=
"en_US.utf-8"
exec
/usr/bin/dsmc
$@
This diff is collapsed.
Click to expand it.
tsm7-client/files/dsmc.service
+
1
−
1
View file @
b7118f70
...
...
@@ -3,7 +3,7 @@ Description=Tivoli Storage Manager Sheduler
Documentation
=
https://doc.itc.rwth-aachen.de/display/BURS/Home
[Service]
ExecStart
=
/bin/sh -c "LANG=en_US.utf-8 LC_CTYPE=en_US.utf-8 exec
/usr/bin/dsmc sched
"
ExecStart
=
/usr/bin/
local/
dsmc sched
PIDFile
=
/var/run/dsmcshed.pid
[Install]
...
...
This diff is collapsed.
Click to expand it.
tsm7-client/tasks/main.yml
+
9
−
2
View file @
b7118f70
...
...
@@ -62,9 +62,16 @@
-
packages
-
tsm
-
name
:
ensure special dsmc script is in place
copy
:
src=dsmc dest=/usr/local/bin/dsmc mode=0755 owner=root group=root
notify
:
-
restart tsm service
tags
:
-
tsm
-
config
-
name
:
ensure special ldconfig i
n place
copy
:
src=tsm-ld.so.conf dest
=/etc/ld.so.conf.d/tsm-ld.so.conf
-
name
:
ensure special ldconfig i
s absent
file
:
path
=/etc/ld.so.conf.d/tsm-ld.so.conf
state=absent
notify
:
-
ldconfig tsm
-
restart tsm service
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment