Register DB in Cluster

srvctl add database -d ILMDEV05_DSDX02 -o /u01/app/oracle/product/19.0.0.0/dbhome_1
srvctl modify database -d  ILMDEV05_DSDX02 -diskgroup "DATAC1,RECOC1,DBFSC1"
srvctl modify database -d  ILMDEV05_DSDX02 -spfile /u01/app/oracle/product/19.0.0.0/dbhome_1/dbs/spfileilmdev05.ora

srvctl modify database -d ILMDEV05_DSDX02 -pwfile /u01/app/oracle/product/19.0.0.0/dbhome_1/dbs/orapwilmdev05

srvctl add instance -d ILMDEV05_DSDX02 -i ilmdev05 -n dzas3x02adm02vm01

srvctl modify database -d ILMDEV05_DSDX02 -dbname ilmdev05

srvctl modify database -d COLUAT01_DSDX02 -role PRIMARY
srvctl modify database -d COLUAT01_DSDX02 -startoption open

srvctl modify database -d COLUAT01_DSDX02 -role PHYSICAL_STANDBY
srvctl modify database -d COLUAT01_DSDX02 -startoption mount
   

$ srvctl status
Usage: srvctl []
commands: enable|disable|start|stop|status|add|remove|modify|getenv|setenv|unsetenv|config|upgrade
objects: database|service|asm|diskgroup|listener|home|ons


For detailed help on each command and object and its options use:
srvctl -h or
srvctl -h


$ srvctl -h
Usage: srvctl [-V]
Usage: srvctl add database -d -o [-m ] [-p ] [-r {PRIMARY | PHYSICAL_STANDBY | LOGICAL_STANDBY | SNAPSHOT_STANDBY}] [-s ] [-t ] [-n ] [-i ] [-y {AUTOMATIC | MANUAL | NORESTART}] [-a ""]
Usage: srvctl config database [-d [-a]] [-v]
Usage: srvctl start database -d [-o ]
Example: srvctl start database -d DB_NAME -o nomount Usage: srvctl stop database -d [-o ] [-f]
Usage: srvctl status database -d [-f] [-v]
Usage: srvctl enable database -d
Usage: srvctl disable database -d
Usage: srvctl modify database -d [-n ] [-i ] [-o ] [-u ] [-m ] [-p ] [-r {PRIMARY | PHYSICAL_STANDBY | LOGICAL_STANDBY | SNAPSHOT_STANDBY}] [-s ] [-t ] [-y {AUTOMATIC | MANUAL | NORESTART}] [-a ""|-z] [-f]
Usage: srvctl remove database -d [-f] [-y] [-v]
Usage: srvctl getenv database -d [-t ""]
Usage: srvctl setenv database -d {-t =[,=,...] | -T =}
Usage: srvctl unsetenv database -d -t ""
Usage: srvctl upgrade database -d -o
Usage: srvctl downgrade database -d -o -t


Usage: srvctl add service -d -s [-l [PRIMARY][,PHYSICAL_STANDBY][,LOGICAL_STANDBY][,SNAPSHOT_STANDBY]] [-y {AUTOMATIC | MANUAL}][-q {true|false}] [-j {SHORT|LONG}] [-B {NONE|SERVICE_TIME|THROUGHPUT}][-e {NONE|SESSION|SELECT}] [-m {NONE|BASIC}][-z ] [-w ] [-t ] [-f]
Usage: srvctl config service -d [-s ] [-v]
Usage: srvctl start service -d [-s ""] [-o ]
Usage: srvctl stop service -d [-s ""] [-f]
Usage: srvctl status service -d [-s ""] [-f] [-v]
Usage: srvctl enable service -d -s ""
Usage: srvctl disable service -d -s ""
Usage: srvctl modify service -d -s [-l [PRIMARY][,PHYSICAL_STANDBY][,LOGICAL_STANDBY][,SNAPSHOT_STANDBY]] [-y {AUTOMATIC | MANUAL}][-q {true|false}] [-j {SHORT|LONG}] [-B {NONE|SERVICE_TIME|THROUGHPUT}] [-e {NONE|SESSION|SELECT}] [-m {NONE|BASIC}] [-z ] [-w ] [-t ]
Usage: srvctl remove service -d -s [-f]


Usage: srvctl add asm [-l ] [-p ] [-d ]
Usage: srvctl config asm [-a]
Usage: srvctl start asm [-o ]
Usage: srvctl stop asm [-o ] [-f]
Usage: srvctl status asm [-a] [-v]
Usage: srvctl status asm [-a] [-v]
Usage: srvctl enable asm
Usage: srvctl disable asm
Usage: srvctl modify asm [-l ] [-p ] [-d ]
Usage: srvctl remove asm [-f]
Usage: srvctl getenv asm [-t [, ...]]
Usage: srvctl setenv asm -t "= [,...]" | -T "="
Usage: srvctl unsetenv asm -t "[, ...]"
Usage: srvctl start diskgroup -g
Usage: srvctl stop diskgroup -g [-f]
Usage: srvctl status diskgroup -g [-a] [-v]
Usage: srvctl enable diskgroup -g
Usage: srvctl disable diskgroup -g
Usage: srvctl remove diskgroup -g [-f]


Usage: srvctl add listener [-l ] [-s] [-p "[TCP:][, ...][/IPC:][/NMP:][/TCPS:] [/SDP:]"] [-o ]
Usage: srvctl config listener [-l ]
Usage: srvctl start listener [-l ]
Usage: srvctl stop listener [-l ] [-f]
Usage: srvctl enable listener [-l ]
Usage: srvctl disable listener [-l ]
Usage: srvctl modify listener [-l ] [-o ] [-p "[TCP:][, ...][/IPC:][/NMP:][/TCPS:] [/SDP:]"]
Usage: srvctl remove listener [-l | -a] [-f]
Usage: srvctl getenv listener [-l ] [-t [, ...]]
Usage: srvctl setenv listener [-l ] -t "= [,...]" | -T "="
Usage: srvctl unsetenv listener [-l ] -t "[, ...]"


Usage: srvctl start home -o -s
Usage: srvctl stop home -o -s [-t ] [-f]
Usage: srvctl status home -o -s


Usage: srvctl add ons [-e ] [-l ] [-r ] [-t [:][,[:]...]] [-v]
Usage: srvctl remove ons [-f] [-v]
Usage: srvctl enable ons [-v]
Usage: srvctl disable ons [-v]
Usage: srvctl modify ons [-e ] [-l ] [-r ] [-t [:][,[:]...]] [-v]
Usage: srvctl config ons
Usage: srvctl status ons [-v]
Usage: srvctl start ons [-v]
Usage: srvctl stop ons [-v]

HOME