HA start/stop scripts do not work in Linux envrionment

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf HA start/stop scripts do not work in Linux envrionment

  • Creator
    Topic
  • #55683
    Xiaochun Tong
    Participant

      We are migrating from v6.0 to v6.2 and moving from AIX to Linux. In the new environment, the /home/hci/.cluster/hci.start script won’t start the application. Here is part of the error message:

      ### Starting the hcihostserver ###

      -bash: setroot: command not found

      -bash: hciss: command not found

      ### HCI Start script complete ###

      Here is part of the hci.start script:

      echo “### Performing start actions for root $HACMP_HCI_ROOT ###”

      echo

      for site in $HACMP_HCI_SITE; do

         nohup $SCRIPTDIR/hci.enginerun $site &

         sleep 1

      done

      # Start the hostserver

      echo

      echo “### Starting the hcihostserver ###”

      echo

      su – hci -c “setroot;hciss -s h”

    Viewing 1 reply thread
    • Author
      Replies
      • #86145
        Peter Heggie
        Participant

          This looks like a very basic, user environment issue. Compare the hci user context between the AIX and LINUX servers.

          First look at the definition in /etc/passwd – what is the default shell?

          Second, issue the ‘set’ command on both servers and look at the differences – it is likely that some variables are not defined correctly.

          Look at the .profile file in the hci home directory – is this file actually being run when hci logs on? Is the hci software folder in the PATH?

          Peter Heggie

        • #86146
          Xiaochun Tong
          Participant

            Changing the /etc/password file to use the shell /bin/ksh instead of /bin/bash did the trick. Thanks!

        Viewing 1 reply thread
        • The forum ‘Cloverleaf’ is closed to new topics and replies.