Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problem that hacmp cannot be started after a sudden power outage of AIX

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces "how to solve the problem that hacmp can not start after a sudden power outage of AIX". In daily operation, I believe that many people have doubts about how to solve the problem that hacmp cannot start after a sudden power outage of AIX. Xiaobian consulted all kinds of data and sorted out simple and easy-to-use operation methods. I hope it will be helpful for you to answer the doubt that "how to solve the problem that hacmp can not start after a sudden power outage of AIX". Next, please follow the editor to study!

Hacmp cannot be started because of the power outage of database minicomputer and storage caused by ups problem

It is found that there is a problem with the identification of the hard disk on the jzpt1. The original hard disk is from hdisk0--hdisk11, now it is from hdisk2 to hdisk9, and there are many hard drives behind hdisk12, through rmdev-Rdl.

Hdisk2 to all end hard drives, cfgmgr-v re-identified, but wrong in importvg Times

0516-082 lqueryvg: Unable to access a special device file.

Execute redefinevg and synclvodm to build correct environment.

0516-082 lqueryvg: Unable to access a special device file.

Execute redefinevg and synclvodm to build correct environment.

0516-1140 importvg: Unable to read the volume group descriptor area

On specified physical volume.

All newly identified hard drives do not have pvid

Use the following command:

Chdev-l hdisk2-a pv=yes, error:

Method error (/ usr/lib/methods/chgdisk):

0514-047 Cannot access a device.

Use the following methods to solve the problem:

Rmdev-Rdl hdisk2

Rmdev-Rdl hdisk3

.

Rmdev-Rdl hdisk11

Delete all disks

Rmdev-Rdl fcs0

.

Rmdev-Rdl fcs3

Cfgmgr-v

Pvid was found in all pv.

But found out

Hdisk2-hdisk8 on jzpt1 is in the same order as pv on jzpt2, but hdisk9 (on jzpt2), which also belongs to datavg, is hdisk10 on jzpt1. There is a difference in the order of the two hard drives.

And they are all datavg. It seems that in the future, when doing shared vg, try not to use multiple small lun, but use a small amount of high-capacity lun, in order to reduce the imagination of inconsistent hdisk sequence.

As a last resort, datavg varyon on jzpt2, and then smitty reducevg, but hint that you are going to destroy the bare device content on datavg.

You have to use the smitty migratepv command to move the content on hdisk9 to hdisk2. After lspv-p datavg, it is found that there is no content on hdisk9, but the content on hdisk2 is better than that on hdisk3.

Wait for a lot of disk content.

Lsvg-p datavg

Datavg:

PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION

Hdisk2 active 1599 811 62..00..109..320..320

Hdisk3 active 1599 1155 192..04..319..320..320

Hdisk4 active 1599 1155 192..04..319..320..320

Hdisk5 active 1599 1087 64..64..319..320..320

Hdisk6 active 1599 1087 64..64..319..320..320

Hdisk7 active 1599 1135 112..64..319..320..320

Hdisk8 active 1599 1215 192..64..319..320..320

Hdisk9 active 1599 1599 192..64..319..320..320

Then use smitty reducevg to remove the hdisk9 from the datavg. This keeps the hdisk in the datavg on jzpt1 and jzpt2 consistent.

Execute smitty importvg on jzpt1

Vg writes datavg,pv writes hdisk2. Datavg has been imported. Assign bare devices in datavg to the Oracle:dba user group.

Problem solving

Later, it was found that the hacmp of jzpt1 could be started and the datavg could be pulled concurrently, but the datavg of jzpt2 could not, so delete all the storage disks on jzpt2, delete the hba card, and then re-

In fact, the fundamental problem is that the operating system does not install storage multipathing software.

At this point, the study on "how to solve the problem that hacmp can not start after a sudden power outage of AIX" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report