Skip to Main Content
IBM System Storage Ideas Portal


This portal is to open public enhancement requests against IBM System Storage products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Not under consideration
Created by Guest
Created on Feb 22, 2017

rc.dsmcad RC script should be able to stop individual dsmcad processes

TSM for VE datamover server requires multiple dsmcad RC scripts.
The TSM for VE installation manual descripts how to copy the rc.dsmcad script into /etc/init.d and name it something different and how to change the export statements.
The service command is used to stop and start it. However, executing service dsmcad stop will kill all dsmcad processes, not just the intended one. You must remember to restart all the other dsmcad processes. One solution would be to kill by PID value. the function killproc can use the PID value.

Idea priority High
  • Guest
    Reply
    |
    Oct 11, 2018

    We found a bug with the rc.dsmcad_edited. Bug: ${0##*/} as variable for file naming fails in RH6. Not tested in RH7.

    This is due to the fact that when running it as user, everything is fine. When it's run by boot, ${0##*/} become runlevel+filename. Then you get "S95dsmcad-first" as LOCKFILE/PIDFILE name.
    When checking the service with /etc/init.d/dsmcad-first status, is concluded that there are no LOCKFILE/PIDFILE named dsmcad-first. Resulting in the result that the service isn't running (but it is running)

    We edited the file to;
    # Edit these variable according to your environment
    DSMCAD_DIR=/opt/tivoli/tsm/client/ba/bin
    DSMCAD_BIN=$DSMCAD_DIR/dsmcad
    DSM_FILE=dsm_long.opt
    DSMCAD_FILE=dsmcad-long

    export LD_LIBRARY_PATH=$DSMCAD_DIR
    export DSM_CONFIG=$DSMCAD_DIR/$DSM_FILE
    export DSM_DIR=$DSMCAD_DIR
    PIDTMPFILE=/var/run/${DSMCAD_FILE}_tmp.pid
    PIDFILE=/var/run/${DSMCAD_FILE}.pid
    RETVAL=0
    LOCKFILE=/var/lock/subsys/${DSMCAD_FILE}

  • Guest
    Reply
    |
    Mar 21, 2017

    Attachment (Description): Modified rc.dsmcad RC script. Supports multiple dsmcad processes. A service stop command will only kill the specified dsmcad process.

  • Guest
    Reply
    |
    Mar 21, 2017

    If you have multiple dsmcad processes running on a server you are affected by this lack of functionality. If you issue a service dsmcad stop command, you will kill all dsmcad processes running, not just the intended one.

    I have uploaded a modified copy of the rc.dsmcad script for review and use. It is unsupported.

  • Guest
    Reply
    |
    Mar 20, 2017

    Another way to do this that would actually make the RC script less complex would be for the dsmcad binary create the PID files at start-up. That way all the RC script has to do is read the file to get the PID and kill the process.
    I will upload a copy of the rc.dsmcad script we modified for our use.

  • Guest
    Reply
    |
    Feb 24, 2017

    This request is a candidate for a future generally available (GA) release. IBM's statements regarding its plans, directions, and intent are subject to change or withdrawal without notice at IBM's sole discretion. IBM will update this request to reflect any changes.