DX Unified Infrastructure Management

 View Only

  • 1.  Unable to configure the Cabi probe on the relay hub

    Posted Oct 01, 2024 05:49 AM
    Edited by Puneeth Kumar M Oct 01, 2024 07:09 AM

    Hi team,

    I'm having trouble setting up the cabi probe on the relay hub. I've gone through all the steps I could think of. Can you let me know how to resolve this issue?

    Please find the below details for your reference.

    Below error for the Debug mode

    Oct 01 02:41:55:504 [main, cabi] ****************[ Starting ]**************** 
    Oct 01 02:41:55:504 [main, cabi] 23.4.2 
    Oct 01 02:41:55:504 [main, cabi] CA 
    Oct 01 02:41:55:520 [main, cabi] port=48012 
    Oct 01 02:41:55:848 [main, cabi] Login to NimBUS is OK 
    Oct 01 02:41:55:848 [main, cabi] have set the configFolderPath=C:\Program Files (x86)\Nimsoft\probes\service\cabi\config 
    Oct 01 02:41:56:926 [main, cabi] cabi_mode is 'bundled' 
    Oct 01 02:41:56:926 [main, cabi] lastCabiInstallStatus=4 
    Oct 01 02:41:56:926 [main, cabi] lastCabiMode= 
    Oct 01 02:41:56:926 [main, cabi] lastCabiMode=, cabimode=bundled 
    Oct 01 02:41:56:926 [main, cabi] Running installation sequence since this is either a fresh install or an upgrade 
    Oct 01 02:41:57:848 [main, cabi] In FileUtils.getFileChecksum 
    Oct 01 02:41:57:848 [main, cabi] local certificate store FileChecksum - 2ebeabeda08c0eba6648ff28cb2e453d 
    Oct 01 02:41:57:910 [main, cabi] ConnectionString=jdbc:sqlserver://xxxxxxx.xx:1433;databaseName=CA_UIM;Language=us_english;Network Library=dbmssocn;Provider=MSOLEDBSQL, server=xxxx.xx.xx, port=1433, username=sa, password=[not displayed for security reasons], databaseName=CA_UIM, normalizedProviderName=sqlserver 
    Oct 01 02:41:57:910 [main, cabi] stdout: Wallet Type: null 
    Oct 01 02:41:57:910 [main, cabi] check lastInstalledUimCabiBundleVersion= 
    Oct 01 02:41:57:910 [main, cabi] read from cfg: lastInstalledUimCabiBundleVersion= 
    Oct 01 02:41:57:926 [main, cabi] uim.cabi.bundle.version: at-least one out of lastVer= or cfgDdmVer=23.4.2-u1 is null or empty, so setting shdUpgrade=true 
    Oct 01 02:41:57:926 [main, cabi] changing probe state from 'INITIALIZING' to 'INSTALLING_CABI' 
    Oct 01 02:41:57:926 [main, cabi] deleting the old cabi extracted dir: nimPath=C:\Program Files (x86)\Nimsoft, dir=cabi 
    Oct 01 02:41:57:926 [main, cabi] dirToDel=C:\Program Files (x86)\Nimsoft\c 
    Oct 01 02:41:57:926 [main, cabi] deleting directory: C:\Program Files (x86)\Nimsoft\c ...  
    Oct 01 02:42:01:457 [main, cabi] ... done with deleting directory: C:\Program Files (x86)\Nimsoft\c 
    Oct 01 02:42:01:457 [main, cabi] extracting cabi installer ... 
    Oct 01 02:43:49:847 [main, cabi] successfully extracted cabi installer at nimPath=C:\Program Files (x86)\Nimsoft [time taken=1 minute(s) 48 second(s) (108390 ms)] 
    Oct 01 02:43:49:847 [main, cabi] changing probe state from 'INSTALLING_CABI' to 'STOPPING_WASP' 
    Oct 01 02:43:49:847 [main, cabi] deactivating wasp... 
    Oct 01 02:43:49:863 [main, cabi] waiting for wasp to stop ... 
    Oct 01 02:43:49:863 [main, cabi] Wasp status active=true 
    Oct 01 02:44:04:863 [main, cabi] Wasp status active=false 
    Oct 01 02:44:04:863 [main, cabi] wasp has stopped  [time taken=0 minute(s) 15 second(s) (15000 ms)] 
    Oct 01 02:44:04:863 [main, cabi] changing probe state from 'STOPPING_WASP' to 'INSTALLING_CABI' 
    Oct 01 02:44:04:863 [main, cabi] Request to probe "/WIN-BTMKCFHDMGI_domain/kyn-cabi-01/kyn-cabi-01/data_engine" callback get_connection_string was successful. 
    Oct 01 02:44:05:816 [main, cabi] In FileUtils.getFileChecksum 
    Oct 01 02:44:05:816 [main, cabi] local certificate store FileChecksum - 2ebeabeda08c0eba6648ff28cb2e453d 
    Oct 01 02:44:05:831 [main, cabi] Resulting parsed connection data is: DatabaseConnectionInfo [databaseName=CA_UIM, databaseServer=1xxxxxxxx, dbProvider=MSOLEDBSQL, nisJdbcUsername=sa, nisJdbcPassword={not_shown_for_security_reasons}, nisJdbcUrl=jdbc:sqlserver://;serverName=xxxxxxxx;databaseName=CA_UIM;applicationName=cabi;Network Library=dbmssocn;Language=us_english] 
    Oct 01 02:44:05:831 [main, cabi] tlsEnabled: false 
    Oct 01 02:44:05:831 [main, cabi] begin: checkIfTableExists() for table: jidashboardmodel 
    Oct 01 02:44:06:238 [main, cabi] end: checkIfTableExists() jidashboardmodel : true 
    Oct 01 02:44:06:238 [main, cabi] begin: checkIfTableExists() for table: jiaccessevent 
    Oct 01 02:44:06:347 [main, cabi] end: checkIfTableExists() jiaccessevent : false 
    Oct 01 02:44:06:347 [main, cabi] begin: checkIfTableExists() for table: JIACCESSEVENT 
    Oct 01 02:44:06:378 [main, cabi] end: checkIfTableExists() JIACCESSEVENT : false 
    Oct 01 02:44:06:394 [main, cabi] Results of check for existing JasperServer tables: isJIDashboardTblPresent=true isJIAccessEventTblPresent=false 
    Oct 01 02:44:08:488 [main, cabi] activating wasp... 
    Oct 01 02:44:08:503 [main, cabi] ... activated wasp  [time taken=0 minute(s) 0 second(s) (15 ms)] 
    Oct 01 02:44:08:503 [main, cabi] java.lang.NullPointerException 
    Oct 01 02:44:08:503 [main, cabi] setting the lastInstallStatus=4 
    Oct 01 02:44:08:519 [main, cabi] successfully set the lastInstallStatus=4 
    Oct 01 02:44:08:519 [main, cabi] srcFilePath=C:\Program Files (x86)\Nimsoft\probes\service\cabi\cabi.log, srcFilePath.exists=true, tgtFilePath=C:\Program Files (x86)\Nimsoft\probes\service\cabi\cabi_install_archive.log, tgtFilePath.exists=true 
    Oct  1 02:44:09:769 [8860] Controller: Probe 'cabi' (command = <startup java>) returns no-restart code (42) 

    below error for trace mode.

    Oct 01 02:58:11:543 [main, cabi] ****************[ Starting ]**************** 
    Oct 01 02:58:11:543 [main, cabi] 23.4.2 
    Oct 01 02:58:11:543 [main, cabi] CA 
    Oct 01 02:58:11:543 [main, cabi] port=48012 
    Oct 01 02:58:11:856 [main, cabi] Login to NimBUS is OK 
    Oct 01 02:58:11:856 [main, cabi] have set the configFolderPath=C:\Program Files (x86)\Nimsoft\probes\service\cabi\config 
    Oct 01 02:58:13:574 [main, cabi] cabi_mode is 'bundled' 
    Oct 01 02:58:13:574 [main, cabi] begin isCabiModeConfigurationChanged() 
    Oct 01 02:58:13:574 [main, cabi] lastCabiInstallStatus=4 
    Oct 01 02:58:13:574 [main, cabi] lastCabiMode= 
    Oct 01 02:58:13:574 [main, cabi] lastCabiMode=, cabimode=bundled 
    Oct 01 02:58:13:574 [main, cabi] end isCabiModeConfigurationChanged() return isChanged=true 
    Oct 01 02:58:13:574 [main, cabi] Running installation sequence since this is either a fresh install or an upgrade 
    Oct 01 02:58:13:574 [main, cabi] dataEngine is not explicitly specified so will try to locate the same from the hub hierarchy. 
    Oct 01 02:58:13:715 [main, cabi] dataEngine is not explicitly specified so will try to locate the same from the hub hierarchy. 
    Oct 01 02:58:14:168 [main, cabi] In FileUtils.getFileChecksum 
    Oct 01 02:58:14:168 [main, cabi] local certificate store FileChecksum - 2ebeabeda08c0eba6648ff28cb2e453d 
    Oct 01 02:58:14:231 [main, cabi] ConnectionString=jdbc:sqlserver://xxxxxxxxx:1433;databaseName=CA_UIM;Language=us_english;Network Library=dbmssocn;Provider=MSOLEDBSQL, server=xxxxxxxx, port=1433, username=sa, password=[not displayed for security reasons], databaseName=CA_UIM, normalizedProviderName=sqlserver 
    Oct 01 02:58:14:231 [main, cabi] stdout: Wallet Type: null 
    Oct 01 02:58:14:246 [main, cabi] checking the config file: [C:\Program Files (x86)\Nimsoft\probes\service\cabi\config.zip] [exists: false] 
    Oct 01 02:58:14:246 [main, cabi] begin getLastInstalledUimCabiBundleVersion(config=<not null>) 
    Oct 01 02:58:14:246 [main, cabi] check lastInstalledUimCabiBundleVersion= 
    Oct 01 02:58:14:246 [main, cabi] read from cfg: lastInstalledUimCabiBundleVersion= 
    Oct 01 02:58:14:246 [main, cabi] end getLastInstalledUimCabiBundleVersion(config=<not null>) return lastInstalledUimCabiBundleVersion= 
    Oct 01 02:58:14:246 [main, cabi] begin doesUimCabiBundleNeedsToBeUpgraded(lastVer=, cfgVer=23.4.2-u1) 
    Oct 01 02:58:14:246 [main, cabi] uim.cabi.bundle.version: at-least one out of lastVer= or cfgDdmVer=23.4.2-u1 is null or empty, so setting shdUpgrade=true 
    Oct 01 02:58:14:246 [main, cabi] end doesUimCabiBundleNeedsToBeUpgraded(lastVer=, cfgVer=23.4.2-u1) return shdUpgrade=true 
    Oct 01 02:58:14:246 [main, cabi] changing probe state from 'INITIALIZING' to 'INSTALLING_CABI' 
    Oct 01 02:58:14:246 [main, cabi] deleting the old cabi extracted dir: nimPath=C:\Program Files (x86)\Nimsoft, dir=cabi 
    Oct 01 02:58:14:246 [main, cabi] begin deleteDirIfPresent(pathPrefix=C:\Program Files (x86)\Nimsoft, dir=c) 
    Oct 01 02:58:14:246 [main, cabi] dirToDel=C:\Program Files (x86)\Nimsoft\c 
    Oct 01 02:58:14:246 [main, cabi] deleting directory: C:\Program Files (x86)\Nimsoft\c ...  
    Oct 01 02:58:17:762 [main, cabi] ... done with deleting directory: C:\Program Files (x86)\Nimsoft\c 
    Oct 01 02:58:17:762 [main, cabi] end deleteDirIfPresent(pathPrefix=C:\Program Files (x86)\Nimsoft, dir=c) return isDeleted=true 
    Oct 01 02:58:17:762 [main, cabi] extracting cabi installer ... 
    Oct 01 03:00:11:480 [main, cabi] successfully extracted cabi installer at nimPath=C:\Program Files (x86)\Nimsoft [time taken=1 minute(s) 53 second(s) (113718 ms)] 
    Oct 01 03:00:11:605 [main, cabi] changing probe state from 'INSTALLING_CABI' to 'STOPPING_WASP' 
    Oct 01 03:00:11:605 [main, cabi] deactivating wasp... 
    Oct 01 03:00:11:605 [main, cabi] waiting for wasp to stop ... 
    Oct 01 03:00:11:761 [main, cabi] Wasp status active=true 
    Oct 01 03:00:26:761 [main, cabi] Wasp status active=false 
    Oct 01 03:00:26:761 [main, cabi] wasp has stopped  [time taken=0 minute(s) 15 second(s) (15141 ms)] 
    Oct 01 03:00:26:761 [main, cabi] changing probe state from 'STOPPING_WASP' to 'INSTALLING_CABI' 
    Oct 01 03:00:26:761 [main, cabi] Request to probe "/WIN-BTMKCFHDMGI_domain/kyn-cabi-01/kyn-cabi-01/data_engine" callback get_connection_string was successful. 
    Oct 01 03:00:27:714 [main, cabi] In FileUtils.getFileChecksum 
    Oct 01 03:00:27:714 [main, cabi] local certificate store FileChecksum - 2ebeabeda08c0eba6648ff28cb2e453d 
    Oct 01 03:00:27:729 [main, cabi] Resulting parsed connection data is: DatabaseConnectionInfo [databaseName=CA_UIM, databaseServer=xxxxxxxxxx, dbProvider=MSOLEDBSQL, nisJdbcUsername=sa, nisJdbcPassword={not_shown_for_security_reasons}, nisJdbcUrl=jdbc:sqlserver://;serverName=xxxxxxxxxx;databaseName=CA_UIM;applicationName=cabi;Network Library=dbmssocn;Language=us_english] 
    Oct 01 03:00:27:729 [main, cabi] tlsEnabled: false 
    Oct 01 03:00:27:729 [main, cabi] begin: checkIfTableExists() for table: jidashboardmodel 
    Oct 01 03:00:27:729 [main, cabi] UimDBUtil normalizedProvideName=sqlserver 
    Oct 01 03:00:28:136 [main, cabi] end: checkIfTableExists() jidashboardmodel : true 
    Oct 01 03:00:28:136 [main, cabi] begin: checkIfTableExists() for table: jiaccessevent 
    Oct 01 03:00:28:136 [main, cabi] UimDBUtil normalizedProvideName=sqlserver 
    Oct 01 03:00:28:183 [main, cabi] end: checkIfTableExists() jiaccessevent : false 
    Oct 01 03:00:28:183 [main, cabi] begin: checkIfTableExists() for table: JIACCESSEVENT 
    Oct 01 03:00:28:183 [main, cabi] UimDBUtil normalizedProvideName=sqlserver 
    Oct 01 03:00:28:229 [main, cabi] end: checkIfTableExists() JIACCESSEVENT : false 
    Oct 01 03:00:28:229 [main, cabi] Results of check for existing JasperServer tables: isJIDashboardTblPresent=true isJIAccessEventTblPresent=false 
    Oct 01 03:00:28:229 [main, cabi] begin doCreateUpgradePropFileRequiredByCABIInstaller(cabiSchemaAlreadyInstalled=true) 
    Oct 01 03:00:28:229 [main, cabi] begin getCabiWebappVersion(cabiWebappDir=C:\Program Files (x86)\Nimsoft\probes\service\wasp\webapps\cabijs) 
    Oct 01 03:00:28:229 [main, cabi] begin getCabiWebappVersion(cabiWebappDir=C:\Program Files (x86)\Nimsoft\probes\service\wasp\webapps\cabijs) return version=null 
    Oct 01 03:00:28:229 [main, cabi] args=PDS [ht={var=Element [buf=null, pds=null, tpds=null, type=7, value=/setup/is_saas], name=Element [buf=null, pds=null, tpds=null, type=7, value=wasp]}] 
    Oct 01 03:00:29:042 [main, cabi] request failed: (4) not found, Received status (4) on response (for sendRcv) for cmd = 'probe_config_get' name = 'wasp' 
    Oct 01 03:00:29:042 [main, cabi] (4) not found, Received status (4) on response (for sendRcv) for cmd = 'probe_config_get' name = 'wasp' 
        at com.nimsoft.nimbus.NimSessionBase.sendRcv(NimSessionBase.java:622) 
        at com.nimsoft.nimbus.NimSessionBase.sendRcv(NimSessionBase.java:573) 
        at com.nimsoft.nimbus.NimClientSession.send(NimClientSession.java:173) 
        at com.nimsoft.nimbus.NimRequest.sendImpersonate(NimRequest.java:264) 
        at com.nimsoft.nimbus.NimRequest.sendImpersonate(NimRequest.java:237) 
        at com.nimsoft.nimbus.NimRequest.send(NimRequest.java:208) 
        at com.ca.cabi4uim.utilities.ProbeUtils.request1(ProbeUtils.java:387) 
        at com.ca.cabi4uim.utilities.ProbeUtils.request(ProbeUtils.java:395) 
        at com.ca.cabi4uim.utilities.ProbeUtils.waspConfigGet(ProbeUtils.java:238) 
        at com.ca.cabi4uim.utilities.ProbeUtils.waspConfigGetAndHandleKeyNotFoundCondition(ProbeUtils.java:668) 
        at com.ca.cabi4uim.utilities.ProbeUtils.isWaspSaaS(ProbeUtils.java:636) 
        at com.ca.cabi4uim.Probe.setupcabi(Probe.java:371) 
    Oct 01 03:00:30:745 [main, cabi] request failed: (4) not found, Received status (4) on response (for sendRcv) for cmd = 'probe_config_get' name = 'wasp' 
    Oct 01 03:00:30:745 [main, cabi] (4) not found, Received status (4) on response (for sendRcv) for cmd = 'probe_config_get' name = 'wasp' 
    Oct  1 03:00:32:136 [8860] Controller: Probe 'cabi' (command = <startup java>) returns no-restart code (42) 



  • 2.  RE: Unable to configure the Cabi probe on the relay hub

    Posted Oct 02, 2024 03:47 AM

    Hello,

    What do you mean by installing on the relay hub?

    According to the documentation, cabi probe can be installed on:

    • You can deploy CABI 23.4.0 and Operator Console on the same robot
    • A dedicated robot on the primary hub if a robot without Operator Console does not exist

    Link to documentation

    What can you find in the wasp log file?

    You can check the following articles:

    cabi 8.00 install fails with Max, restarts reached for probe 'wasp' (broadcom.com)

    Post upgrade to UIM 20.4 cabi v7.50 probe throws no-restart code (42) error (broadcom.com)

    Unable to install bundled cabi 4.1: Received status (4) on response (for sendRcv) for cmd = 'probe_config_get' name = 'wasp' (broadcom.com)

    Marius