Skip to main content

etherchannel AIX a.k.a teaming/bonding network



--GOAL--
had a project to tunning data transfer performa of production server. intinya adalah ngoprek aja :D

--bahan dan bahan--
membutuhkan minimal 2 ethernet card ( secara default sudah ada 4 ethernet card, no worry :p)
dlm config menggunakan I*M series with AIX sebagai operating system nya.
koneksikan 2 atau lebih dalam switch yang sama.

--1--
masuk konsole dan jalankan command berikut ;
# smitty etherchannel
dan menampilkan hasil sebagai berikut:
Etherchannel

Move cursor to desired item and press Enter.

  List All Etherchannels
  Add An Etherchannel
  Change / Show Characteristics of an Etherchannel
  Remove An Etherchannel


pilih add An Etherchannel :
                              Etherchannel

Move cursor to desired item and press Enter.

  List All Etherchannels
  Add An Etherchannel
  Change / Show Characteristics of an Etherchannel
  Delete An Etherchannel
   --------------------------------------------------------------------------
  |                        Available Network Adapters                        |
  |                                                                          |
  | Move cursor to desired item and press F7.                                |
  |     ONE OR MORE items can be selected.                                   |
  | Press Enter AFTER making all selections.                                 |
  |                                                                          |
  | > ent0                                                                   |
  | > ent1                                                                   |
  |   ent2                                                                   |
  |   ent3                                                                   |
  |   ent4                                                                   |
  |                                                                          |
  | F1=Help                 F2=Refresh              F3=Cancel                |
  | F7=Select               F8=Image                F10=Exit                 |
F1| Enter=Do                /=Find                  n=Find Next              |
F9 --------------------------------------------------------------------------

select dengan F7 dan enter :
 Add an Etherchannel

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

                                                        [Entry Fields]
  Etherchannel Adapters                               ent0 ent1               +
  Enable ALTERNATE ETHERCHANNEL address               no                      +
  ALTERNATE ETHERCHANNEL address                     []                       +
  Mode                                                Round_Robin             +
  Enable GIGABIT ETHERNET JUMBO frames                no                      +
  Internet Address to Ping                           []
  Number of Retries                                  []                        #
  Retry Timeout (sec)                                []                        #


enter lagi untuk commit settingan
COMMAND STATUS

Command: OK            stdout: yes           stderr: no

Before command completion, additional instructions may appear below.

ent4 Available

--2--

etherchanel sudah siap pada ent4, tinggal setting ip saja...

--test&jajal--

#entstat -d ent4 | egrep "ETH|Device Type|Link State|Link Status|Media"
ETHERNET STATISTICS (ent4) :
Device Type: EtherChannel
ETHERNET STATISTICS (ent0) :
Device Type: Host Ethernet Adapter (l-hea)
Logical Port Link State: Up
Physical Port Link State: Up
Media Speed Selected: 1000 Mbps / 1 Gbps, Full Duplex
Media Speed Running: 1000 Mbps / 1 Gbps, Full Duplex
ETHERNET STATISTICS (ent1) :
Device Type: 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003)
Link Status : Up
Media Speed Selected: 1000 Mbps Full Duplex
Media Speed Running: 1000 Mbps Full Duplex

Note: 
- tested by me and running well till today
- i use mode round Robin to load balancing data transfer.

Comments

Popular posts from this blog

Webalizer - Statistik trafik/kunjungan web (ubuntu)

--goal--
make subdomain trafik statistik

--install--
run this command :
sudo apt-get install webalizeredit "/etc/apache2/apache2.conf" , set
HostnameLookups Off into :
HostnameLookups On
--1--
All we need is already prepared, now set log of vhost in "/etc/apache2/sites-enabled" to spesifict folder.
exp. $sudo vi /etc/apache2/sites-enabled/monitor CustomLog ${APACHE_LOG_DIR}/access.log into: CustomLog ${APACHE_LOG_DIR}/vhost/monitor/access.logrestart service
$sudo /etc/init.d/apache2 restart
--2--
create another file config of webalizer in /etc/webalizer
exp. vi /etc/webalier/monitor.conf
set the LogFile to apache2 logfile:
LogFile /var/log/apache2/vhost/monitor/access.log # apache log OutputDir /var/webalizer/monitor/ #webalizer report Incremental yes ReportTitle Usage statistics for HostName monitor.brekele.co.cc
--3--
create script to run webalizer via crontab
exp. vi /etc/webalizer/cron_job
#!/bin/bash echo "di jalankan pada: `date +"%d-%B-%Y %r"…

pgpoolAdmin, web interface for pgpool

--preparation--
next capter of pgpool from my last post ( here), now i wanna post about a tool that can manage pgpool from web interface called pgpoolAdmin. next... enjoy the post... ^_^

--1--
first we need to download pgpooladmin from here, extrak and copy or move to http directory( for exp : /var/www) 
$wget http://pgfoundry.org/frs/download.php/2964/pgpoolAdmin-3.0.3.tar.gz $tar zxvf pgpoolAdmin-3.0.3.tar.gz $sudo cp -Rf pgpoolAdmin-3.0.3 /var/www/test
 --2--
install pgpooladmin via web on: http://localhost/test/install


make sure owner of that file is "www-data"(of course have write akses) and check again



login with user that you create on /etc/pcp.conf (for more detail see my last post



and done.ya.. tooo.......!!!
 ^_^

send oracle 11g audit log to syslog server ( on other PC)

--preparation-- 
well...... this time i will write about syslog, and for this experiment what we need is :
- kiwi syslog server get from here and install it on your PC( i use xp for this server syslog)
- oracle db
- and of course, a cup of coffee is a must and other thing that make you relax and comfortable ( :p )

--scema--
first thing to do is redirect oracle audit log to syslog, and than from syslog send to syslog server( kiwi syslog)

--1--
 edit initSID.ora and add this folowing config :
create "/var/log/oracle/" firs
audit_file_dest='/var/log/oracle/' audit_trail='OS' AUDIT_SYSLOG_LEVEL=local1.warning after that edit /etc/syslog.conf, and add this folowing config :
#Save oracle rdbms audit trail to oracle_audit.log local1.warning /var/log/oracle/oracle_audit.log #Send oracle rdbms audit trail to remote syslog server local1.warning @1.1.1.1 #<= ip your syslog server--2--
restart syslog service with command :
/sbin/service syslog restart …