Sponsored Content
Operating Systems AIX HACMP 5.4 with AIX 5300-10 not working Post 302338798 by shockneck on Wednesday 29th of July 2009 02:01:49 AM
Old 07-29-2009
Quote:
Originally Posted by DrKillPatient
[...]----------------------------------------------------------------------
Configuring cluster topology.
ERROR: Unable to use communication interface '192.168.0.1'.

ERROR: Unable to use communication interface 'ibmaix02.xxxxxxxx.com'.

For each of the above invalid communication interfaces listed,
please check that the owning node is running the clcomdES subsystem,
and that the /usr/es/sbin/cluster/etc/rhosts file is properly configured.
Also, check /var/hacmp/clcomd/clcomd.log logfile on remote node for possible errors.

----------------------------------------------------------------------[...]
A short checklist for base configuration:
- TCP/IP addresses follow cluster IPAT rules.
- make sure that every IP address and label used by the cluster is in every nodes /etc/hosts,
- blank the cluster rhosts,
- make sure you can ping every ethernet interface from any other cluster ethernet interface
- check that clstrmgrES is running on both nodes
- start over with cluster two node configuration assistant
 

10 More Discussions You Might Find Interesting

1. AIX

Issue "Error 404" when upgrade AIX 5300-05-CSP-0000 to AIX (5300-09-02-0849)

Please read my issue! My old server using: - AIX system operating (5300-05-CSP-0000) - WebSphere 6.1.0.21 (Fix Pack 21) After I've upgraded version AIX - AIX system operating (5300-09-02-0849) - WebSphere 6.1.0.21 (Fix Pack 21) I have 1 issue when I access home page: "Error... (0 Replies)
Discussion started by: gamonhon
0 Replies

2. AIX

Using AIX HACMP and NFS together

Hi, need advice on this. Is it possible to assign a mountpoint from a SAN storage to server1 & server2. Use NFS to the same mountpoint from server2 so that concurrent access is allowed. Can this setup be used together with HACMP? If server1 crash, the mountpoint resource will swing to... (8 Replies)
Discussion started by: chongkls77
8 Replies

3. AIX

Oracle 9.2.0.1.0 on AIX 5300-07

Seek help from all of the experts here. Database Oracle 9.2.0.1.0 run on AIX 5300-07. The system is running so slow that sometime 1 click of changing screen will take more than 5 minutes. The hardware in this LPAR is 6CPUs, 21GB-RAM, 42GB-Paging and run on p570 server POWER 5+. And the vmo... (2 Replies)
Discussion started by: kwliew999
2 Replies

4. AIX

How to install AIX Fix Pack 5300-06-06-0811

Hi All, I have this fix for AIX (5300-06-06-0811) and i need to install it. How can i do this? What are the prerequisites for this fix? Thanks (1 Reply)
Discussion started by: lucaxvu
1 Replies

5. UNIX for Advanced & Expert Users

HACMP version for AIX 6.1

Hello. We are using AIX 5.3 with HACMP 5.4.1. At this moment AIX and clustering are using 2 servers. A third server is added. It does not seem to work with HACMP. Are there any controle checks? Thank you if you could help. Regards, Ynze van Aken Netherlands (0 Replies)
Discussion started by: yvanaken
0 Replies

6. AIX

Service IP issue in HACMP, Working with only one node

Hi, I have a running HACMP Cluster with two nodes. Its working in active/passive mode. (i.e Out of the two nodes in the cluster one will be active and the other one will be on standby. If first node fails the other takes over) 1. There is a Service IP associated with the cluster. Now the... (2 Replies)
Discussion started by: aixromeo
2 Replies

7. AIX

Hacmp for aix 5.3

Hi where from i can get hacmp for studying pupose (trial ). I have AIX 5.3 TL 7 i googled. i didnt get any link. Please suggest. (1 Reply)
Discussion started by: sunnybee
1 Replies

8. AIX

AIX 5300-05-06-0000 to 5300-09-00-0846 FAILED

