Ethernet Channel setup in AIX

Most of the guides and websites recommend to use smitty to create the initial setup. The two basic steps smitty etherchannel and smitty chinet or smitty mktcpip.
As for command line, I found two methods:
Here: http://www.unixwerk.eu/aix/faq.html
and here: http://it.toolbox.com/wiki/index.php/Etherchannel_setup 

Step 1a is the same in both (gateway could be used as a ping-to-host):# mkdev -c adapter -s pseudo -t ibm_ech -a adapter_names=entX \
-a backup_adapter=entY -a netaddr=PING2HOST \
-a num_retries=3 -a retry_time=30

Step 1b (for link aggregation and with jumbo frames enabled):

mkdev -c adapter -s pseudo -t ibm_ech -a ‘adapter_names=entX,entY’ \
– a ‘use_jumbo_frame=yes’ -a ‘mode=8023ad’

Then they differ a bit
One option adds the following step, not sure why:
/usr/lib/methods/defif >/dev/null 2>/dev/null

If it is not the initial network setup like for creating an additional network:
mkdev -c if -s EN -t en -a netaddr=IPaddress \
-a netmask=NETMASK -w IF(en newly created) -a state=up -a arp=on

mkdev -l inet0 (makes it available)

and for the initial network set up

mktcpip -h HOSTNAME -a IPaddress -m NETMASK -i IF(newly created) \
-n NAMESERVER -d DOMAIN -g GATEWAY -s -C 0 -A no

Find the etherchannel adapters:
lsdev -Cc adapter -t ibm_ech
show the configuration:
lsattr -El entX

Basic Network Setup on an AIX system

Here is an excerpt from AIX Certification Study Guide for AIX 5L(December 2002):

Use command smitty tcpip for basic settings – smitty will use mktcpip. Sets properties such as host name, IP address, nameserver, default gateway, subnetmask etc.

Or you can you mktcpip from the command line  – like in this example:
mktcpip -h HOSTNAME -a IPaddress -m NETMASK -i IF(eg. en0) \
-n NAMESERVER -d DOMAIN -g GATEWAY -s -C 0 -A no

-s        starts tcpip daemon
-C        Cost of using the selected interface type
-A        Active dead gateway detection: no (the default), dead gateway detection remains in passive mode.

Detail taken from HOW TO: Easily Configure TCP/IP on Your AIX System

 

Changes

Hello,

a few things changed since I posted something last (waaay back then). For a while I was a contractor and a full time employee at IBM. Right now I am neither.

What I am trying to do (or what I am thinking about it) adding some content to this blog while I am trying to deepen my knowledge about AIX and Oracle.

I know there are some amazing blogs already out there and I will link to some of them over time, but I do hope to add to that knowledge base.

thanks

Peter

Listening to Queen of the stone Age:  Vampyre of Time and Memory

Google day 2

Well everybody expects this to be the Android day.  There 2 TBA session o the Android track which kinda gives it away – as well as the fact that they haven’t talked about Android on the first keynote. I assume Adobe will be there again, showing Flash/Air on Android.

Vic starts it off -again.

Recaps his first day at Google meeting Andy Rubin – another stab at Apple/Jobs.

100.000 devices a day get activated. Android is No 1 in web usage according to Admob.

Some more figures …. 50.000 Apps 180.000 Developers.

22 demos:

Announcing Andriod 2.2 (FroYo):  Dalvik VM

announcing a JIT for Dalvik: 2x-5x

Enterprise: (20 new features) Exchange stuff and more APIs

Application Data Backup API

Cloud-to-Device Messaging API (another stab at Apple).

A message can trigger an Android intent. (Can startup an App such as Maps or a Browser)

Announcing tethering (portable hotspot) – another stab at Apple

Browser: 2x-3x javascript improvement (comparing  Froyo – Eclair and Apple iPad) yet another stab at Apple and another ….

Camera accessible via Web Apps.

Demo shows browser reacting to phone sensors.

Flash and Air on Android ( Of course another stab at …)

More app market features: Easier Update – better bug reports.

sneak peaks features of a “next” Version of Market App – Shows syncing on Androids over the internet.

