Sponsored Content
Top Forums UNIX for Beginners Questions & Answers New to AIX: How do I setup high availability on an AIX System Post 303038826 by Neo on Saturday 14th of September 2019 10:29:46 PM
Old 09-14-2019
Quote:
Originally Posted by mathisecure
I am new to AIX but not new to unix.

I have an interview for an AIX systems admin position and I know they want someone who has knowledge of High Availability, Failover and LPARs

From my research so far, It appear powerha is used to setup high availability and failover on Power systems but is this the case for all AIX systems or does it differ?

I found documentation on IBM Knowledge Center for setting up High availability using PowerHA but I do not know if this would be the process on all aix systems.
This is the core dilemma you are in.....

You have an interview for a position for someone who has knowledge, and I assume experience, for a technology you are not qualified in; and you are doing your homework to try to quickly learn something from reading about it on line, but which you have no hands on experience.

I think it is best for you to simply tell the people who are interviewing you that you have no hands on experience in the technology; but are willing and able to learn it if they hire you and provide valid references from past employers (or teachers) who will attest to the fact you are good at learning quickly on the job (OJT).

It is must better to be honest with people; instead of trying to fool them. That is my strong advice.

I have interviewed many, many people for tech positions over the years; and it is really easy to spot those who have "crammed for the exam", like you are doing.

As a side note, when I was a university student, I almost never crammed for exams or pulled "all nighters" before tests. I just learned the material as well as I could when the homework was assigned, and the lessons were taught, and the night before the exams I generally when for a nice Italian meal, has a "romantic night" with my girlfriend(s), and got a good night sleep. I graduated second in my class (should have graduated at the top, but the guy who "squeaked pass me" was the son of a powerful tenured professor in the same department .... ), with a 3.81 GPA in Electrical Engineering (Magna Cum Laude) at a top private university in the US. The reason I am mentioning this is that my life has been full of success and experience tells me the that honesty and integrity are the most importantly keys to success.

So, if you want a job, be honest and interview with integrity,

Do not try to pretend you have experience in an area where you have no experience.

And never fake references and experience, as so many people do.

Having said that, it is good to do your homework ahead of time, which you have done; by doing your own research and asking questions in forums like this one. On the other hand, experience here over the decades is that our members do not like helping anyone "cram" for interview questions for a job they are not qualified for:

PS: You can search the forums (or visit the various similar thread at the bottom of this page) for more information / posts @unix.com on AIX high availability.
 

8 More Discussions You Might Find Interesting

1. AIX

High memory usage in AIX 5.1

Hi, We have AIX 5.1 machine of RAM 8 GB and paging space is 8GB. we are getting high memory usage of almost 99%.Can anybody please help in this ? Partial vmstat o/p kthr memory ----- ----------- r b avm fre 2 1 278727 1143 There is no paging issue.Becoz in... (5 Replies)
Discussion started by: jayakumarrt
5 Replies

2. AIX

AIX and port trunking / high availability

Hi all I was just wondering what modes AIX supports for port trunking ( bonding, etherchannel, link aggregation or whatever you want to call it ) I'm in particular looking for a high availability mode ( other than 802.3ad ) (2 Replies)
Discussion started by: art
2 Replies

3. AIX

Aix high cpu activity

Hello everyone I have this process running on my server. topas command User 98.6 |############################ I have this process Name PID CPU% PgSp Owner db2fm 565264 25.6 1.5 ldapdb2 db2fm 348328 23.6 ... (4 Replies)
Discussion started by: lo-lp-kl
4 Replies

4. AIX

How to apply aix 5.3 TL8 properly on ML5 aix system ?

Is it necessary to put system into single user mode for applying aix 5.3 TL8 on a aix 5.3.5.0 system ? Is the TL8 installation not totally safe ? thank you. (6 Replies)
Discussion started by: astjen
6 Replies

5. AIX

AIX Printers moved to anothere AIX system

