Database Reference
In-Depth Information
You can use the following command to check the VD location:
$ crsctl query css votedisk
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE 7141f13f99734febbf94c73148c35a85 (/dev/dm-8) [VOCR]
Located 1 voting disk(s).
To move the VD to another location, you can use the following crsctl command:
$GRID_HOME/bin/crscrsctl replace votedisk +DATA3
Managing CRS Resources
The srvctl utility can be used to manage the resources that the Clusterware manages. The resources include
database, instance, service, nodeapps, vip, asm, diskgroup, listener, scan, scan listener, serer pool, server, oc4j, home,
file system, and gns. This managed resource is specified in the < object > part of the command. The command also
specifies the management operation on the resource specified in the < action > part of the command. The operations
include enable, disable, start, stop, relocate, status, add, remove, modify, getenv, setenv,
unsetenv, config, convert, and upgrade .
srvctl <action> <object> [<options>]
Here are a few examples of SRVCTL commands.
Check the SCAN configuration of the cluster:
$srvctl config scan
SCAN name: knewrac-scan.kcloud.dblab.com , Network: 1
Subnet IPv4: 172.16.0.0/255.255.0.0/eth0
Subnet IPv6:
SCAN 0 IPv4 VIP: -/scan1-vip/172.16.150.40
SCAN name: knewrac-scan.kcloud.dblab.com , Network: 1
Subnet IPv4: 172.16.0.0/255.255.0.0/eth0
Subnet IPv6:
SCAN 1 IPv4 VIP: -/scan2-vip/172.16.150.83
SCAN name: knewrac-scan.kcloud.dblab.com , Network: 1
Subnet IPv4: 172.16.0.0/255.255.0.0/eth0
Subnet IPv6:
SCAN 2 IPv4 VIP: -/scan3-vip/172.16.150.28
Check the node VIP status on knewracn1 :
$ srvctl status vip -n knewracn1
VIP 172.16.150.37 is enabled
VIP 172.16.150.37 is running on node: knewracn1
Check the node apps on knewracn1 :
$ srvctl status nodeapps -n knewracn1
VIP 172.16.150.37 is enabled
VIP 172.16.150.37 is running on node: knewracn1
Network is enabled
Network is running on node: knewracn1
ONS is enabled
ONS daemon is running on node: knewracn1
 
Search WWH ::




Custom Search