Sunday, June 24, 2018

Drop and create dbstorage in ODA( oracle database appliance)-X5

[ root@server01 : Mon Jun 04, 05:28 PM : /root ]

$ oakcli delete dbstorage -db  dbtest01

INFO: 2018-06-05 13:37:39: Look at the log file '/opt/oracle/oak/log/server01/tools/12.2.1.2.0/deletedbstorage_s

INFO: 2018-06-05 13:37:50: Will be deleting the following if they exist:

ACFS snapshot:  /u02/app/oracle/oradata/datastore/.ACFS/snaps/dbtest01

Directory: /u01/app/oracle/oradata/datastore/dbtest01

Directory:  /u01/app/oracle/fast_recovery_area/datastore/dbtest01



Do you want to continue [Y|N]:Y

INFO: 2018-06-05 13:37:56: Deleting the storage set for the database : dbtest01

INFO: 2018-06-05 13:38:00: Successfully deleted the SNAP entries

[ root@server01 : Tue Jun 05, 01:38 PM : /root ]

$ oakcli create dbstorage -db dbtest01

INFO: 2018-06-05 13:38:21: Please check the logfile  '/opt/oracle/oak/log/server01/tools/12.2.1.2.0/createdbstor

INFO: 2018-06-05 13:38:52: Storage for the Database with the name dbtest01 is possible



Please enter the 'SYSASM'  password : (During deployment we set the SYSASM password to 'welcome1'):

Please re-enter the 'SYSASM' password:



Specify the  Database Class (1. odb-01 '1 core, 8 GB memory'   2. Others) [1] : 2



Please select one of the following for Database Class [1 .. 7] :

1    => odb-01s  (   1 cores ,     4 GB memory)

2    =>  odb-01  (   1 cores ,     8 GB memory)

3    =>  odb-02  (   2 cores ,    16 GB memory)

4    =>  odb-04  (   4 cores ,    32 GB memory)

5    =>  odb-06  (   6 cores ,    48 GB memory)

6    =>  odb-12  (  12 cores ,    96 GB memory)

7    =>  odb-16  (  16 cores ,   128 GB memory)

2

The selected value is : odb-01  (   1 cores ,     8 GB memory)

...SUCCESS: Ran /usr/bin/rsync -tarqvz /opt/oracle/oak/onecmd/ root@192.168.16.25:/opt/oracle/oak/onecmd --exclude=*RC=0



.........

SUCCESS: All nodes in /opt/oracle/oak/onecmd/tmp/db_nodes are pingable and alive.



INFO: 2018-06-05 13:50:04: Successfully setup the storage structure for the database 'dbtest01'

INFO: 2018-06-05 13:50:04: Set the following directory structure for the Database dbtest01

INFO: 2018-06-05 13:50:04: DATA: /u02/app/oracle/oradata/datastore/.ACFS/snaps/dbtest01

INFO: 2018-06-05 13:50:04: REDO: /u01/app/oracle/oradata/datastore/dbtest01

INFO: 2018-06-05 13:50:04: RECO: /u01/app/oracle/fast_recovery_area/datastore/dbtest01

SUCCESS: 2018-06-05 13:50:04: Successfully setup the Storage for the Database : dbtest01

[ root@server01 : Tue Jun 05, 01:50 PM : /root ]

No comments:

Post a Comment