Friday, September 21, 2012

oracle clusterware command

as grid infrastructure user

#start high availability infrastructure
crsctl start has 

#stop high avialability infrastructure
crsctl stop has

#check crs status
crs_stat -t

#check crs status
crsctl status resource

as  grid infrastructure user or database owner
#make a one node database start and stop automatic
# -a is required if you use ASM otherwise db startup will failed
srvctl add database -d <database name> [-a "diskgroup,diskgroup"]

#check database restart config
srvctl config database -d <database name>


reference:
http://docs.oracle.com/cd/E11882_01/server.112/e25494/restart005.htm

No comments:

Post a Comment