I can change the script.
We have two ways to implement it.
One is searching the class of the RA in the order of ocf, heartbeat,
lsb(/etc/init.d/)
The problem of this way is if there are more than one class of the RA, only the
first one will be return.
The other way is let user give the class of RAs as a parameter of the script.
But the problem is that maybe the RAs belong to different classes.
What would you prefer?
Sun Jiang Dong wrote:
Lars Marowsky-Bree wrote:
On 2005-12-12T22:58:14, Sun Jiang Dong <[EMAIL PROTECTED]> wrote:
As I guess, the possible issues includes
1. Since haresources2cib.py should treat "mysqld asterisk httpd smb"
as heartbeat style RAs, but they are not heartbeat RAs, so the
cib.xml is not
correct.
You can change the their class from heartbeat to lsb to have a
try. Or
you can post your cib.xml to the list, I can try to correct it.
Will this ever be fixed in the conversion script? Also, will it be
taught to learn about STONITH conversion?
No. The original target of haresources2cib.py is to convert the correct
haresources file under V1. Should we should extend the targets?
Sincerely,
Lars Marowsky-Brée
--
Best Regards,
Huang Zhen
Linux Technology Center
IBM China Development Lab, Beijing
Telno: (8610)82782244-2845
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/