Basic Oracle Exadata Machine administration
Using dcli
- connect as oracle user
- create a file named mycells
cat <<> mycellsdbserver01
dbserver02
dbserver03
dbserver04
END
- Generate a ssh key pair
-
ssh-keygen -t rsa
- You have completed. Now try it.
dcli -g mycells "cat /proc/meminfo | grep Mem"
How to check Exadata version?
[root@remote_dbacell1 ~]# imageinfo [root@remote_dbacell1 ~]# imagehistory |
How to clean exawatcher logs?
(Doc ID 1617454.1)One-time cleanup for ExaWatcher logs:
- Stop ExaWatcher
./ExaWatcher.sh --stop - Adjust on the command line for a one-time cleanup operation ... will remove all older ExaWatcher logs over 2GB quotaOutput showing ExaWatcherCleanup.sh execution will be written to the console. When completed you will see something similar to:"Current size of the result directory /opt/oracle.ExaWatcher/archive/ is 2097152 after clean up. Please see /opt/oracle.ExaWatcher/log/OldFilesDeleted.log to look for the files deleted." - Use 'control C' to exit from cleanup script
./ExaWatcher.sh --spacelimit "spacelimit" (in MB)ex) ./ExaWatcher.sh --spacelimit 2048
- Restart ExaWatcher
/opt/oracle.cellos/validations/bin/vldrun.pl -script oswatcher
How to change OS user password for Cell Node, Database Node , ILOM, KVM , Infiniband Switch , GigaBit Ethernet Switch and PDU on Exadata Database Machine
(Doc ID 1291766.1)
- set /SP/users/root password
> dcdli -g dbs_cell_group_ilom -| root " ipmitool sunoem cli 'set /SP/users/root password=newpassword' oldpassword"
How to stop database nodes?
- /grid/bin/crsctl stop crs –f
- Shutdown oswatcher
cd /opt/oracle/oswatcher/osw//stopOSW.sh
How to power on/off sequence?
Power off sequence
- On Database server
- crsctl stop cluster
- shutdown –h –u now
On Storage server
- Shutdown –h –y now
Turn off Rack, network switches
Power on sequence
- Rack, network switches
- Storage server
- Database server
How to Shutdown Exadata storage Server?
Shutdown sequence
|
Startup sequence
|
How to replacing a Damaged Physical disk?
- cellcli> LIST ALERTHISTORY WHERE ALERTMESSAGE LIKE “Logical drive lost.*” DETAIL
- Replace the physical disk
- ALTER PHYSICALDISK
- Monitor the ASM to confirm the re-addition of the disk
Replacing a damaged Flash Card
cellcli> LIST PHYSICALDISK DETAIL- power off cell
- replace the damanged card
- power on the cell
Moving all disk from one cell to another
cellcli> ALTER GRIDDISK ALL INACTIVE- Backup OS config
- Move the disk,flashcard, disk controller and CELLBOOT to new cell
- Boot the new cell
- Restart cell services
Cellcli> ALTER CELL RESTART SERVICES ALL
- Activate the gird disks
Cellcli> ALTER GRDDISK ALL ACTIVE
No comments:
Post a Comment