SRVCTL Commands HTML
SRVCTL Commands HTML
Next Blog
Create Blog
Sign In
Select Language
Like
18
11g R2
Database:
srvctl add database -d db_name -o ORACLE_HOME [-m domain_name][-p spfile] [-A name|ip/netmask]
[-r {PRIMARY|PHYSICAL_STANDBY|LOGICAL_STANDBY|SNAPSHOT_STANDBY}]
[-s start_options] [-n db_name] [-y {AUTOMATIC|MANUAL}]
srvctl add database -d prod -o /u01/oracle/product/102/prod
My Articles
Background processes in RAC
clscfg commands in RAC
pdfcrowd.com
crs_unregister crs_setperm
crs_getperm crs_start crs_stop
crs_relocate commands in RAC
crs_stat commands in RAC
crsctl commands in RAC
dd commands
diagcollection.pl commands in RAC
RACcheck utility
racgons commands in RAC
racone omotion in RAC
RAID
SCAN in RAC
srvconfig commands in RAC
srvctl commands in RAC
Virtual IP (VIP) in RAC
Wait Events in Oracle RAC
What's new in Oracle 12c RAC
What's new in Oracle 9i/10g/11g
RAC
Followers
config
config
config
config
database
database -d db_name [-a] [-t]
database
database -d HYD -a
srvctl modify database -d db_name [-n db_name] [-o ORACLE_HOME] [-m domain_name] [-p spfile]
[-r {PRIMARY|PHYSICAL_STANDBY|LOGICAL_STANDBY|SNAPSHOT_STANDBY}] [-s start_options] [-y
{AUTOMATIC|MANUAL}]
srvctl modify database -d hrms -r physical_standby
srvctl modify db -d RAC -p /u03/oradata/RAC/spfileRAC.ora -- moves p file
srvctl modify database d HYD o /u01/app/oracle/product/11.1/db s open
srvctl getenv database -d db_name [-t name_list]
srvctl getenv database -d prod
pdfcrowd.com
In 11g Release 2,
Follow by Email
Email address...
Submit
Popular Posts
srvctl commands in Oracle RAC
pdfcrowd.com
Instance:
srvctl add instance d db_name i inst_name -n node_name
srvctl add instance -d prod -i prod01 -n linux01
pdfcrowd.com
In 11g Release 2,
Service:
srvctl add service -d db_name -s service_name -r pref_insts [-a avail_insts] [-P TAF_policy]
srvctl add service -d db_name -s service_name -u {-r "new_pref_inst" | -a "new_avail_inst"}
srvctl add service -d RAC -s PRD -r RAC01,RAC02 -a RAC03,RAC04
srvctl add serv -d CRM -s CRM -r CRM1 -a CRM3 -P basic
pdfcrowd.com
srvctl start service -d db_name [-s service_names [-i inst_name]] [-o start_options]
srvctl start service -d db_name -s service_names [-o open]
srvctl start service -d db_name -s service_names -o nomount
srvctl start service -d db_name -s service_names -o mount
srvctl start serv -d dwh -s dwh
srvctl status service -d db_name [-s service_names] [-f] [-v] [-S level]
srvctl status service -d dev -s dev
modify
modify
modify
modify
modify
service
service
service
service
serv -d
In 11g Release 2,
pdfcrowd.com
pdfcrowd.com
srvctl
srvctl
srvctl
srvctl
srvctl
srvctl
modify
modify
modify
modify
modify
modify
service
service
service
service
serv -d
service
Nodeapps:
#srvctl add nodeapps -n node_name -o ORACLE_HOME -A name|ip/netmask[/if1[|if2|...]]
#srvctl add nodeapps -n lnx02 -o $ORACLE_HOME -A 192.168.0.151/255.255.0.0/eth0
#srvctl remove nodeapps -n node_names [-f]
#srvctl start nodeapps -n node_name
#srvctl stop nodeapps -n node_name [-r] -- Stops GSD, VIP, listener & ONS
#srvctl status nodeapps -n node_name
#srvctl config nodeapps -n node_name [-a] [-g] [-o] [-s] [-l]
-a Display VIP configuration
-g Display GSD configuration
-s Display ONS daemon configuration
-l Display listener configuration
#srvctl modify nodeapps -n node_name [-A new_vip_address]
#srvctl modify nodeapps -n lnx06 -A 10.50.99.43/255.255.252.0/eth0
#srvctl getenv nodeapps -n node_name [-t name_list]
#srvctl setenv nodeapps -n node_name {-t "name=val[,name=val,...]"|-T "name=val"}
#srvctl setenv nodeapps n adcracdbq3 t TNS_ADMIN=/u01/app/oracle/product/11.1/asm/network/admin
#srvctl unsetenv nodeapps -n node_name [-t name_list]
In 11g Release 2,
pdfcrowd.com
ASM:
srvctl add asm -n node_name -i asminstance -o ORACLE_HOME [-p spfile]
srvctl remove asm -n node_name [-i asminstance] [-f]
srvctl remove asm -n db6
srvctl
srvctl
srvctl
srvctl
srvctl
start
start
start
start
start
asm -n
asm -n
asm -n
asm -n
asm -n
node_name
node_name
node_name
node_name
linux01
[-i
[-i
[-i
[-i
asminstance]
asminstance]
asminstance]
asminstance]
srvctl stop asm -n node_name [-i asminstance] [-o stop_options] [-c connect_str|-q]
srvctl stop asm -n node_name [-i asminstance] [-o normal]
srvctl stop asm -n node_name [-i asminstance] -o transactional
pdfcrowd.com
srvctl
srvctl
srvctl
srvctl
stop
stop
stop
stop
asm -n
asm -n
asm -n
asm -n
In 11g Release 2,
pdfcrowd.com
Listener:
srvctl add listener -n node_name -o ORACLE_HOME [-l listener_name] --
11g R1 command
In 11g Release 2,
pdfcrowd.com
Home:
srvctl start home -o ORACLE_HOME -s state_file [-n node_name]
srvctl start home -o /u01/app/oracle/product/11.2.0/db_1 -s ~/state.txt
srvctl stop home -o ORACLE_HOME -s state_file [-t stop_options] [-n node_name] [-f]
srvctl stop home -o /u01/app/oracle/product/11.2.0/db_1 -s ~/state.txt
srvctl status home -o ORACLE_HOME -s state_file [-n node_name]
pdfcrowd.com
EONS
srvctl add eons [-p portnum] [-m multicast-ip-address] [-e eons-listen-port] [-v]
#srvctl add eons -p 2018
srvctl remove eons [-f] [-v]
srvctl remove eons -f
srvctl start eons [-v]
srvctl start eons
srvctl stop eons [-f] [-v]
srvctl stop eons -f
srvctl status eons
srvctl enable eons [-v]
srvctl enable eons
pdfcrowd.com
FileSystem:
srvctl add filesystem -d volume_device -v volume_name -g diskgroup_name [-m mountpoint_path] [-u user_name]
srvctl add filesystem -d /dev/asm/d1volume1 -v VOLUME1 -d RAC_DATA -m /oracle/cluster1/acfs1
srvctl remove filesystem -d volume_device_name [-f]
srvctl remove filesystem -d /dev/asm/racvol1
srvctl start filesystem -d volume_device_name [-n node_name]
srvctl start filesystem -d /dev/asm/racvol3
srvctl stop filesystem -d volume_device_name [-n node_name] [-f]
srvctl stop filesystem -d /dev/asm/racvol1 -f
srvctl status filesystem -d volume_device_name
srvctl status filesystem -d /dev/asm/racvol2
srvctl enable filesystem -d volume_device_name
srvctl enable filesystem -d /dev/asm/racvol9
srvctl disable filesystem -d volume_device_name
srvctl disable filesystem -d /dev/asm/racvol1
srvctl config filesystem -d volume_device_path
srvctl modify filesystem -d volume_device_name -u user_name
srvctl modify filesystem -d /dev/asm/racvol1 -u sysadmin
pdfcrowd.com
Server:
srvctl status server -n "server_name_list" [-a]
srvctl status server -n server11 -a
srvctl relocate server -n "server_name_list" -g server_pool_name [-f]
srvctl relocate server -n "linux1, linux2" -g sp2
pdfcrowd.com
Scan_listener:
srvctl add scan_listener [-l lsnr_name_prefix] [-s] [-p "[TCP:]port_list[/IPC:key][/NMP:pipe_name][/TCPS:s_port]
[/SDP:port]"]
#srvctl add scan_listener -l myscanlistener
srvctl remove scan_listener [-f]
srvctl remove scan_listener
srvctl remove scan_listener -f
srvctl start scan_listener [-n node_name] [-i ordinal_number]
srvctl start scan_listener
srvctl start scan_listener -i 1
srvctl stop scan_listener [-i ordinal_number] [-f]
srvctl stop scan_listener -i 3
srvctl status scan_listener [-i ordinal_number]
srvctl status scan_listener
srvctl status scan_listener -i 1
srvctl enable scan_listener [-i ordinal_number]
srvctl enable scan_listener
srvctl enable scan_listener -i 2
srvctl disable scan_listener [-i ordinal_number]
srvctl disable scan_listener
srvctl disable scan_listener -i 1
srvctl config scan_listener [-i ordinal_number]
srvctl config scan_listener
srvctl config scan_listener -i 3
srvctl modify scan_listener {-p [TCP:]port[/IPC:key][/NMP:pipe_name] [/TCPS:s_port][/SDP:port] | -u }
srvctl modify scan_listener -u
srvctl relocate scan_listener -i ordinal_number [-n node_name]
srvctl relocate scan_listener -i 1
ordinal_number=1,2,3
pdfcrowd.com
pdfcrowd.com
pdfcrowd.com
funny (0)
interesting (1)
cool (1)
10 comments
Add a comment
Top comments
Satya Thirumani shared this via Google+ 2 years ago - Shared publicly
1 Reply
1 Reply
Sachin
Are you a developer? Try out the Thank
HTML you,
to PDF
APIgreat work, really appreciate it
pdfcrowd.com
Newer Post
Home
Older Post
pdfcrowd.com
pdfcrowd.com