GI restart

01

Restart 10.150.138.200

10.150.138.200 no instance, set a root password

01. Backup System Information

mkdir -p /bakinfo

df -h > /bakinfo/df.txt_`date +%Y%m%d%H%M%S`

ps -ef > /bakinfo/ps.txt_`date +%Y%m%d%H%M%S`

ip a > /bakinfo/ip.txt_`date +%Y%m%d%H%M%S`

netstat -rn > /bakinfo/netstat.txt_`date +%Y%m%d%H%M%S`

free -g > /bakinfo/free.txt_`date +%Y%m%d%H%M%S`

route -n > /bakinfo/route_`date +%Y%m%d%H%M%S`

multipath -ll > /bakinfo/multipath_`date +%Y%m%d%H%M%S`

sysauto_SF lunuseinfo > /bakinfo/lun_`date +%Y%m%d%H%M%S`

cat /etc/multipath.conf > /bakinfo/lultipath.conf_`date +%Y%m%d%H%M%S`

oracleasm listdisks > /bakinfo/disk_`date +%Y%m%d%H%M%S`

02. notify the appropriate person in charge of the application stop application

DBA Ceku notice informing operation and maintenance personnel to stop the application and notification system set to restart after Ceku

03.GI server shutdown

Verify that the server is no longer the database processes

ps -ef | grip SMON

Stop CRS

crsctl stop crs

CRS ban starts automatically once the server is started

crsctl disable crs

Check the server is no longer relevant application process

ps -ef | grep -v root

Check the server connection is no longer relevant

netstat -antlp | grep -i est

Check the server is no longer shared nfs volume

showmount -e

Check the server NAS or SAN storage mount no Umount

df -hTP

Check the server if there is no recovery LUN

multipath -ll

Shutdown

sync

sync

sync

shutdown -ry now

04.OS verification

Verify whether the change in the basic configuration server

Free -g # check whether there are changes in memory, if memory configuration if there are changes, please note that the result of the expected size

cat / proc / cpuinfo | grep physical | uniq -c # to check whether the change in the number of CPU

ip a # backup information and compare whether all IP All mounts

df -h # backup information and compare whether all mounted disks of all, the size of the disk information is correct, if expanded, delete the disk operating verify whether the expected size

route -n # compare routing and backup information is normal

Ntpq -p # check whether the normal start ntp

date # to check whether the normal time

hwclock # time to check whether the correct hardware

The following authentication server for all SAN storage

If multipath -ll # backup information and compare link have lost, if memory related operations to check whether the results in line with expectations

Are sysauto_SF lunuseinfo # compare disk and backup information fully loaded, if storage, ASM disk related operations to check whether the results in line with expectations

Verify that the system is normal, the normal startup volume CRS

crsctl enable crs

crsctl start crs # manually start the CRS

# Observation watch -n 1 "crsctl stat res -t -init" CRS start state

After crsctl check crs # confirm that all start to see whether the status of all online

crsctl stat res -t # Are all the major online resource

05. notification application verification

Cut back on duty to inform DBA database to verify normal

Guess you like

Origin blog.51cto.com/476946/2418746