AIX Printers need to be moved to another system Guy's We have two servers old AIX 5.2 and new AIX 6.1 the old server has more than 300 printers installed with different configurations I'd like to move all the printers from the old server to the new server with fast steps it's... (1 Reply)
Discussion started by: ITHelper
1 Replies

6. AIX

AIX memory usage always high

hi, I want to ask , my AIX 6.1 is always used about 97% memory. Is this normal ? or any command can free up memory like Linux ? thanks. (1 Reply)
Discussion started by: virusxx
1 Replies

7. AIX

AIX high availability 1-3/69

Hi, Can someone help and give the answer for the following questions: 1. When PowerHA SystemMirror 7.1 is installed on AIX 7.1, what RSCT component does Cluster Aware AIX (CAA) replace? A. Group Services B. Resource Manager C. Topology Services D. Resource Monitoring and Control... (2 Replies)
Discussion started by: walterchang100
2 Replies

8. AIX

AIX 7.1 high page faults

hi guys i hope you can help me with this situation. i have 2 lpar with aix 7.1 and oracle 11gr2 in grid mode. when i start nmon to check the current system health i notice that page fault are over 3000/s. than i have opened a case with ibm and they say that the problem is not paging nor... (10 Replies)
Discussion started by: gullio23
10 Replies
DBIx::Class::Storage::DBI::Replicated::Introduction(3pm)User Contributed Perl DocumentatioDBIx::Class::Storage::DBI::Replicated::Introduction(3pm)

