infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Cloverleaf
What sets variable HACMP_HCI_ROOT?
Michael Brande
Looking around to see what sets this variable:
HACMP_HCI_ROOT
Is this supposed to be available on the root account?
Find more posts tagged with
Clovertech
Comments
Jay
I found the following in the hci.profile file located (on AIX) at/home/hci/.cluster:
export HACMP_HCI_ROOT=$QUOVADX_INSTALL_DIR/integrator
The scripts in this folder are used to stop/start Cloverleaf on AIX failover. They are owned by hci.
We're currently on Cloverleaf 20.1, which came with some newer failover scripts (in the auto_start folder) that don't have HACMP_HCI_ROOT, but I haven't migrated to those scripts yet.
Michael Brande
Very cool! In our Environment it is the root account that is calling these scripts.
Also I see that many of these scripts appear to run as root and then substitute user (su) to the HCI account.
su - hci - c "setroot $HACMP_HCI_ROOT;hciss -k h"
So the /home/hci/.cluster/hci.profile is not called.
I am looking at putting some of these into the root .profile.
I wonder, how... would anyone run these as hci and then su to hci?
Michael Brande
Ok I get it now. This does run under root.