Uproc calling "uniinstaller -upgrade" in order to automate the DUAS nodes patching fails
search cancel

Uproc calling "uniinstaller -upgrade" in order to automate the DUAS nodes patching fails

book

Article ID: 87507

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

Error Message :
These kind of errors could appear in the setup log: 

###################### 
Unable to read instance configuration variable UNI_INST_CLUSTER 
###################### 

or 
###################### 
Bad environment: U_TMP_PATH undefined 
###################### 

Patch level detected:Dollar Universe 6.3.00
Product Version: Dollar.Universe 6.3.01

Description :When necessary to schedule the Autopatch on a lot of Windows nodes, a Uproc was  developped  to perfor, unfortunately the uproc was failing, with this error on the setup log:

Unable to read instance configuration variable UNI_INST_CLUSTER
or
Bad environment: U_TMP_PATH undefined

Environment

OS: Windows

Cause

Cause type:
Configuration
Root Cause: The issue was due to the fact that the u_batch does not reload the environment by default.

Resolution

The solution is adding a variable in the Uproc script so that the u_batch reloaded the environment.

Simply add this line at the beginning of the Uproc script:

set IS_BATCH_ENV_LOADED=N

Fix Status: Released

Fix Version(s):
Component: Application.Server
Version: Dollar.Universe 6.3.41

Additional Information

Workaround :
N/A