oracle rac crsctl命令使用(三)
ediately
crsctl start crs [-excl [-nocrs]|-nowait]
Start OHAS on this server
where
-excl Start Oracle Clusterware in exclusive mode
-nocrs Start Oracle Clusterware in exclusive mode without starting CRS
-nowait Do not wait for OHAS to start
crsctl start cluster [[-all]|[-n [...]]]
Start CRS stack
where
Default Start local server
-all Start all servers
-n Start named servers
server [...] One or more blank-separated server names
crsctl start ip -A {|}//
Start an IP on the given interface with specified net mask
Where
IP_name Name which resolves to an IP. If it is not a fully qualified domain name then standard name search will be used.
IP_address IP address
net_mask Subnet mask for the IP to start
interface_name Interface on which to start the IP
crsctl start testdns [-address ] [-port ][-domain ] [-once][-v]
Start a test DNS listener that listens on the given address at the given port and for specified domain
Where
IP_address IP address to be used by the listener (defaults to hostname)
port The port on which the listener will listen. Default value is 53.
domain The domain query for which to listen. By default, all domain queries are processed.
-once Flag indicating that DNS listener should exit after one DNS query packet is received
-v Verbose output
[root@db1 ~]# crsctl status -h
Usage:
crsctl status {resource|type|serverpool|server} [
|-w ] [-g]
where
name CRS entity name
-w CRS entity filter
-g Check if CRS entities are registered
crsctl status ip -A {|}
Check if the IP is alive
Where
IP_name Name which resolves to an IP. If name is not fully qualified domain name then standard name search will be used.
IP_address IP address
crsctl status testdns [-address ] [-port ] [-v]
Check status of DNS server for specified domain
Where
IP_address DNS server address (defaults to hostname)
port The port on which the DNS server is listening. Default value for the port is 53.
-v Verbose output