NAME
DBIx::Class::Storage::DBI::Replicated::Introduction - Minimum Need to Know SYNOPSIS
This is an introductory document for DBIx::Class::Storage::Replication. This document is not an overview of what replication is or why you should be using it. It is not a document explaining how to setup MySQL native replication either. Copious external resources are available for both. This document presumes you have the basics down. DESCRIPTION
DBIx::Class supports a framework for using database replication. This system is integrated completely, which means once it's setup you should be able to automatically just start using a replication cluster without additional work or changes to your code. Some caveats apply, primarily related to the proper use of transactions (you are wrapping all your database modifying statements inside a transaction, right ;) ) however in our experience properly written DBIC will work transparently with Replicated storage. Currently we have support for MySQL native replication, which is relatively easy to install and configure. We also currently support single master to one or more replicants (also called 'slaves' in some documentation). However the framework is not specifically tied to the MySQL framework and supporting other replication systems or topographies should be possible. Please bring your patches and ideas to the #dbix-class IRC channel or the mailing list. For an easy way to start playing with MySQL native replication, see: MySQL::Sandbox. If you are using this with a Catalyst based application, you may also want to see more recent updates to Catalyst::Model::DBIC::Schema, which has support for replication configuration options as well. REPLICATED STORAGE
By default, when you start DBIx::Class, your Schema (DBIx::Class::Schema) is assigned a storage_type, which when fully connected will reflect your underlying storage engine as defined by your chosen database driver. For example, if you connect to a MySQL database, your storage_type will be DBIx::Class::Storage::DBI::mysql Your storage type class will contain database specific code to help smooth over the differences between databases and let DBIx::Class do its thing. If you want to use replication, you will override this setting so that the replicated storage engine will 'wrap' your underlying storages and present a unified interface to the end programmer. This wrapper storage class will delegate method calls to either a master database or one or more replicated databases based on if they are read only (by default sent to the replicants) or write (reserved for the master). Additionally, the Replicated storage will monitor the health of your replicants and automatically drop them should one exceed configurable parameters. Later, it can automatically restore a replicant when its health is restored. This gives you a very robust system, since you can add or drop replicants and DBIC will automatically adjust itself accordingly. Additionally, if you need high data integrity, such as when you are executing a transaction, replicated storage will automatically delegate all database traffic to the master storage. There are several ways to enable this high integrity mode, but wrapping your statements inside a transaction is the easy and canonical option. PARTS OF REPLICATED STORAGE
A replicated storage contains several parts. First, there is the replicated storage itself (DBIx::Class::Storage::DBI::Replicated). A replicated storage takes a pool of replicants (DBIx::Class::Storage::DBI::Replicated::Pool) and a software balancer (DBIx::Class::Storage::DBI::Replicated::Balancer). The balancer does the job of splitting up all the read traffic amongst the replicants in the Pool. Currently there are two types of balancers, a Random one which chooses a Replicant in the Pool using a naive randomizer algorithm, and a First replicant, which just uses the first one in the Pool (and obviously is only of value when you have a single replicant). REPLICATED STORAGE CONFIGURATION
All the parts of replication can be altered dynamically at runtime, which makes it possibly to create a system that automatically scales under load by creating more replicants as needed, perhaps using a cloud system such as Amazon EC2. However, for common use you can setup your replicated storage to be enabled at the time you connect the databases. The following is a breakdown of how you may wish to do this. Again, if you are using Catalyst, I strongly recommend you use (or upgrade to) the latest Catalyst::Model::DBIC::Schema, which makes this job even easier. First, you need to get a $schema object and set the storage_type: my $schema = MyApp::Schema->clone; $schema->storage_type([ '::DBI::Replicated' => { balancer_type => '::Random', balancer_args => { auto_validate_every => 5, master_read_weight => 1 }, pool_args => { maximum_lag =>2, }, } ]); Then, you need to connect your DBIx::Class::Schema. $schema->connection($dsn, $user, $pass); Let's break down the settings. The method "storage_type" in DBIx::Class::Schema takes one mandatory parameter, a scalar value, and an option second value which is a Hash Reference of configuration options for that storage. In this case, we are setting the Replicated storage type using '::DBI::Replicated' as the first value. You will only use a different value if you are subclassing the replicated storage, so for now just copy that first parameter. The second parameter contains a hash reference of stuff that gets passed to the replicated storage. "balancer_type" in DBIx::Class::Storage::DBI::Replicated is the type of software load balancer you will use to split up traffic among all your replicants. Right now we have two options, "::Random" and "::First". You can review documentation for both at: DBIx::Class::Storage::DBI::Replicated::Balancer::First, DBIx::Class::Storage::DBI::Replicated::Balancer::Random. In this case we will have three replicants, so the ::Random option is the only one that makes sense. 'balancer_args' get passed to the balancer when it's instantiated. All balancers have the 'auto_validate_every' option. This is the number of seconds we allow to pass between validation checks on a load balanced replicant. So the higher the number, the more possibility that your reads to the replicant may be inconsistent with what's on the master. Setting this number too low will result in increased database loads, so choose a number with care. Our experience is that setting the number around 5 seconds results in a good performance / integrity balance. 'master_read_weight' is an option associated with the ::Random balancer. It allows you to let the master be read from. I usually leave this off (default is off). The 'pool_args' are configuration options associated with the replicant pool. This object (DBIx::Class::Storage::DBI::Replicated::Pool) manages all the declared replicants. 'maximum_lag' is the number of seconds a replicant is allowed to lag behind the master before being temporarily removed from the pool. Keep in mind that the Balancer option 'auto_validate_every' determines how often a replicant is tested against this condition, so the true possible lag can be higher than the number you set. The default is zero. No matter how low you set the maximum_lag or the auto_validate_every settings, there is always the chance that your replicants will lag a bit behind the master for the supported replication system built into MySQL. You can ensure reliable reads by using a transaction, which will force both read and write activity to the master, however this will increase the load on your master database. After you've configured the replicated storage, you need to add the connection information for the replicants: $schema->storage->connect_replicants( [$dsn1, $user, $pass, \%opts], [$dsn2, $user, $pass, \%opts], [$dsn3, $user, $pass, \%opts], ); These replicants should be configured as slaves to the master using the instructions for MySQL native replication, or if you are just learning, you will find MySQL::Sandbox an easy way to set up a replication cluster. And now your $schema object is properly configured! Enjoy! AUTHOR
John Napiorkowski <jjnapiork@cpan.org> LICENSE
You may distribute this code under the same terms as Perl itself. perl v5.14.2 2011-08-19 DBIx::Class::Storage::DBI::Replicated::Introduction(3pm)
All times are GMT -4. The time now is 10:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy