The IPlanet GUI password files were missing at NSIDC. We attempted to workaround this issue by modifying the applicable perl files with hard coded access permission; there were too many mods to make. Working with NSIDC, we had to execute the EcCoCreatePassword utility on the x7iil01v server and execute the three (3) IPlanet GUI Mkcfg scripts. We also had to execute the sun web server list configs command to trust the newly added SSL cert for IPlanet. Once these steps were completed, NSIDC was able to use the IPlanet GUIs without issue.
The following Mkcfg scripts were missing from the component level EcDlMkcfg script:
EcDlFtpServiceMkcfg
EcDlRestoreUtilitiesMkcfg
The following Mkcfg scripts were missing from the component level EcDsAmMkcfg script:
EcDsAmDescriptorMakerMkcfg
EcDsAmArchiveCheckMkcfg
EcDsAmCleanEventHistoryMkcfg
EcDsAmSplitVolumeGroupMkcfg
EcDsAmRestrictGranuleMkcfg
The following Data Access Mkcfg scripts have been modified to use the "USE_PROXY" environment variable.
The "USE_PROXY" variable, when set to "TRUE", configures internal Data Access URLs to not include port numbers. E.g. sii_url=https://${HOST}/${LC_MODE}/sii
When the "USE_PROXY" variable, when set to "FALSE", the internal Data Access will be configured to use URLs that include port numbers. E.g. sii_url=https://${HOST}:${TOMCAT_PORT}/SimpleInventoryInterface
sii_url=NULL
if [ "${MODE}" == "OPS" ]; then
if [ "${USE_PROXY}" == "TRUE" ]; then
sii_url=https://${HOST}/${LC_MODE}/sii
else
sii_url=https://${HOST}:${TOMCAT_PORT}/SimpleInventoryInterface
fi
else
#all other modes
if [ "${USE_PROXY}" == "TRUE" ]; then
sii_url=https://${HOST}/${LC_MODE}/sii
else
sii_url=https://${HOST}:${TOMCAT_PORT}/SimpleInventoryInterface_${MODE}
fi
fi
if [ "${MODE}" == "OPS" ]; then
if [ "${USE_PROXY}" == "TRUE" ]; then
esi_processing_url=https://${ESI_TOMCAT_HOST}/${LC_MODE}/esi/processing
esi_capabilities_url=https://${ESI_TOMCAT_HOST}/${LC_MODE}/esi/capabilities
esi_url=https://${ESI_TOMCAT_HOST}/${LC_MODE}/esi/
esir_url=https://${ESIR_TOMCAT_HOST}/${LC_MODE}/esir
sii_url=https://${HOST}/${LC_MODE}/sii
esi_processing_url_failover=https://${ESI_URL_FALLBACK_HOST}/${LC_MODE}/esi/processing
else
esi_processing_url=http://${ESI_TOMCAT_HOST}:${ESI_TOMCAT_PORT}/esi/processing
esi_capabilities_url=http://${ESI_TOMCAT_HOST}:${ESI_TOMCAT_PORT}/esi/capabilities
esi_url=http://${ESI_TOMCAT_HOST}:${ESI_TOMCAT_PORT}/esi
esir_url=http://${ESIR_TOMCAT_HOST}:${ESIR_TOMCAT_PORT}/esir
sii_url=http://${ESI_TOMCAT_HOST}:${ESI_TOMCAT_PORT}/SimpleInventoryInterface
esi_processing_url_failover=https://${ESI_URL_FALLBACK_HOST}:${ESI_TOMCAT_PORT}/esi/processing
fi
else
#all other modes
if [ "${USE_PROXY}" == "TRUE" ]; then
esi_processing_url=https://${ESI_TOMCAT_HOST}/${LC_MODE}/esi/processing
esi_capabilities_url=https://${ESI_TOMCAT_HOST}/${LC_MODE}/esi/capabilities
esi_url=https://${ESI_TOMCAT_HOST}/${LC_MODE}/esi/
esir_url=https://${ESIR_TOMCAT_HOST}/${LC_MODE}/esir
sii_url=https://${HOST}/${LC_MODE}/sii
esi_processing_url_failover=https://${ESI_URL_FALLBACK_HOST}/${LC_MODE}/esi/processing
else
esi_processing_url=http://${ESI_TOMCAT_HOST}:${ESI_TOMCAT_PORT}/esi_${MODE}/processing
esi_capabilities_url=http://${ESI_TOMCAT_HOST}:${ESI_TOMCAT_PORT}/esi_${MODE}/capabilities
esi_url=http://${ESI_TOMCAT_HOST}:${ESI_TOMCAT_PORT}/esi_${MODE}
esir_url=http://${ESIR_TOMCAT_HOST}:${ESIR_TOMCAT_PORT}/esir_${MODE}
sii_url=http://${ESI_TOMCAT_HOST}:${ESI_TOMCAT_PORT}/SimpleInventoryInterface_${MODE}
esi_processing_url_failover=https://${ESI_URL_FALLBACK_HOST}:${ESI_TOMCAT_PORT}/esi_${MODE}/processing
fi
fi
sii_url=NULL
if [ "${MODE}" == "OPS" ]; then
if [ "${USE_PROXY}" == "TRUE" ]; then
sii_url=https://${HOST}/${LC_MODE}/sii
else
sii_url=https://${HOST}:${TOMCAT_PORT}/SimpleInventoryInterface
fi
else
#all other modes
if [ "${USE_PROXY}" == "TRUE" ]; then
sii_url=https://${HOST}/${LC_MODE}/sii
else
sii_url=https://${HOST}:${TOMCAT_PORT}/SimpleInventoryInterface_${MODE}
fi
fi
EXAMPLE_LOCAL_GETFILE_URL=NULL
EXAMPLE_REMOTE_GETFILE_URL=NULL
sii_url=NULL
if [ "${MODE}" == "OPS" ]; then
if [ "${USE_PROXY}" == "TRUE" ]; then
sii_url=https://${HOST}/${LC_MODE}/sii
EXAMPLE_LOCAL_GETFILE_URL=https://${HOST}/${LC_MODE}/getfile?FILE_URLS=
EXAMPLE_REMOTE_GETFILE_URL=https://${HOST}/${LC_MODE}/getfile?FILE_URLS=
else
sii_url=https://${HOST}:${TOMCAT_PORT}/SimpleInventoryInterface
EXAMPLE_LOCAL_GETFILE_URL=https://${HOST}:${TOMCAT_PORT}/getfile_${LC_MODE}?FILE_URLS=
EXAMPLE_REMOTE_GETFILE_URL=https://${HOST}:${TOMCAT_PORT}/getfile_${LC_MODE}?FILE_URLS=
fi
else
#all other modes
if [ "${USE_PROXY}" == "TRUE" ]; then
sii_url=https://${HOST}/${LC_MODE}/sii
EXAMPLE_LOCAL_GETFILE_URL=https://${HOST}/${LC_MODE}/getfile?FILE_URLS=
EXAMPLE_REMOTE_GETFILE_URL=https://${HOST}/${LC_MODE}/getfile?FILE_URLS=
else
sii_url=https://${HOST}:${TOMCAT_PORT}/SimpleInventoryInterface_${MODE}
EXAMPLE_LOCAL_GETFILE_URL=https://${HOST}:${TOMCAT_PORT}/getfile_${LC_MODE}?FILE_URLS=
EXAMPLE_REMOTE_GETFILE_URL=https://${HOST}:${TOMCAT_PORT}/getfile_${LC_MODE}?FILE_URLS=
fi
fi
Here is the .cfgpatch that supports the use of the "USE_PROXY" environment variable:
STAGING AREA LOCATION: <STAGING_AREA>/LINUX/CUSTOM/.installed/DPL/DataAcess
# IMPORTANT NOTE: EVERYTIME THIS FILE IS CHANGED YOU MUST UPDATE THE REVISION LEVEL!!!
# Define a macro.
# Action Parameter Value
DEFINE REVISION_LEVEL 20.35.00
# DPL/EcDlDa
# Action Site Host Mode Subsys Comp Filename Tag Parameter ValueList
DEL ALL ALL ALL DPL EcDlDa .cfgparms EcDlDaEsiMkcfg USE_HTTPS
ADD ALL ALL ALL DPL EcDlDa .cfgparms EcDlDaEsiMkcfg USE_PROXY TRUE
UPD PVC ALL ALL DPL EcDlDa .cfgparms EcDlDaEsiMkcfg USE_PROXY TRUE
UPD EDC ALL ALL DPL EcDlDa .cfgparms EcDlDaEsiMkcfg USE_PROXY FALSE
UPD NSIDC ALL ALL DPL EcDlDa .cfgparms EcDlDaEsiMkcfg USE_PROXY FALSE
UPD LARC ALL ALL DPL EcDlDa .cfgparms EcDlDaEsiMkcfg USE_PROXY FALSE
ADD ALL ALL ALL DPL EcDlDa .cfgparms EcDlDaGuiMkcfg USE_PROXY TRUE
UPD PVC ALL ALL DPL EcDlDa .cfgparms EcDlDaGuiMkcfg USE_PROXY TRUE
UPD EDC ALL ALL DPL EcDlDa .cfgparms EcDlDaGuiMkcfg USE_PROXY FALSE
UPD NSIDC ALL ALL DPL EcDlDa .cfgparms EcDlDaGuiMkcfg USE_PROXY FALSE
UPD LARC ALL ALL DPL EcDlDa .cfgparms EcDlDaGuiMkcfg USE_PROXY FALSE
ADD ALL ALL ALL DPL EcDlDa .cfgparms EcDlDaRqsMkcfg USE_PROXY TRUE
UPD PVC ALL ALL DPL EcDlDa .cfgparms EcDlDaRqsMkcfg USE_PROXY TRUE
UPD EDC ALL ALL DPL EcDlDa .cfgparms EcDlDaRqsMkcfg USE_PROXY FALSE
UPD NSIDC ALL ALL DPL EcDlDa .cfgparms EcDlDaRqsMkcfg USE_PROXY FALSE
UPD LARC ALL ALL DPL EcDlDa .cfgparms EcDlDaRqsMkcfg USE_PROXY FALSE
ADD ALL ALL ALL DPL EcDlDa .cfgparms EcDlDaEgiMkcfg USE_PROXY TRUE
UPD EDC ALL ALL DPL EcDlDa .cfgparms EcDlDaEgiMkcfg USE_PROXY FALSE
UPD LARC ALL ALL DPL EcDlDa .cfgparms EcDlDaEgiMkcfg USE_PROXY FALSE
UPD NSIDC ALL ALL DPL EcDlDa .cfgparms EcDlDaEgiMkcfg USE_PROXY FALSE
ADD ALL ALL ALL DPL EcDlDa .cfgparms EcDlDaAsyncMkcfg USE_PROXY TRUE
UPD EDC ALL ALL DPL EcDlDa .cfgparms EcDlDaAsyncMkcfg USE_PROXY FALSE
UPD LARC ALL ALL DPL EcDlDa .cfgparms EcDlDaAsyncMkcfg USE_PROXY FALSE
UPD NSIDC ALL ALL DPL EcDlDa .cfgparms EcDlDaAsyncMkcfg USE_PROXY FALSE
ADD ALL ALL ALL DPL EcDlDa .cfgparms EcDlDaGdalServiceMkcfg USE_PROXY TRUE
UPD EDC ALL ALL DPL EcDlDa .cfgparms EcDlDaGdalServiceMkcfg USE_PROXY FALSE
UPD LARC ALL ALL DPL EcDlDa .cfgparms EcDlDaGdalServiceMkcfg USE_PROXY FALSE
UPD NSIDC ALL ALL DPL EcDlDa .cfgparms EcDlDaGdalServiceMkcfg USE_PROXY FALSE
DEL ALL ALL ALL DPL EcDlDa .cfgparms EcDlDaSiiMkcfg GETFILE_HOST
DEL ALL ALL ALL DPL EcDlDa .cfgparms EcDlDaSiiMkcfg GETFILE_PORT
DEL ALL ALL ALL DPL EcDlDa .cfgparms EcDlDaRqsMkcfg SII_TOMCAT_HOST
DEL ALL ALL ALL DPL EcDlDa .cfgparms EcDlDaRqsMkcfg SII_TOMCAT_PORT
DEL ALL ALL ALL DPL EcDlDa .cfgparms EcDlDaAsyncMkcfg SII_TOMCAT_HOST
DEL ALL ALL ALL DPL EcDlDa .cfgparms EcDlDaAsyncMkcfg SII_TOMCAT_PORT
...
...
ADD ALL ALL ALL DPL EcDlDa .cfgparms EcDlDaHegServiceMkcfg OPENDAP_HOST f7dpl01.edn.ecs.nasa.gov
ADD ALL ALL ALL DPL EcDlDa .cfgparms EcDlDaRqsMkcfg TOMCAT_PORT 99990
UPD ALL ALL OPS DPL EcDlDa .cfgparms EcDlDaRqsMkcfg TOMCAT_PORT 45000
UPD ALL ALL TS1 DPL EcDlDa .cfgparms EcDlDaRqsMkcfg TOMCAT_PORT 45010
UPD ALL ALL TS2 DPL EcDlDa .cfgparms EcDlDaRqsMkcfg TOMCAT_PORT 45020
UPD NSIDC ALL ALL DPL EcDlDa .cfgparms EcDlDaHegServiceMkcfg OPENDAP_HOST n7dpl01.nsidcb.ecs.nasa.gov
UPD NSIDC ALL ALL DPL EcDlDa .cfgparms EcDlDaRqsMkcfg OPENDAP_HOST n7dpl01.nsidcb.ecs.nasa.gov
UPD LARC ALL ALL DPL EcDlDa .cfgparms EcDlDaHegServiceMkcfg OPENDAP_HOST l7dpl01.larc.nasa.gov
UPD EDC ALL ALL DPL EcDlDa .cfgparms EcDlDaHegServiceMkcfg OPENDAP_HOST e7dpl01.cr.usgs.gov
UPD PVC ALL ALL DPL EcDlDa .cfgparms EcDlDaHegServiceMkcfg OPENDAP_HOST p7dpl01.pvc.ecs.nasa.gov
Should be added to the .cfgparms file for Order Manager
SII = https://${SII_HOST}/${LC_MODE}/sii/granule/
OR
SII = https://${SII_HOST}:${TOMCAT_PORT}/SimpleInventoryInterface_${MODE}/granule
NOTE: All updated Mkcfg scripts were placed in the Release 20.2 staging area to ensure updates are used for the next planned mode install.
The initial use of the new configuration parameter compilation utility did not work well due to a missing column in the generated cfgpatch file. These utilities have been updated to generate the correct configuration patch that contains the current settings from the list of hosts (RHEL6 or RHEL7):
-rwxr-xr-x 1 cmdelivery users 8377 Sep 2 11:15 EcCoCreateCfgpatch_RH6.tcl
-rwxr-xr-x 1 cmdelivery users 8371 Sep 2 11:16 EcCoCreateCfgpatch_RH7.tcl
-rwxr-xr-x 1 cmdelivery users 1032 Sep 2 11:17 RunCreateCfgPatch_RH6.tcl
-rwxr-xr-x 1 cmdelivery users 1023 Sep 2 11:19 RunCreateCfgPatch.tcl
For example, LP DAAC executed the following command
/dist/incoming/cfg_tools/RunCreateCfgPatch.tcl
MODE: (OPS, TS1, TS2)
OutputDir: Preferred Output Dir.
Usage: ./RunCreateCfgPatch.tcl MODE OutputDir
/dist/incoming/cfg_tools/RunCreateCfgPatch.tcl TS1 /homedir/cmts1/TS1_Cfg_Patches_2
Produces the following set of files that contain occurrences of x5. These files can then be updated to x7 where applicable.
-rw-r--r-- 1 cmshared cmts1 244 Sep 22 10:34 .sync_cfgpatch_dpl01_TS1_CSS_EcCsId
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_dpl01_TS1_CSS_EcCsNm
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_dpl01_TS1_CSS_EcCsRg
-rw-r--r-- 1 cmshared cmts1 8754 Sep 22 10:34 .sync_cfgpatch_dpl01_TS1_DPL_EcDlDa
-rw-r--r-- 1 cmshared cmts1 5177 Sep 22 10:34 .sync_cfgpatch_dpl01_TS1_DSS_EcDsAm
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_dpl01_TS1_DSS_EcDsSr
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_dpl01_TS1_HEG_EcHg
-rw-r--r-- 1 cmshared cmts1 269 Sep 22 10:34 .sync_cfgpatch_dpl01_TS1_OMS_EcOm
-rw-r--r-- 1 cmshared cmts1 1887 Sep 22 10:34 .sync_cfgpatch_dpl01_TS1_TOOLKIT_EcTk
-rw-r--r-- 1 cmshared cmts1 244 Sep 22 10:34 .sync_cfgpatch_dpl02_TS1_CSS_EcCsId
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_dpl02_TS1_CSS_EcCsNm
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_dpl02_TS1_CSS_EcCsRg
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_dpl02_TS1_DPL_EcDlDa
-rw-r--r-- 1 cmshared cmts1 245 Sep 22 10:34 .sync_cfgpatch_dpl02_TS1_DSS_EcDsAm
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_dpl02_TS1_DSS_EcDsSr
-rw-r--r-- 1 cmshared cmts1 461 Sep 22 10:34 .sync_cfgpatch_eil01_TS1_CLS_EcCl
-rw-r--r-- 1 cmshared cmts1 244 Sep 22 10:34 .sync_cfgpatch_eil01_TS1_CSS_EcCsId
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_eil01_TS1_CSS_EcCsNm
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_eil01_TS1_CSS_EcCsRg
-rw-r--r-- 1 cmshared cmts1 2894 Sep 22 10:34 .sync_cfgpatch_eil01_TS1_DPL_EcDl
-rw-r--r-- 1 cmshared cmts1 2023 Sep 22 10:34 .sync_cfgpatch_eil01_TS1_DSS_EcDsAm
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_eil01_TS1_DSS_EcDsSr
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_eil01_TS1_MSS_EcDbDdm
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_eil01_TS1_MSS_EcMsAc
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_eil01_TS1_MSS_EcMsDb
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_eil01_TS1_MSS_EcMsGDb
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_eil01_TS1_MSS_EcMsSm
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_eil01_TS1_MSS_EcMsSmDb
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_eil01_TS1_MSS_EcMsWz
-rw-r--r-- 1 cmshared cmts1 227 Sep 22 10:34 .sync_cfgpatch_eil01_TS1_OMS_EcOm
-rw-r--r-- 1 cmshared cmts1 244 Sep 22 10:34 .sync_cfgpatch_ftl01p_TS1_CSS_EcCsId
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_ftl01p_TS1_CSS_EcCsNm
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_ftl01p_TS1_CSS_EcCsRg
-rw-r--r-- 1 cmshared cmts1 2531 Sep 22 10:34 .sync_cfgpatch_ftl01p_TS1_DPL_EcDl
-rw-r--r-- 1 cmshared cmts1 2706 Sep 22 10:34 .sync_cfgpatch_ftl01p_TS1_DPL_EcDlDa
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_ftl01p_TS1_MSS_EcDbDdm
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_ftl01p_TS1_MSS_EcMsAc
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_ftl01p_TS1_MSS_EcMsDb
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_ftl01p_TS1_MSS_EcMsGDb
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_ftl01p_TS1_MSS_EcMsSm
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_ftl01p_TS1_MSS_EcMsSmDb
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_ftl01p_TS1_MSS_EcMsWz
-rw-r--r-- 1 cmshared cmts1 64 Sep 22 10:34 .sync_cfgpatch_iil01v_TS1_BMGT_EcBm
-rw-r--r-- 1 cmshared cmts1 244 Sep 22 10:34 .sync_cfgpatch_iil01v_TS1_CSS_EcCsId
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_iil01v_TS1_CSS_EcCsNm
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_iil01v_TS1_CSS_EcCsRg
-rw-r--r-- 1 cmshared cmts1 1239 Sep 22 10:34 .sync_cfgpatch_iil01v_TS1_DPL_EcDl
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_iil01v_TS1_DPL_EcDlDa
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_iil01v_TS1_MSS_EcDbDdm
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_iil01v_TS1_MSS_EcMsAc
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_iil01v_TS1_MSS_EcMsDb
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_iil01v_TS1_MSS_EcMsGDb
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_iil01v_TS1_MSS_EcMsSm
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_iil01v_TS1_MSS_EcMsSmDb
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_iil01v_TS1_MSS_EcMsWz
-rw-r--r-- 1 cmshared cmts1 953 Sep 22 10:34 .sync_cfgpatch_iil01v_TS1_OMS_EcOm
-rw-r--r-- 1 cmshared cmts1 554 Sep 22 10:34 .sync_cfgpatch_iil01v_TS1_SSS_EcNb
-rw-r--r-- 1 cmshared cmts1 244 Sep 22 10:34 .sync_cfgpatch_oml01_TS1_CSS_EcCsId
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_oml01_TS1_CSS_EcCsNm
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_oml01_TS1_CSS_EcCsRg
-rw-r--r-- 1 cmshared cmts1 2258 Sep 22 10:34 .sync_cfgpatch_oml01_TS1_DPL_EcDl
-rw-r--r-- 1 cmshared cmts1 8759 Sep 22 10:34 .sync_cfgpatch_oml01_TS1_DPL_EcDlDa
-rw-r--r-- 1 cmshared cmts1 1412 Sep 22 10:34 .sync_cfgpatch_oml01_TS1_DSS_EcDsAm
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_oml01_TS1_DSS_EcDsSr
-rw-r--r-- 1 cmshared cmts1 0 Sep 22 10:34 .sync_cfgpatch_oml01_TS1_HEG_EcHg
-rw-r--r-- 1 cmshared cmts1 2397 Sep 22 10:34 .sync_cfgpatch_oml01_TS1_SSS_EcNb
-rw-r--r-- 1 cmshared cmts1 3751 Sep 22 10:42 .sync_cfgpatch_oml01_TS1_OMS_EcOm
-rw-r--r-- 1 cmshared cmts1 1003 Sep 22 10:43 .sync_cfgpatch_oml01_TS1_BMGT_EcBm
-rw-r--r-- 1 cmshared cmts1 15731 Sep 22 10:45 .sync_cfgpatch_dpl01_TS1_DPL_EcDl
-rw-r--r-- 1 cmshared cmts1 10450 Sep 22 10:46 .sync_cfgpatch_dpl02_TS1_DPL_EcDl
-rw-r--r-- 1 cmshared cmts1 3531 Sep 22 10:48 .sync_cfgpatch_eil01_TS1_DPL_EcDlDa
-rw-r--r-- 1 cmshared cmts1 3889 Sep 22 10:53 .sync_cfgpatch_eil01_TS1_DM_EcDm
NOTE: During the installation process these aforementioned files will be used where applicable.
Let's take a look at the contents of /homedir/cmts1/TS1_Cfg_Patches_2/.sync_cfgpatch_iil01v_TS1_DPL_EcDl
UPD ALL ALL ALL DPL EcDl .cfgparms EcDlDpmMkcfg NUM_RETRIES 3
UPD ALL ALL ALL DPL EcDl .cfgparms EcDlDpmMkcfg SLEEP_SEC 5
UPD ALL ALL ALL DPL EcDl .cfgparms EcDlDpmMkcfg PORT 22111
UPD ALL ALL ALL DPL EcDl .cfgparms EcDlDpmMkcfg HOST e7iil01v.cr.usgs.gov
UPD ALL ALL ALL DPL EcDl .cfgparms EcDlDpmMkcfg IS_OWS_DEPLOYMENT_SITE NO
UPD ALL ALL ALL DPL EcDl .cfgparms EcDlInGuiMkcfg LOG_DEBUG_LEVEL VERBOSE
UPD ALL ALL ALL DPL EcDl .cfgparms EcDlInGuiMkcfg LOG_PERFORMANCE_LEVEL NONE
UPD ALL ALL ALL DPL EcDl .cfgparms EcDlInGuiMkcfg LOG_OPERATIONS_LEVEL VERBOSE
UPD ALL ALL ALL DPL EcDl .cfgparms EcDlInGuiMkcfg LOG_OVERWRITE false
UPD ALL ALL ALL DPL EcDl .cfgparms EcDlInGuiMkcfg AUTHENTICATION_SCHEME_ENABLED true
UPD ALL ALL ALL DPL EcDl .cfgparms EcDlInGuiMkcfg AUTH_DISABLED_OPERATOR_NAME IngAdmin
UPD ALL ALL ALL DPL EcDl .cfgparms EcDlInGuiMkcfg LOG_THRESHOLD 50000000
UPD ALL ALL ALL DPL EcDl .cfgparms EcDlInGuiMkcfg LOG_ROTATION 1
UPD ALL ALL ALL DPL EcDl .cfgparms EcDlInGuiMkcfg LOG_OVERWRITE false
UPD ALL ALL ALL DPL EcDl .cfgparms EcDlInGuiMkcfg LOG_OPERATIONS_LEVEL VERBOSE
UPD ALL ALL ALL DPL EcDl .cfgparms EcDlInGuiMkcfg LOG_PERFORMANCE_LEVEL NONE
UPD ALL ALL ALL DPL EcDl .cfgparms EcDlInGuiMkcfg LOG_DEBUG_LEVEL VERBOSE
NOTE: To update a single configuration item and execute the associated mkcfg script use the following command:
Log onto the host where the update is to be made (x5iil01v or x7iil01v)
/tools/common/ea/EcCoSyncConfig
Usage: EcCoSyncCfg mode subsys component executable syncFile runMkcfgScript(Y|N)
/tools/common/ea/EcCoSyncConfig TS1 DPL EcDl EcDlDpmMkcfg /homedir/cmts1/TS1_Cfg_Patches_2/.sync_cfgpatch_iil01v_TS1_DPL_EcDl Y
NOTE: To update a single configuration item and NOT execute the associated mkcfg script use the following command:
Log onto the host where the update is to be made (x5iil01v or x7iil01v)
/tools/common/ea/EcCoSyncConfig TS1 DPL EcDl EcDlDpmMkcfg /homedir/cmts1/TS1_Cfg_Patches_2/.sync_cfgpatch_iil01v_TS1_DPL_EcDl N
The initial updated version of ECS Assist did not work well. At NSIDC, we found the installation of packages occurred concurrently out of order which led to unintended results. We also found that the package installation process was still running long after ECS Assist displayed the "Installation Complete" Status. Further analysis revealed java socket timeout issues. I have updated the "New Version" of ECS Assist to use secure shell to connect to requested hosts and execute a serial package installation process.
Thence .... follow the prompts:
a. Type of installation(CC/TF)? TF
b. Tarfile Staging Location? RELEASE_20.2
c. Synchronizing config patch Location?" <staging_location>/DescriptiveName
d. Install complete set of packages?y
e. Begin installation process(y|n)?y
4. Operator can review the installation process in the displayed XTerm windows
NOTE: A set of log files will be generated in the home directory and can be viewed after the installation process has completed:
For example:
x7oml01_output.log
x7dpl01_output.log
The Data Form Uploads ruby script
Engineering Software was sent for DAS-817
This FormUpload hotshelf addresses the fact that the DAACs do not use a proxy pass when accessing the ESI interface while running the FormUpload.rb script. This hotshelf will introduce a parameter in the EcDlDaFormUpload.properties file (form.use_proxy_pass) which will be configured as FALSE for the DAACs indicating not to use the proxy pass URI format for ESI. The installation instructions are:
1) Copy the FormUpload.rb script from the hotshelf directory to the utilities directory in the target mode on x[57]dpl01 server:
cp FormUpload.rb /usr/ecs/<mode>/CUSTOM/utilities/FormUpload.rb
2) Save a copy of the existing /usr/ecs/<mode>/CUSTOM/cfg/EcDlDaFormUpload.properties configuration file:
cd /usr/ecs/<mode>/CUSTOM/cfg
cp EcDlDaFormUpload.properties EcDlDa.FormUpload.properties.<YYYY><MM><DD>
3) Edit the EcDlDaFormUpload.properties file and add the following line at the end:
form.use_proxy_pass=FALSE
NOTE: This update should be placed in the utilities directory of the <STAGING_AREA> E.g. <STAGING_AREA>/LINUX/CUSTOM/utilities
3 Comments
Derrick Clarke
Daniel Crumly brought this forward
Environment - cmshared cron runs using BASH – We need to determine the best practices
Having a plan for DUEs in relation to COTS for future releases — RHEL8 !!!!
In the initial release of 20.2, we included a sample environment file (.cshrc, .mycshrc, etc....)
Here is a more detailed environment setup for the PVC courtesy of Mike Primett:
Hi Mary!
Can you forward this on to those who are dealing with the environment issues out at the DAACs ? Thank you!
PVC cmshared .cshrc:
p7hel01{cmshared}251> cat ~/.cshrc
#
# set search path
#
setenv ECS_HOME /usr/ecs
setenv EA_LOC /tools/common/ea
setenv RedhatVersion `lsb_release -rs | cut -f1 -d.`
#setenv JDK_HOME /tools/j2sdk1.4.2_06
#setenv JAVA_LOC /usr/java/j2sdk1.4.2_06/bin
#setenv JAVA_HOME /tools/java4/java1.4
switch (${RedhatVersion})
case 6:
#echo "Good day Riverdale team member: `whoami`. Welcome to the RHEL ${RedhatVersion} environment."
setenv EA_LOC /tools/common/ea
setenv POSTGRES_HOME /tools/postgres/11
setenv LD_LIBRARY_PATH /usr/lib:/usr/local/lib:/usr/ecs/OPS/CUSTOM/bin/COM:/tools/postgres/current/lib
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/tools/devdata1/DataAccess/test/libgeotiff-1.4.0:/tools/proj/lib:${ECS_HOME}/OPS/COTS/Xalan-C_1_10_0-gcc343/lib:${ECS_HOME}/OPS/COTS/xerces-c_2_7_0-gcc343/lib
setenv GEM_HOME /tools/ruby-2.2/lib/ruby/gems/2.2.0
set path=(\
/tools/bin \
/tools/ruby-2.2/bin \
/usr/sbin \
/usr/bin \
/sbin \
/bin \
/tools/common/hyperic/ftpcollector/utilities \
/usr/etc \
/usr/local/bin \
/usr/bin/X11 \
/etc \
/usr/atria/bin \
/etc \
$EA_LOC \
/ecs/formal/COMMON/scripts \
~/bin \
/tools/tcl/bin \
/tools/common/test/ART-framework/bin \
/tools/common/test/bin \
~/scripts)
breaksw
case 7:
#echo "Good day Riverdale team member: `whoami`. Welcome to the RHEL ${RedhatVersion} environment."
setenv EA_LOC /tools/common/ea
setenv POSTGRES_HOME /tools/postgres/11
setenv LD_LIBRARY_PATH /usr/lib64:/usr/local/lib64:/usr/ecs/OPS/CUSTOM/bin/COM:/tools/postgres/current/lib
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/tools/devdata1/DataAccess/test/libgeotiff-1.4.0:/tools/proj/lib:${ECS_HOME}/OPS/COTS/Xalan-C_1_10_0-gcc343/lib:${ECS_HOME}/OPS/COTS/xerces-c_2_7_0-gcc343/lib
#setenv PERL5LIB /tools/perl/perl5/perlbrew/perls/perl-5.30.2/lib/5.30.2/
#setenv PERL5LIB /tools/codedrop/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/
setenv GEM_HOME /tools/ruby-2.7.0/lib/ruby/gems/2.7.0
set path=(\
/tools/perl-5.30.2/bin \
/tools/bin \
/tools/ruby-2.7.0/bin \
/usr/sbin \
/usr/bin \
/sbin \
/bin \
/tools/common/hyperic/ftpcollector/utilities \
/usr/etc \
/usr/local/bin \
/usr/bin/X11 \
/etc \
/usr/atria/bin \
/etc \
$EA_LOC \
/ecs/formal/COMMON/scripts \
~/bin \
/tools/tcl/bin \
/tools/common/test/ART-framework/bin \
/tools/common/test/bin \
~/scripts)
breaksw
endsw
setenv MANPATH /usr/share/man:/usr/man:/usr/local/share/man:/usr/local/man:/usr/X11R6/man
setenv SUBSYS /ecs/formal/COMMON
unsetenv PURIFYOPTIONS
unalias ls
limit coredumpsize unlimited
##############################################################################
# This is needed for the enhanced xclearcase menu, Steve Haupt, Mar 2, 2002
##############################################################################
setenv CLEARCASE_DBG_GRP 1
set noclobber
umask 002
# skip remaining setup if not an interactive shell
# settings for interactive shells
set savehist = 400
set history=240
if ( $?CLEARCASE_ROOT ) then
set prompt="`hostname`{`whoami`}(`basename $CLEARCASE_ROOT`)\!: "
else
#set prompt="`hostname`{`whoami`}\!: "
set prompt="`hostname`{`whoami`}\!> "
alias cd 'cd \!*; echo `pwd`'
endif
setenv LINES 24
setenv COLUMNS 80
setenv EDITOR vi
setenv LANG C
setenv PATH ${PATH}:.
set filec
bindkey "\e[1~" beginning-of-line
bindkey "\e[4~" end-of-line
if ( -e ~/.triggers ) source ~/.triggers
if ( -e ~/.mycshrc ) source ~/.mycshrc
There is no .triggers, but here is the .mycshrc :
p7hel01{cmshared}257> cat .mycshrc
#!/bin/csh -v
setenv POSTGRES /tools/postgres/11
setenv PATH ${PATH}:/tools/common/test/scripts:/tools/common/test/scripts/bin
setenv PATH ${POSTGRES}/bin:${PATH}
if !($?TERM == 0) then
if (${TERM} == "dtterm") then
setenv TERM vt100
endif
endif
setenv PRINTER p0dih03
set lpath = (/home/bob)
alias shared 'cd /usr/ecs/SHARED/CUSTOM;'
alias ops 'cd /usr/ecs/OPS/CUSTOM;'
alias ts1 'cd /usr/ecs/TS1/CUSTOM;'
alias ts2 'cd /usr/ecs/TS2/CUSTOM;'
alias ts3 'cd /usr/ecs/TS3/CUSTOM;'
alias EA 'cd /tools/common/ea; ./EcCoAssist /tools/common/ea ssh &'
set filec
alias eadir 'cd /tools/common/ea'
alias ll 'ls -al'
alias lt 'ls -alt'
alias stage 'cd /net/p2mss10/codedrop/incoming; ls'
alias r 'ssh'
setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:/tools/firefox-2.0.0.8"
#
# Following three lines added by MNP on 12/07/2011 to facilitate MGS
# debugging in the TS1 mode. Please remove after gdb runs are complete.
#
setenv ECS_HOME /usr/ecs
setenv LD_LIBRARY_PATH /usr/lib64:/lib64:${ECS_HOME}/OPS/COTS/Xalan-C_1_10_0-gcc343/lib:${ECS_HOME}/OPS/COTS/xerces-c_2_7_0-gcc343/lib:/lib:/tools/perl-5.30.2/lib
setenv LD_LIBRARY_PATH ${POSTGRES}/lib:${LD_LIBRARY_PATH}
setenv LD_LIBRARY_PATH /usr/ecs/OPS/COTS/opendap-1.10.1/deps/lib:/usr/ecs/OPS/COTS/opendap-1.10.1/lib:${LD_LIBRARY_PATH}
alias po "ps augxwww | grep OPS | grep ConfigFile"
alias p1 "ps augxwww | grep TS1 | grep ConfigFile"
alias p2 "ps augxwww | grep TS2 | grep ConfigFile"
alias p3 "ps augxwww | grep TS3 | grep ConfigFile"
if (! $?ENVONLY) then
#cat -s /home/cmshared/motd.pvc
endif
alias l 'ls -altr'
alias d 'ls -lrt'
alias aops 'automater.pl -t'
alias ats1 'automater.pl -c /tools/common/test/scripts/cfg/automater_TS1.cfg -t'
alias ats2 'automater.pl -c /tools/common/test/scripts/cfg/automater_TS2.cfg -t'
alias alanceops 'automater.pl -c /tools/common/test/scripts/cfg/automater_LANCE_OPS.cfg -t'
alias alancets1 'automater.pl -c /tools/common/test/scripts/cfg/automater_LANCE_TS1.cfg -t'
alias alarclanceops 'automater.pl -c /tools/common/test/scripts/cfg/automater_LARCLANCE_OPS.cfg -t'
alias alarclancets1 'automater.pl -c /tools/common/test/scripts/cfg/automater_LARCLANCE_TS1.cfg -t'
# Vitals Viewer
alias vv "xterm -T 'Vitals Viewer' -bg white -fg black -fn 7x14 -geometry 37x82 -e /tools/common/test/scripts/vv.csh"
# SSH to VATC
alias vatc "ssh t1acg04u.ecs.nasa.gov"
# SSHv32 setup
alias ssa 'source ~/.ssa'
setenv EDITOR /bin/vi
limit coredumpsize unlimited
alias cdt 'cd /tools/common/test/'
alias cdm 'cd /tools/common/test/scripts/MONITOR'
alias cdv 'cd /tools/common/test/data/Vital'
alias cdh 'cd /net/p4msl01/codedrop/incoming'
alias wd 'cd /workingdata/test/DataBinning'
alias tlpc 'tail -100f /tools/common/test/data/trash/pigCurt'
alias atpc 'echo Please do this as your regular user account, not as cmshared.'
alias vipc 'echo Please do this as your regular user account, not as cmshared.'
alias worker 'cd /tools/common/migration/worker/DPL_MIGRATION/scripts'
alias loader 'cd /tools/common/migration/loader/DPL_MIGRATION/scripts'
alias edc 'cd /tools/common/migration/edc/DPL_MIGRATION/scripts'
alias lts1 'cd /tools/common/migration/TS1/DPL_MIGRATION/scripts'
alias ing_checkout 'cd /tools/common/test/scripts/DPLIngestScripts/PERFORMANCE/checkout'
alias lssh /usr/local/bin/ssh
alias edf 'echo f4wgl01.hitc.com = 155.157.31.225'
alias ssedc 'echo 152.61.5.113 e4msl01.edcb.ecs.nasa.gov EDC'
alias 1300 'echo 1-866-703-2887 3764731# or LDR 3124259#'
alias 0800 'echo 1-866-703-2887 3764731# or LDR 3124259#'
alias 1030 'echo 1-866-903-6588 293101#'
if (-e /bin/uname) then
if (`/bin/uname` == "Linux") then
setenv LANG en_US
limit stacksize 1024k
# only GNU tail has -F option to retry follow
set dollar='$'
set quote='"'
endif
endif
alias xtm 'xterm -fn 10x20 -sb -sl 5000 -fg green -bg black -rw -cr yellow'
# RSITv7 setup
alias ssa 'source ~/.ssa'
alias ssc '/home/cmshared/.ssh2/sshconcat2'
alias ai '/usr/bin/ssh-add2 -l'
alias howto 'cd /tools/common/test/data/HOWTO'
Finally, here are a few of our crontab entries for C-shell execution:
35 14 * * 0,6 (/bin/csh -c "cd /usr/ecs/OPS/CUSTOM/utilities ; ./EcDsAmXcu.pl OPS -percent 100 -ESDT ALL -prevdays 1")
5 * * * (/bin/csh -c "cd /usr/ecs/OPS/CUSTOM/utilities ; ./EcBmBMGTManualStart --mode OPS --inc -c MYD29P1D.86" >& /dev/null)
3 3 * * * /bin/csh -c "/usr/ecs/OPS/CUSTOM/utilities/EcDlDaArchiveOldRequests.pl -mode OPS -archive 90" >> /dev/null 2>&1
30 3,7,11,15,19,23 * * * /bin/csh -c "/usr/ecs/OPS/CUSTOM/utilities/EcDsAmCleanEventHistory.pl OPS -days 15" >> /dev/null 2>&1
15 6 * * * (/bin/csh -c "cd /usr/ecs/OPS/CUSTOM/utilities; EcDbEMSdataExtractor.pl -m OPS")
Let me know if you have any questions. Thank you,
Mike Primett.
Derrick Clarke
Troy Williams
When "Red Hat" is echoed during login scp failed
The database issue
The EcDm component was missing from the list of sync cfgpatch files
Derrick Clarke
Test Day at NSIDC in the TS1 mode
Issue
SSH X Forwarding is broken in RHEL7
Xming is running and putty is configured with X11 forwarding settings, still do not see display variable.
Resolution
Edit /etc/ssh/sshd_config and change #AddressFamily any to AddressFamily inet as below
Raw
# cat /etc/ssh/sshd_config | grep -i AddressFamily
AddressFamily inet