# DCremote.cfg: Performs the Remote Data Collections # $Id: DCremote.cfg,v 1.4 2013/10/30 07:18:47 RDA Exp $ # ARCS: $Header: /home/cvs/cvs/RDA_8/src/scripting/lib/collect/RDA/DCremote.cfg,v 1.4 2013/10/30 07:18:47 RDA Exp $ # # Copyright (c) 2002, 2016, Oracle and/or its affiliates. All rights reserved. # # Change history # 20131001 KRA Moved advanced setup level to 6. ############################################################################### # Collect the global setup information ############################################################################### #------------------------------------------------------------------------------ # Module definition #------------------------------------------------------------------------------ col=${COL/REMOTE.B_DEFINED} dsc='Performs the Remote Data Collections' pre=RDA:DCbegin req=RDA:DCstatus var=B_DEFINED #------------------------------------------------------------------------------ # Setting definitions #------------------------------------------------------------------------------ [B_DEFINED] typ=B def='COL/REMOTE' dft=false dsc='Are remote data collections defined ?' var=true:W_NODES,loop_node [W_NODES] typ=T def='COL/REMOTE' dsc='List of remote nodes identifiers' err='A node identifier must start with an uppercase letter, followed by \ uppercase letters or digits !' inp='Enter a node identifier, or a period (.) to end' end='.' ref='^[A-Z][A-Z0-9]*$' val=E #------------------------------------------------------------------------------ # Node setting definitions #------------------------------------------------------------------------------ [loop_node] typ=L dft=@{COL.REMOTE.W_NODES} nam=-RUN/SDSL.W_NODE var=exit:B_ALTER_ALLOWED,T_DOMAIN,\ B_NO_DA,B_NO_JSCH,B_NO_RSH,B_NO_SSH,N_TIMEOUT,\ T_RDA_COMMAND,T_RDA_OPTIONS,T_POST_OPTIONS,\ F_RCP_COMMAND,T_RCP_OPTIONS,F_RSH_COMMAND,T_RSH_OPTIONS,\ F_SCP_COMMAND,T_SCP_OPTIONS,F_SSH_COMMAND,T_SSH_OPTIONS,\ T_USER:\ loop:set_description,set_hostname,set_user,set_home,\ set_split,set_prefix,set_rda_command,set_rda_options,\ set_post_options,set_step,set_storage,\ set_rcp_command,set_rcp_options,set_rsh_command,set_rsh_options,\ set_scp_command,set_scp_options,set_ssh_command,set_ssh_options [set_description] typ=T def="COL/REMOTE.${RUN.SDSL.W_NODE}" dft=${T_DESCRIPTION} dsc='Remote node description' inp="Enter the description of the remote node ${RUN.SDSL.W_NODE}" nam=T_DESCRIPTION [set_hostname] typ=T def="COL/REMOTE.${RUN.SDSL.W_NODE}" dft=${T_HOSTNAME} dsc='Remote node host name' inp="Enter the host name of the remote node ${RUN.SDSL.W_NODE}" nam=T_HOSTNAME [set_user] typ=T def="COL/REMOTE.${RUN.SDSL.W_NODE}" dft=${T_USER} dsc='Remote node user' nam=T_USER opt=true [set_home] typ=D def="COL/REMOTE.${RUN.SDSL.W_NODE}" dft=${T_HOME} dsc='RDA home on the remote node' inp="Enter the RDA home directory on the remote node ${RUN.SDSL.W_NODE}" nam=T_HOME [set_split] typ=B def="COL/REMOTE.${RUN.SDSL.W_NODE}" dft=${B_SPLIT} dsc='Are the RDA home and work directories separated?' inp="Are the RDA home and work directories separated on the node \ ${RUN.SDSL.W_NODE} (Y/N)?" nam=B_SPLIT var=false:same_work:\ true:set_work [same_work] typ=D def="COL/REMOTE.${RUN.SDSL.W_NODE}" dft=${T_HOME} dsc='RDA work directory on the remote node' nam=T_WORK [set_work] typ=D def="COL/REMOTE.${RUN.SDSL.W_NODE}" dft=${T_WORK:${CFG.D_CWD}} dsc='RDA work directory on the remote node' inp="Enter the RDA work directory on the remote node ${RUN.SDSL.W_NODE}" nam=T_WORK [set_prefix] typ=T def="COL/REMOTE.${RUN.SDSL.W_NODE}" dft=${W_PREFIX:${RUN.SDSL.W_NODE}} dsc='Remote node prefix' nam=W_PREFIX opt=true [set_rda_command] typ=T def="COL/REMOTE.${RUN.SDSL.W_NODE}" dft=${T_RDA_COMMAND} dsc='Remote RDA command' nam=T_RDA_COMMAND opt=true [set_rda_options] typ=T def="COL/REMOTE.${RUN.SDSL.W_NODE}" dft=${T_RDA_OPTIONS} dsc='Remote RDA options' nam=T_RDA_OPTIONS opt=true [set_post_options] typ=T def="COL/REMOTE.${RUN.SDSL.W_NODE}" dft=${T_POST_OPTIONS} dsc='Remote RDA post treatment options' nam=T_POST_OPTIONS opt=true [set_step] typ=T def="COL/REMOTE.${RUN.SDSL.W_NODE}" dft=${T_STEP:'N'} dsc='Last step executed on the remote node' nam=T_STEP opt=true [set_storage] typ=T def="COL/REMOTE.${RUN.SDSL.W_NODE}" dft=${W_STORAGE} dsc='Remote node storage type' nam=W_STORAGE opt=true [set_rcp_command] typ=F def="COL/REMOTE.${RUN.SDSL.W_NODE}" dft=${F_RCP_COMMAND} dsc='Node specific RCP command' nam=F_RCP_COMMAND opt=true [set_rcp_options] typ=T def="COL/REMOTE.${RUN.SDSL.W_NODE}" dft=${T_RCP_OPTIONS} dsc='Node specific RCP options' nam=T_RCP_OPTIONS opt=true [set_rsh_command] typ=F def="COL/REMOTE.${RUN.SDSL.W_NODE}" dft=${F_RSH_COMMAND} dsc='Node specific RSH command' nam=F_RSH_COMMAND opt=true [set_rsh_options] typ=T def="COL/REMOTE.${RUN.SDSL.W_NODE}" dft=${T_RSH_OPTIONS} dsc='Node specific RSH options' nam=T_RSH_OPTIONS opt=true [set_scp_command] typ=F def="COL/REMOTE.${RUN.SDSL.W_NODE}" dft=${F_SCP_COMMAND} dsc='Node specific SCP command' nam=F_SCP_COMMAND opt=true [set_scp_options] typ=T def="COL/REMOTE.${RUN.SDSL.W_NODE}" dft=${T_SCP_OPTIONS} dsc='Node specific SCP options' nam=T_SCP_OPTIONS opt=true [set_ssh_command] typ=F def="COL/REMOTE.${RUN.SDSL.W_NODE}" dft=${F_SSH_COMMAND} dsc='Node specific SSH command' nam=F_SSH_COMMAND opt=true [set_ssh_options] typ=T def="COL/REMOTE.${RUN.SDSL.W_NODE}" dft=${T_SSH_OPTIONS} dsc='Node specific SSH options' nam=T_SSH_OPTIONS opt=true #------------------------------------------------------------------------------ # Global setting definitions #------------------------------------------------------------------------------ [B_ALTER_ALLOWED] typ=B def='COL/REMOTE' dft=0 dsc='Are file alterations tolerated when checking the installation?' inp='Are file alterations tolerated when checking the installation (Y/N)?' lvl=9 nam=B_ALTER_ALLOWED [T_DOMAIN] typ=T def='COL/REMOTE' dsc='Remote node domain' opt=true [B_NO_DA] typ=B def='COL/REMOTE' dsc="Do not use DA" opt=true [B_NO_JSCH] typ=B def='COL/REMOTE' dsc="Do not use JSCH" opt=true [B_NO_RSH] typ=B def='COL/REMOTE' dsc="Do not use RSH" opt=true [B_NO_SSH] typ=B def='COL/REMOTE' dsc="Do not use SSH" opt=true [N_TIMEOUT] typ=N def='COL/REMOTE' dft='30' dsc='Remote command execution timeout (in seconds)' err='The timeout value must be a positive integer' inp='Enter the maximum time for remote command execution (in seconds)' lvl=9 ref='I[0,[' [T_RDA_COMMAND] typ=T def='COL/REMOTE' dsc='Remote RDA command' opt=true [T_RDA_OPTIONS] typ=T def='COL/REMOTE' dft='-vSCRP -p Remote' dsc='Remote RDA options' inp='Specify the options of the remote RDA command' lvl=6 [T_POST_OPTIONS] typ=T def='COL/REMOTE' dsc='Remote RDA post treatment options' opt=true [F_RCP_COMMAND] typ=F def='COL/REMOTE' dsc='RCP command' opt=true [T_RCP_OPTIONS] typ=T def='COL/REMOTE' dsc='RCP options' opt=true [F_RSH_COMMAND] typ=F def='COL/REMOTE' dsc='RSH command' opt=true [T_RSH_OPTIONS] typ=T def='COL/REMOTE' dsc='RSH options' opt=true [F_SCP_COMMAND] typ=F def='COL/REMOTE' dsc='SCP command' opt=true [T_SCP_OPTIONS] typ=T def='COL/REMOTE' dsc='SCP options' opt=true [F_SSH_COMMAND] typ=F def='COL/REMOTE' dsc='SSH command' opt=true [T_SSH_OPTIONS] typ=T def='COL/REMOTE' dsc='SSH options' opt=true [T_USER] typ=T def='COL/REMOTE' dsc='Remote user' opt=true