[Info-ingres] Change to environment ActianX / Ingres 11.2

Paul White paul.white at shift7solutions.com.au
Thu Jan 13 03:26:40 UTC 2022


Hi all,

Be mindful that ActianX 11.2 brings a significant change to environment 
settings comparing  to 11.1.

Spark provider is a relatively recent addition to the product suite.  It 
appears to be an optional module in the documentation and install 
dialogue, however 11.2 setup process places scripts which configure 
Spark and JAVA into the command line environment despite responding N in 
the install dialogue.  Actian support have advised that this is 
intentional and plan to update release notes and other documentation to 
make clear what changes have been introduced.

Here is an excerpt from the setup dialog:

install.sh -interactive

...

This procedure will set up Apache Spark:

to run on local host:

myserver

Do you want to continue this setup procedure? (y/n) [y] n


...


This procedure will set up Apache Spark:

to run on local host:

     myserver


This procedure will set up Apache Spark:

to run on local host:

     myserver


Do you want to continue this setup procedure? (y/n) [y] Do you want to 
continue this setup procedure? (y/n) [y]

Actian X DBMS setup complete.



Despite responding "n", these steps has been added to the local account  
.ingIIsh

# setup spark environment. iishlib is missing

# issue a warning

[ -f $II_SYSTEM/ingres/utility/iishlib ] ||

{

    echo "ERROR: No instance found at: $II_SYSTEM"

    echo "Environment may not be set correctly"

   return 1

}

shell_env=true

. $II_SYSTEM/ingres/utility/iishlib

setup_spark

if [ $SPARK_HOME ] ; then

    PATH=$SPARK_HOME/bin:$JAVA_HOME/bin:$PATH

fi



A bunch of functions and variables have been added to the environment, 
not previously configured in 11.1. The iishlib and setup_spark scripts 
are now executed at login time.


Variables added

ING_USER

II_NFS_ADMIN

II_CONFIG

II_LOG

II_DBMS_AUTHENTICATION

STAR_SERVERS

ICE_SERVER

RMCMD_SERVERS

GCD_SERVER

GCC_SERVER

GCB_SERVER

MGMT_SERVER

SPARK_HOME="$spark_home"

JAVA_HOME


Functions added

> bad_directory ()

> box ()

> center_text ()

> check_directory ()

> check_diskspace ()

> check_response_file ()

> check_response_write ()

> clean_exit ()

> config_location ()

> create_node_dirs ()

> do_it ()

> dump_configured_logs ()

> element_index ()

> error_box ()

> fatal_box ()

> find_dev ()

> find_free ()

> gen_nodes_lists ()

> gen_ok_set ()

> get_date_type_alias ()

> get_dbms_authentication ()

> get_installation_code ()

> get_location ()

> get_node_number ()

> get_num_processors ()

> get_set_charset ()

> get_spark_home ()

> get_timezone ()

> grep_search_pattern ()

> in_set ()

> in_tty ()

> lock_config_dat ()

> log_config_change_banner ()

> mkresponse_msg ()

> node_name ()

> nth_element ()

> pause ()

> prompt ()

> quiet_comsvrs ()

> remove_temp_resources ()

> restore_comsvrs ()

> set_setuid ()

> setup_spark ()

> skip_lines ()

> titled_box ()

> touch_files ()

> unlock_config_dat ()

> validate_resource ()

> warning_box ()

> wrap_lines ()


Of course you can choose to edit the .ingIIsh and .ingIIcsh  scripts  to 
bypass


Paul White
&
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.planetingres.org/pipermail/info-ingres/attachments/20220113/d1ef52bd/attachment-0001.html>


More information about the Info-ingres mailing list