Smarts SAM: How to use a different perl version, instead of the one included with SMARTS
book
Article ID: 331923
calendar_today
Updated On:
Products
VMware Smart Assurance
Issue/Introduction
Symptoms:
How to use a perl api (ActivePerl for example) that is not dependent on the built-in perlĀ perl with SAM?
It is not possible to use the Perl remote API modules using native perl, since the I18NWrapper module is linked to the Perl shipped by Smarts.
Environment
VMware Smart Assurance - SMARTS
Resolution
Smarts SAM 9.3 introduced a new environment variable called SM_DISABLE_I18N_WRAPPER, which when set to 1, prevents the loading of the I18NWrapper module.
This variable is also present in later versions of the code.
To use this variable, modify the runcmd_env.sh, add this variable and set the value to 1