source /etc/voyence.conf
source $VOYENCE_HOME/tools/voyencedev_bash_profile
source <Product Home>/tools/voyencedev_bash_profile
Note: The voyencedev_bash_profile script will automatically source the /etc/voyence.conf script to create appropriate enviornment variables including VOYENCE_HOME. This makes it unnecessary to run the source /etc/voyence.conf command separately.
Preset alias to navigate to the NCM product home directory:
Alias: cdv="cd $VOYENCE_HOME"
Sample usage and output:
[root@sample_domain /]#cdv
[root@sample_domain ionix-ncm]#
Preset alias to launch the PostgreSQL client:
Alias: pg = "su - pgdba"
Sample usage and output:
[root@sample_domain /]#pg
-bash-3.2$
Preset alias to a show all records in the master cflist infrastructure database that contain a specified string:
Alias: cfg = "$VOYENCE_HOME/cgi-bin/clist.cgi " grep "
Sample usage and output:
[root@sample_domain /]#cfg "POP 1000"
POP 1000 "sample_domain.smartsupport.local" NetList= RsrcList= DevList=1001,1002 EmsList= : ADDR="<IP address redacted>" AGE_DAYS=730 CLEANUP_DAYS=90 AD_ENABLE=0 AD_ARPCACHE=0 AD_DFLTROUTE=0 AD_AUTO_RESOURCE=0 AD_DEFAULT_POLL=0 SNMP_TIMEOUT=500 SNMP_RETRY=3 CM_DEBUGSESSION=1 SORTCONFIG=1 CM_MAXMAINTASKS=20 CM_PULLTIMER=1200 CUTTHRU_PULLTIMER=10 MAX_COMM_ATTEMPTS="5" CM_SMGR_CACHING_ENABLED=1 CM_SMGR_SESSION_TIMEOUT=60 CM_SMGR_SESSIONS_PER_DEVICE=4 AD_BATCHSIZE=1000 AD_NUMHOP=10 AD_TIMEOUT=10 AD_LOOPCNT=2 CM_NATTEDIP_LOOKUP=1 RECORDVER="1.0"
[root@sample_domain /]#
For a complete list of preset aliases created by the $VOYENCE_HOME/tools/voyencedev_bash_profile script, review the contents of the file in any text editor.