Advertising (Google  is now 10 years in Advertising). Again comparing with Apple. Adsense for mobile Apps. Expandable ad-format (links to videos etc. Click to call Ad, includes Maps etc.)

Another phone. Everybody gets a Sprint HTC Evo 4G!!!

Announcing Google TV.

Search is now built-into the TV. A small search bar will show up and searches program as well as the web.

Huge demoing  issues with the bluetooth keyboard. Asks everybody to switch off their phones.

Pulls content off the web and the tv.

Tries to change the TV interface work like the web. “You bookmark” your favorite show etc.

Will have voice recognition interface – and can be controlled via an Android phone. API will be published – App developers can build their own remotes.

Androids is underneath Google TV. Android Apps will available for Google TV. They show Pandora App on Google TV.

Youtube anounces Youtube Lean Back built for Google TV.

Funny when they show Google TV they all like to say “It is that Simple” – which I thought is trademarked by Apple.

You can watch and listen to all the contents on all your devices – it is synced.

They will use the closed captioning and the Google translation so you can watch TV in any language.

Eric Schmitt show up – for final remarks. CEO’s show up: Intel, Sony, Logitech, Dish network,  Best Buy and Adobe.

Adobe gets some time to talk up flash.

CEO’s have fun.

DishNet CEO talks about Ads tailored to the watching habits of the TV watcher.

Google I/O 2010 starts now.

Short Intro by Vic. So why is  called I/O?  Innovation and Open:

HTML 5 Momentum is gaining.

Come tomorrow at 8,30 !! BIG surprises (leaves with a big smile).

Next is Sundar (Product Dev VP): HTML is progressing. More HTML5 Mobile browsers.

HTML5 allows drag and drop and Notification (more like Outlook).

Mugtug Darkroom (sorta Photoshop) works offline (uses App Cache provided by Html5) A  Javascript Application.

Clicker.com (Clicker.tv) another HTML5 App  using workers etc. Organizes Web Video show – a little long. Also adds Netflix.

Big Announcement for Html5: Video (On2) VP8 is getting open sourced and free of license (see webM project http://www.webmproject.org) Supported by Mozilla and Opera. Youtube is converting (of course).  (Going after Apple and H264). Plenty of  sideswipes against Apple.

Opera  announces their support for Webm .  Looks pretty good.

What about Adobe? It supports VP8 🙂

Abobe is now on the Stage – Kevin Lynch: HTML5 is great 3 thing to show it:

Dreamweaver (most popular HTML dev tool besides Notepad).

Illustrator supports SVG.

Animation done with HTML5.

Support for Video (VP8 will be in Flash Player).

More stuff tomorrow on Flash on Devices.

Hard to find Web Apps. Preview of Chrome Webstore.  Applications can be stored on the new tab page. Show a couple of games (one will be based on NaCl).

Terry McDonnel from SI: show Html5 prototype. With live video fields. The online version will have additional content.  Very interactive. Has Google Buzz integrated.  Found himself in a small conference room in MV. Good ending quote.  HAs to be based on open standards, has to be searchable and well edited – if you get it right you can charge for it.

Lars Rassmussen ( the Wave guy): Wave is now available for everyone (part of Google Apps now). Good tool for collaboration. New changes Robots don’t have to be hosted on Google APPengine. Waves is integrated into Salesforce Chatter.

Next: Web at Work:

Cloud and Enterprise

Google and VMware? CEO Paul Mauritz is here!!!

Springsource (more than half of the new Java code is written in the context of Spring)

Springsource and GWT Integration. Demo: Develop an Expense report system in less the 200 keystrokes – Done.

Good integration of performance tools. Widget Libs available for Mobile. But Demo gods are not good.

These guys are running really late!

Announcement: Google App Engine for Business.  Adds SSL and SQL .

I guess I will skill my 1st session … Well I didn’t get the 1st Android session was already full.

Interesting – if true – email me

There  is a report on allthingsd that states the VMware is likely to buy Zimbra from Yahoo. Three things come to my mind:

1. Why – EMC maybe but why VMware?

2. Does that put them against Cisco and there attempt to rule the world of unified communication?
And  does it mean that cracks are appearing in the VCE partnership?

3. And why didn’t Oracle snatch it up – their mail product certainly could need to little help