Query Last Backup
dsmc q Filespace
Query Backup
dsmc q b -FROMDate=07/13/2012 -TODate=07/16/2012 /
Restore
dsmc REStore -FROMDate=07/13/2012 -TODate=07/16/2012 / -LATest "/opt/myfile"
Monday, July 16, 2012
Thursday, July 12, 2012
Pkgadd Silently
Create Response file
pkgask -d GIibglrm_1.0.0_b15.pkg -r /var/tmp/pkg/my.rsp
cat admin
mail=
instance=overwrite
partial=nocheck
runlevel=nocheck
idepend=nocheck
rdepend=nocheck
space=nocheck
setuid=nocheck
conflict=nocheck
action=nocheck
networktimeout=60
networkretries=3
authentication=quit
keystore=/var/sadm/security
proxy=
basedir=default
bash-3.00# cat my.rsp
LRM_ENV_NAME=sit1
LRM_APPS_HOME=/apps/lrm
BASEDIR=/apps/lrm
LRM_DATA_HOME=/apps/lrm/var/data
LRM_LOG_HOME=/apps/lrm/var/log
LRM_ARCHIVE_HOME=/apps/lrm/var/archive
LRM_DATA_STAGING=/apps/lrm/var/staging
LRM_USER=root
GROUP=root
export LRM_ENV_NAME
export LRM_APPS_HOME
export LRM_DATA_HOME
export LRM_LOG_HOME
export LRM_ARCHIVE_HOME
export LRM_DATA_STAGING
export LRM_USER
export GROUP
Install using response file
pkgadd -n -a admin -r response.rsp -d GIibglrm_1.0.0_b15.pkg
Change Root
pkgadd -n -a admin -r response.rsp -d GIibglrm_1.0.0_b15.pkg -R /apps/lrm1
pkgask -d GIibglrm_1.0.0_b15.pkg -r /var/tmp/pkg/my.rsp
cat admin
mail=
instance=overwrite
partial=nocheck
runlevel=nocheck
idepend=nocheck
rdepend=nocheck
space=nocheck
setuid=nocheck
conflict=nocheck
action=nocheck
networktimeout=60
networkretries=3
authentication=quit
keystore=/var/sadm/security
proxy=
basedir=default
bash-3.00# cat my.rsp
LRM_ENV_NAME=sit1
LRM_APPS_HOME=/apps/lrm
BASEDIR=/apps/lrm
LRM_DATA_HOME=/apps/lrm/var/data
LRM_LOG_HOME=/apps/lrm/var/log
LRM_ARCHIVE_HOME=/apps/lrm/var/archive
LRM_DATA_STAGING=/apps/lrm/var/staging
LRM_USER=root
GROUP=root
export LRM_ENV_NAME
export LRM_APPS_HOME
export LRM_DATA_HOME
export LRM_LOG_HOME
export LRM_ARCHIVE_HOME
export LRM_DATA_STAGING
export LRM_USER
export GROUP
Install using response file
pkgadd -n -a admin -r response.rsp -d GIibglrm_1.0.0_b15.pkg
Change Root
pkgadd -n -a admin -r response.rsp -d GIibglrm_1.0.0_b15.pkg -R /apps/lrm1
Wednesday, July 11, 2012
ORA-12505: TNS:listener does not currently know of SID given in connect descriptor
can connect to the current SID by using sqlplus but I cannot connect to it by using jdbc with the following url:
view sourceprint?
jdbc:oracle:thin:@aHost:1521:theSID
Resolution:
if Oracle Data Rack used, Service Name and URL must be used instead of SID and server name.
jdbc:oracle:thin:@//aHost:1521/theServiceName
view sourceprint?
jdbc:oracle:thin:@aHost:1521:theSID
Resolution:
if Oracle Data Rack used, Service Name and URL must be used instead of SID and server name.
jdbc:oracle:thin:@//aHost:1521/theServiceName
Subscribe to:
Posts (Atom)