Linux deployment fails with SSH failed to install dmprimer
search cancel

Linux deployment fails with SSH failed to install dmprimer

book

Article ID: 279154

calendar_today

Updated On: 02-12-2024

Products

CA Client Automation - IT Client Manager CA Client Automation

Issue/Introduction

Using deployment wizard when trying to install Agent on Linux following error appears :

SSH failed to install dmprimer.

In TRC_CF_DMDEPLOY*.log in DETAIL level :

DMDeploy  |DmDeploy|Cssh2connection.cpp |000752|DETAIL | /tmp/dmprimer/setupdmp -r /tmp/dmprimer/install.rsp /RITCM_FIPS_MODE=1
DMDeploy  |DmDeploy|Cssh2connection.cpp |000816|DETAIL | Received SSH_MSG_CHANNEL_REQUEST msg. Install command failure!
DMDeploy  |DmDeploy|cssh2transport.cpp  |001994|DETAIL | startPrimer: failure from remote: bash: /tmp/dmprimer/setupdmp: Permission denied

Environment

Client Automation 14.5

Cause

In some environment for security reason /tmp is mounted on a partition with noexec option set.
dmprimer installation source files are by default copied under /tmp/dmprimer directory
 
So command line like
/tmp/dmprimer/setupdmp -r /tmp/dmprimer/install.rsp /RITCM_FIPS_MODE=1
is returning access denied error as /tmp partition has noexec settings.

Resolution

Contact Broadcom technical support and ask for fix T437413
This fix delivers the file dmdeploy.exe
 
Size : 487,416 bytes
Modified date : 8 February 2024
Version : 14.5.0.601
 
This file has version 14.5 CU6 but it could be applied on 14.5, 14.5 CU1 to CU6
 
Install the fix on Domain Manager like this :
 
1- Stop dmdeploy plugin
caf stop dmdeploy
 
2- Install the fix
 
3- Execute a command like this to set the new temp directory for dmprimer installation source on Linux machine
 
Example for /opt/dmprimer :
ccnfcmda -cmd setparametervalue -ps itrm/manager/dmdeploy -pn LinuxTempDir -v /opt/dmprimer
 
4- Start dmdeploy
caf start dmdeploy
 
 
Make sure that temp directory already exists on the target Linux machine before doing the deployment.
 
 
During deployment the dmprimer files will be copied under specified directory instead /tmp/dmprimer
 
And command like this is executed :
120224-13:23:45.5487877L|009592|000025dc|DMDeploy  |DmDeploy        |Cssh2connection.cpp |000752|DETAIL | /opt/dmprimer/setupdmp -r /opt/dmprimer/install.rsp /RITCM_FIPS_MODE=1

Additional Information

This patch introduces new configuration parameter called "LinuxTempDIr".

Please set this to an existing directory on the target Linux machine where execute permission is not restricted. Below is the sample command that sets the dmprimer custom location as /opt/dmprimer.
      
ccnfcmda -cmd setparametervalue -ps itrm/manager/dmdeploy -pn LinuxTempDir -v /opt/dmprimer
   
NOTE: Currently, we support this custom location only when the deployment is done via manager but not via scalability server.