I'm having this trouble when smit update_all. ========================================================== MISSING REQUISITES: The following filesets are required by one or more of the selected filesets listed above. They are not currently installed and could not be found on the... (5 Replies)
Discussion started by: liberatti
5 Replies

9. AIX

How to check if HACMP is running on AIX node?

Hello AIX experts, I have few queries and appreciate if you could help me with them. 1. How to check if HACMP (or any other AIX OS cluster) is installed 2. How to check if HACMP (or any other AIX OS cluster) is running 3. how to check which Oracle DB instance is running on it 4. how to... (1 Reply)
Discussion started by: prvnrk
1 Replies

10. AIX

Clstat not working in a HACMP 7.1.3 cluster

I have troubles making clstat work. All the "usual suspects" have been covered but still no luck. The topology is a two-node active/passive with only one network-interface (it is a test-setup). The application running is SAP with DB/2 as database. We do not use SmartAssists or other gadgets. ... (8 Replies)
Discussion started by: bakunin
8 Replies
Class::Method::Modifiers(3pm)				User Contributed Perl Documentation			     Class::Method::Modifiers(3pm)

NAME
Class::Method::Modifiers - provides Moose-like method modifiers SYNOPSIS
package Child; use parent 'Parent'; use Class::Method::Modifiers; sub new_method { } before 'old_method' => sub { carp "old_method is deprecated, use new_method"; }; around 'other_method' => sub { my $orig = shift; my $ret = $orig->(@_); return $ret =~ /d/ ? $ret : lc $ret; }; after 'private', 'protected' => sub { debug "finished calling a dangerous method"; }; use Class::Method::Modifiers qw(fresh); fresh 'not_in_hierarchy' => sub { warn "freshly added method "; }; DESCRIPTION
Method modifiers are a convenient feature from the CLOS (Common Lisp Object System) world. In its most basic form, a method modifier is just a method that calls "$self->SUPER::foo(@_)". I for one have trouble remembering that exact invocation, so my classes seldom re-dispatch to their base classes. Very bad! "Class::Method::Modifiers" provides three modifiers: "before", "around", and "after". "before" and "after" are run just before and after the method they modify, but can not really affect that original method. "around" is run in place of the original method, with a hook to easily call that original method. See the "MODIFIERS" section for more details on how the particular modifiers work. One clear benefit of using "Class::Method::Modifiers" is that you can define multiple modifiers in a single namespace. These separate modifiers don't need to know about each other. This makes top-down design easy. Have a base class that provides the skeleton methods of each operation, and have plugins modify those methods to flesh out the specifics. Parent classes need not know about "Class::Method::Modifiers". This means you should be able to modify methods in any subclass. See Term::VT102::ZeroBased for an example of subclassing with "ClasS::Method::Modifiers". In short, "Class::Method::Modifiers" solves the problem of making sure you call "$self->SUPER::foo(@_)", and provides a cleaner interface for it. As of version 1.00, "Class::Method::Modifiers" is faster in some cases than Moose. See "benchmark/method_modifiers.pl" in the Moose distribution. "Class::Method::Modifiers" also provides an additional "modifier" type, "fresh"; see below. MODIFIERS
before method(s) => sub { ... } "before" is called before the method it is modifying. Its return value is totally ignored. It receives the same @_ as the method it is modifying would have received. You can modify the @_ the original method will receive by changing $_[0] and friends (or by changing anything inside a reference). This is a feature! after method(s) => sub { ... } "after" is called after the method it is modifying. Its return value is totally ignored. It receives the same @_ as the method it is modifying received, mostly. The original method can modify @_ (such as by changing $_[0] or references) and "after" will see the modified version. If you don't like this behavior, specify both a "before" and "after", and copy the @_ during "before" for "after" to use. around method(s) => sub { ... } "around" is called instead of the method it is modifying. The method you're overriding is passed in as the first argument (called $orig by convention). Watch out for contextual return values of $orig. You can use "around" to: Pass $orig a different @_ around 'method' => sub { my $orig = shift; my $self = shift; $orig->($self, reverse @_); }; Munge the return value of $orig around 'method' => sub { my $orig = shift; ucfirst $orig->(@_); }; Avoid calling $orig -- conditionally around 'method' => sub { my $orig = shift; return $orig->(@_) if time() % 2; return "no dice, captain"; }; fresh method(s) => sub { ... }; Unlike the other modifiers, this does not modify an existing method. Ordinarily, "fresh" merely installs the coderef as a method in the appropriate class; but if the class hierarchy already contains a method of the same name, an exception is thrown. The idea of this "modifier" is to increase safety when subclassing. Suppose you're writing a subclass of a class Some::Base, and adding a new method: package My::SubclassOf::C; use base 'Some::Base'; sub foo { ... } If a later version of Some::Base also adds a new method named "foo", your method will shadow that method. Alternatively, you can use "fresh" to install the additional method into your subclass: package My::SubclassOf::C; use base 'Some::Base'; use Class::Method::Modifiers 'fresh'; fresh 'foo' => sub { ... }; Now upgrading Some::Base to a version with a conflicting "foo" method will cause an exception to be thrown; seeing that error will give you the opportunity to fix the problem (perhaps by picking a different method name in your subclass, or similar). Creating fresh methods with "install_modifier" (see below) provides a way to get similar safety benefits when adding local monkeypatches to existing classes; see <http://aaroncrane.co.uk/talks/monkey_patching_subclassing/>. For API compatibility reasons, this function is exported only when you ask for it specifically, or for ":all". install_modifier $package, $type, @names, sub { ... } "install_modifier" is like "before", "after", "around", and "fresh" but it also lets you dynamically select the modifier type ('before', 'after', 'around', 'fresh') and package that the method modifiers are installed into. This expert-level function is exported only when you ask for it specifically, or for ":all". NOTES
All three normal modifiers; "before", "after", and "around"; are exported into your namespace by default. You may "use Class::Method::Modifiers ()" to avoid thrashing your namespace. I may steal more features from Moose, namely "super", "override", "inner", "augment", and whatever the Moose folks come up with next. Note that the syntax and semantics for these modifiers is directly borrowed from Moose (the implementations, however, are not). Class::Trigger shares a few similarities with "Class::Method::Modifiers", and they even have some overlap in purpose -- both can be used to implement highly pluggable applications. The difference is that Class::Trigger provides a mechanism for easily letting parent classes to invoke hooks defined by other code. "Class::Method::Modifiers" provides a way of overriding/augmenting methods safely, and the parent class need not know about it. :lvalue METHODS When adding "before" or "after" modifiers, the wrapper method will be an lvalue method if the wrapped sub is, and assigning to the method will propagate to the wrapped method as expected. For "around" modifiers, it is the modifier sub that determines if the wrapper method is an lvalue method. CAVEATS
It is erroneous to modify a method that doesn't exist in your class's inheritance hierarchy. If this occurs, an exception will be thrown when the modifier is defined. It doesn't yet play well with "caller". There are some "TODO" tests for this. Don't get your hopes up though! Applying modifiers to array lvalue methods is not fully supported. Attempting to assign to an array lvalue method that has an "after" modifier applied will result in an error. Array lvalue methods are not well supported by perl in general, and should be avoided. VERSION
This module was bumped to 1.00 following a complete reimplementation, to indicate breaking backwards compatibility. The "guard" modifier was removed, and the internals are completely different. The new version is a few times faster with half the code. It's now even faster than Moose. Any code that just used modifiers should not change in behavior, except to become more correct. And, of course, faster. :) SEE ALSO
Class::Method::Modifiers::Fast Moose, Class::Trigger, Class::MOP::Method::Wrapped, MRO::Compat, CLOS AUTHOR
Shawn M Moore, "sartak@gmail.com" ACKNOWLEDGEMENTS
Thanks to Stevan Little for Moose, I would never have known about method modifiers otherwise. Thanks to Matt Trout and Stevan Little for their advice. COPYRIGHT AND LICENSE
Copyright 2007-2009 Shawn M Moore. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.18.2 2013-12-14 Class::Method::Modifiers(3pm)
All times are GMT -4. The time now is 02:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy