VMWare Smart Assurance: Can SM_SITEMOD be used with Smarts Failover? How to use SM_SITEMOD with Failover Manager
search cancel

VMWare Smart Assurance: Can SM_SITEMOD be used with Smarts Failover? How to use SM_SITEMOD with Failover Manager

book

Article ID: 331974

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:
Can SM_SITEMOD be used with Failover Manager?

How to use SM_SITEMOD with Failover Manager? What is the correct syntax of the command?

Environment

VMware Smart Assurance - SMARTS

Cause

With the correct syntax for the SM_SITEMOD variable the backup actions will successfully complete

Resolution

To run a VMWare Smart Assurance IP domain with SM_SITEMOD in a Smarts Failover environment add the following line with the correct directory paths to the sm_service install command: 

--env=SM_SITEMOD=/opt/InCharge/IP/smarts/CEC_local:/opt/InCharge/IP/smarts/local:/opt/InCharge/IP/smarts

See example below 
sm_service install --force  --unmanaged  --startmode=runonce \
 '--name=Failover-IP-SM' \
 '--description=Failover-IP-SM' \
 '--env=SM_SITEMOD=/opt/InCharge/IP/smarts/CEC_local:/opt/InCharge/IP/smarts/local:/opt/InCharge/IP/smarts' \
 '/opt/InCharge/IP/smarts/bin/sm_server' \
 '--name=failover-IP-SM' \
 '--port=2655' \
 '--config=icf' \
 '--bootstrap=bootstrap-am-pm.conf' \
 '--output' \
 '--noregister'

Additional Information

The SM_SITEMOD variable provides a search list that VMWare Smart Assurance uses to locate files. This list is used to find files users can, and in some cases must, modify to use VMWare Smart Assurance at their site. Such files include configuration files, ASL rulesets, and scripts. The components of the list are separated by colons (:) on UNIX and semicolons (;) on Microsoft Windows. The default value of SM_SITEMOD is: BASEDIR/smarts/local.

https://docs.vmware.com/en/VMware-Smart-Assurance/10.0/smart-failover-system-user-guide-10.pdf