-
Copy the .ini files to the root folder.
# cp /opt/aster/third-party/R/usr/local/lib/stage/clients-odbc-linux64/unixODBC/setup/odbc.ini /opt/aster/third-party/R/root/
# cp /opt/aster/third-party/R/usr/local/lib/stage/clients-odbc-linux64/unixODBC/setup/odbcinst.ini /opt/aster/third-party/R/root/
# cp /opt/aster/third-party/R/usr/local/lib/stage/clients-odbc-linux64/unixODBC/setup/aster.ini /opt/aster/third-party/R/root/.aster.ini
-
Modify the .aster.ini file with the content shown here.
[driver]
DriverManagerEncoding=UTF-32
DriverLocale=en-US
LogLevel=0
ErrorMessagesPath=/usr/local/lib/stage/clients-odbc-linux64/ErrorMessages
ODBCInstLib=/usr/lib/libodbcinst.so
-
Modify the odbc.ini file with the content shown here.
Replace the host and database information for each users' environment.
[ODBC Data Sources]
AsterDSN=AsterDriver
TestEnv1=AsterDriver
[AsterDSN]
Driver=AsterDriver
SERVER=192.168.100.100
PORT=2406
DATABASE=beehive
UID=db_superuser
PWD=db_superuser
-
Modify the odbcinst.ini file with the content shown here.
[AsterDriver]
Driver=/usr/local/lib/stage/clients-odbc-linux64/unixODBC/lib/libAsterDriver.so
IconvEncoding=UCS-4LE
-
Clone the .ini files to the worker nodes.
# cd /opt/aster/third-party/R/root/
# ncli node clonefile *.ini
# ncli node clonefile .*.ini
# chmod og+rx /opt/aster/third-party/R/root
-
Update /etc/profile on every node with the ODBCSYSINI location.
# ncli node runonall "cp /etc/profile /etc/profile.org"
# ncli node runonall "echo 'export ODBCSYSINI=/root' >>/etc/profile"