running lmgrd

Discussion in 'Cadence' started by meshgr, Jun 25, 2004.

  1. meshgr

    meshgr Guest

    hi,
    we have a setup of three sun ultra 10 computers. /cadence is mounted
    on all the three. every day in morning when we start we have to run
    lmgrd on all the three systems to start cadence. can anyone tell me a
    way so that we donot have to run lmgrd on each system every time we
    switch-on?


    thanks in advance.
     
    meshgr, Jun 25, 2004
    #1
  2. Normally a startup script is placed in /etc/rc/rc3.d so start lmgrd at
    boot time. This should be described in the Cadence administrators
    documentation.

    I am doing this from home and making this all up so expect an error or
    three in the script
    ----------------
    # /etc/rc/rc3.d/S99cadenceLicenses
    # needs not checked, assumed available in init 3 mode
    # needs /cadence automount complete
    # needs user $CADENCELM to exist

    # making LMBINPATH and the licese file local allows it to work
    # even if network mounts fail. Also cadence would be a local user
    # to avoid dependance on NIS

    # who to run as
    CADENCELM=cadence
    # path to lincese binaries
    LMBINPATH=/cadence/tools.sun4v/bin
    # license file to server
    LMLICFILE=/cadence/licenses/licenseA.dat
    # log file
    LMLOGFILE=/var/logs/cadenceLM.log

    # path to other binaries might be needed if the license
    # file does not specify the full path

    PATH=${LMBINPATH}:$PATH
    export PATH

    # run lmgrd as user cadence, makes logfile owned by cadence
    echo "Starting Cadence License Manager\n"
    su $CADENCELM -c "$LMBINPATH/lmstart -c $LMLICFILE 2>>&1 $LMLOGFILE"
    ---------------

    Lmgrd needs to run only on the actual license server that hosts the
    liceneses. Do you have 3 sets of licenses (3 license files), each
    license set bound to a separate host? That is a strange setup. Normally
    1 machine would be designated as the licenses host and it would serve
    out licenses to many individual machines. When you get more than 3
    users, closer to 10 or more you can get away with fewer licenses than
    end users as not everyone will be working at the same time.

    Also I would look into using a new PC running linux and compare
    simulation times VS the sun ultra 10's. Get a new $100 disc drive put it
    in a spare PC install Linux and Cadence then point it to one of your
    existing license servers. This should allow you to compare operation times.
     
    Richard Griffith, Jun 27, 2004
    #2
  3. meshgr

    meshgr Guest

    Hello Richard,

    thanks a lot, this script is working...........
    license file is something like ..
    #
    #
    SERVER name1 80b0.. 5280
    SERVER name2 80b1.. 5280
    SERVER name3 80b2.. 5280

    #
    #
    --- --- --- -- ---
    /cadence partition is mounted on all the three systems. lmgrd is to be
    run on all three to start cadence. can you suggest why is this so?

    ------------ ------
    after implementing the script given by you lmgrd starts at boot time.

    once again thanks for your prompt help.
    bye
     
    meshgr, Jun 28, 2004
    #3
  4. Because you have elected to have fault tolerant licensing. Fault tolerant
    licensing has three license servers, whereas normal licensing just has a single
    license server.

    Andrew.
     
    Andrew Beckett, Jun 28, 2004
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.