1 Reply Latest reply on Jan 11, 2005 4:22 PM by 807573

    the Meta-Admin tool

    807573
      Hello,

      Is it possible to get the status of a Connector View using this tool?

      I have been reading the admin guide and experimenting...

      I can get the number of connector views running Ok.

      I find it impossible to get the status of anything other than the Join-engine.

      Could someone please let me know how to check if a specific CV is up, down or unknown via this tool.
        • 1. Re: the Meta-Admin tool
          807573
          Hi,

          Modify this script accordingly (ports/paths):


          #!/usr/bin/ksh

          # Edit the following variables to reflect your environment

          ADMUSER=admin
          ADMPWD=password
          METAFQDN=yourhost.domain.com
          METAUSER=dWlkPU1ldGFNYW5hZ2VyLG89TmV0c2NhcGVSb290
          METAPWD='bWV0YW1hbmFnZXI='
          METADOMAIN=domain.com

          export ADMUSER ADMPWD METAFQDN METAUSER METAPWD METADOMAIN

          NETSITE_ROOT=/opt/meta
          export NETSITE_ROOT

          cd /opt/meta/bin/meta50/bin

          tmpldif_file=/tmp/ldapcmd.ldif

          echo "SuiteSpotUser: meta" > ${tmpldif_file}
          echo "admin-URL: http://${ADMUSER}:${ADMPWD}@${METAFQDN}:60232" >> ${tmpldif_fil
          e}
          echo "authenticationDetails: simple_base64 ${METAUSER} ${METAPWD}" >> ${tmpldif_
          file}
          echo "configuration: ldap://${METAFQDN}:390/cn%3dutc-$2,%20cn%3dConnectors,cn%3d
          System,%20ou%3d5,%20ou%3dMeta-Directory,%20ou%3dGlobal%20Preferences,%20ou%3d${M
          ETADOMAIN},%20o%3dNetscapeRoot" >> ${tmpldif_file}

          echo "admin-path: utc50-$2/Tasks/$1" >> ${tmpldif_file}
          echo " " >> ${tmpldif_file}
          /opt/meta/bin/meta50/bin/meta-admin < ${tmpldif_file} 2>&1
          /usr/bin/rm ${tmpldif_file}
          exit 0


          Then run with args like:

          ./UTC.ksh read/status CVxxx

          returns:

          NMC_Status: 0
          NMC_ErrInfo: connecting ...
          NMC_ErrInfo: communicating ...
          NMC_Description: <2df84600457022716587@ssds15_mgt>
          up

          Or:

          bash-2.05# ./UTC.ksh read/statistics CVxxx

          Returns:

          NMC_Status: 0
          NMC_ErrInfo: connecting ...
          NMC_ErrInfo: communicating ...
          NMC_Description: <694c2a801a067ba39151@ssds15_mgt>
          NMC_Description: LOGIN WRITE
          NMC_Description: OK
          NMC_Description: STATUS
          1 current manager associations
          3 total number of Directory Connector changes
          3 total number of local to directory changes
          0 total number of directory to local changes
          0 total number of local to directory adds
          0 total number of local to directory add errors
          3 total number of local to directory modifies
          0 total number of local to directory modify errors
          0 total number of local to directory deletes
          0 total number of local to directory delete errors
          0 total number of directory to local adds
          0 total number of directory to local add errors
          0 total number of directory to local modifies
          0 total number of directory to local modify errors
          0 total number of directory to local deletes
          0 total number of directory to local delete errors
          0 average local to directory transaction rate (per second)
          0 average directory to local transaction rate (per second)
          1 total number of Directory Connector tasks
          1 total number of Directory Connector tasks running
          7 total number of manager associations
          0 total number of manager login authentication failures
          1105459597 date/time of last Directory Connector service startup
          NMC_Description: OK
          NMC_Description: LOGOUT

          HTH! Barry.