Error running dr_install.sh using passwordless sudo user on DX Netops 20.2.x Performance Management
search cancel

Error running dr_install.sh using passwordless sudo user on DX Netops 20.2.x Performance Management

book

Article ID: 205317

calendar_today

Updated On:

Products

CA Infrastructure Management CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

 Error:

sudo: sorry, you are not allowed to set the following environment variables: VERT_DBA_USR, VERT_DBA_HOME, VERT_DBA_GRP

Environment

Release : 20.2

Component : IM Reporting / Admin / Configuration

Resolution

Verify the passwordless sudo user is configured per the documentation:

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/performance-management/20-2/installing/prepare-to-install-the-data-repository.html#concept.dita_b9e3cbd8e6bd55644b1ecbac6836f62fd8e55a34_OptionalConfigurethepasswordlessSudoUserAccountforDataRepositoryPasswordlesssudouseraccount 


Specifically the following appears to be related to the error, but you'd want to make sure it is configured per the documentation:

Defaults env_keep +="VERT_DBA_USR VERT_DBA_HOME VERT_DBA_GRP VERT_DBA_DATA_DIR _ENV_VPWD_VAR"

Additionally, this would be good to reference before future upgrades that would require the DR upgrade as a check before the upgrade process.