Professional Documents
Culture Documents
ITIL Process
ITIL Process
Resolving Ticket
Incident Management
Problem management
Change management
Step 4
After entering the appropriate username and password you will be able to
login to Nagios Monitoring tool and you will get the screen as shown the
below figure
Step 5
After logging into the server type the server name in the Show Host tab, which
you want to suppress the alert.
Step 6
After selecting the appropriate server, On the right side box you can find
Schedule downtime for this host option, then click on that.
Step 7
After clicking the link you will get the options as shown in the below figure.
Step 8
Then schedule the downtime for the Host as shown in the below figure.
After scheduling the downtime click commit tab for changes to take effect.
SAMPLE NAGIOS CONFIGURATION FILE
command[load]=/nagios/libexec/check_load -w 20,15,10 -c 35,30,25
command[dbcores]=/nagios/libexec/check_disk -m -w 10% -c 5% -p /dbcores
command[home]=/nagios/libexec/check_disk -m -w 10% -c 5% -p /home
command[root]=/nagios/libexec/check_disk -m -w 10% -c 5% -p /
command[ifmx]=/nagios/libexec/check_disk -m -w 10% -c 5% -p /opt/ifmx
command[availdb06_availdb06_dbstatus]=/nagios/libexec/dbstatus.ksh MACHINE1
CONFIGURING BONDING:
Boonding configuration.
#modprob bonding
[root@rtphilx333 network-scripts]# grep -i bond /etc/modprobe.conf
alias bond0 bonding
options bond0 mode=1 miimon=100
NETMASK=255.255.255.128
GATEWAY=10.20.74.129
USERCTL=no
ONBOOT=yes
BOOTPROTO=none
[root@rtphilx333 network-scripts]# cat ifcfg-eth0
DEVICE=eth0
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
[root@rtphilx333 network-scripts]# cat ifcfg-eth2
DEVICE=eth2
HWADDR=
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
service network restart
HOW TO GET THE BONDING MODULE DETAILS
root@rtphilx333 network-scripts]# modinfo bonding
filename:
/lib/modules/2.6.18-238.12.1.el5/kernel/drivers/net/bonding/bonding.ko
author:
Thomas Davis, tadavis@lbl.gov and many others
description: Ethernet Channel Bonding Driver, v3.4.0-1
version:
3.4.0-1
license:
GPL
srcversion: 358EAAF5610876F44387AEF
depends:
ipv6
vermagic:
2.6.18-238.12.1.el5 SMP mod_unload gcc-4.1
parm:
max_bonds:Max number of bonded devices (int)
parm:
num_grat_arp:Number of gratuitous ARP packets to send on failover event (int)
parm:
num_unsol_na:Number of unsolicited IPv6 Neighbor Advertisements packets to send
on failover event (int)
parm:
miimon:Link check interval in milliseconds (int)
parm:
updelay:Delay before considering link up, in milliseconds (int)
parm:
downdelay:Delay before considering link down, in milliseconds (int)
parm:
use_carrier:Use netif_carrier_ok (vs MII ioctls) in miimon; 0 for off, 1 for on (default)
(int)
parm:
mode:Mode of operation : 0 for balance-rr, 1 for active-backup, 2 for balance-xor, 3
for broadcast, 4 for 802.3ad, 5 for balance-tlb, 6 for balance-alb (charp)
parm:
primary:Primary network device to use (charp)
parm:
primary_reselect:Reselect primary slave once it comes up; 0 for always (default), 1 for
only if speed of primary is better, 2 for only on active slave failure (charp)
parm:
lacp_rate:LACPDU tx rate to request from 802.3ad partner (slow/fast) (charp)
parm:
xmit_hash_policy:XOR hashing method: 0 for layer 2 (default), 1 for layer 3+4 (charp)
parm:
arp_interval:arp interval in milliseconds (int)
parm:
arp_ip_target:arp targets in n.n.n.n form (array of charp)
parm:
arp_validate:validate src/dst of ARP probes: none (default), active, backup or all
(charp)
parm:
fail_over_mac:For active-backup, do not set all slaves to the same MAC. none
(default), active or follow (charp)
parm:
resend_igmp:Number of IGMP membership reports to send on link failure (int)
parm:
debug:Print debug messages; 0 for off (default), 1 for on (int)
module_sig:
883f3504dc5e4fd12fa8482a4a8d9cf11269bc09e2f4a63f943f0ac28aa679a6eba681566b0ed6b09d11811
2f04e7d52e5242823f706a45f545c64b
STORAGE BASICS:
1) How to check the Paths using powermt.
#powermt display
Symmetrix logical device count=0
CLARiiON logical device count=8
Invista logical device count=0
Ess logical device count=0
Hitachi logical device count=0
HP xp logical device count=0
HP HSx logical device count=0
==========================================================================
====
----- Host Bus Adapters --------- ------ I/O Paths ----- ------ Stats -----### HW Path
Summary Total Dead IO/Sec Q-IOs Errors
==========================================================================
====
1 lpfc
optimal
16
0
- 0
0
2 lpfc
optimal
16
0
- 0
0
-------------------------------------2) How to check the Lun Details.(ALL the lun details )
#powermt display dev=all
Pseudo name=emcpowerf
CLARiiON ID=APM00055200737 [avail10]
Logical device ID=60060160C1141700E0F1541B2B67DE11 [LUN 45]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B
==========================================================================
====
---------------- Host --------------- - Stor - -- I/O Path - -- Stats --### HW Path
I/O Paths Interf. Mode State Q-IOs Errors
==========================================================================
====
2 lpfc
sdae
SP A0 active alive
0
0
1 lpfc
sdg
SP B0 active alive
0
0
1 lpfc
sdo
SP A1 active alive
0
0
2 lpfc
sdw
SP B1
active alive
Pseudo name=emcpowerh
CLARiiON ID=APM00055200737 [avail10]
Logical device ID=60060160C1141700F412D9A54386E011 [LUN 12]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP A
==========================================================================
====
---------------- Host --------------- - Stor - -- I/O Path - -- Stats --### HW Path
I/O Paths Interf. Mode State Q-IOs Errors
==========================================================================
====
2 lpfc
sdag
SP A0 active alive
0
0
1 lpfc
sdi
SP B0 active alive
0
0
1 lpfc
sdq
SP A1 active alive
0
0
2 lpfc
sdy
SP B1 active alive
0
0
Pseudo name=emcpowerc
CLARiiON ID=APM00055200737 [avail10]
Logical device ID=60060160D80817000A0ED2183C7FDB11 [LUN 57]
state=alive; policy=CLAROpt; priority=0; queued-IOs=1
Owner: default=SP B, current=SP B
==========================================================================
====
---------------- Host --------------- - Stor - -- I/O Path - -- Stats --### HW Path
I/O Paths Interf. Mode State Q-IOs Errors
==========================================================================
====
2 lpfc
sdab
SP A0 active alive
0
0
1 lpfc
sdd
SP B0 active alive
0
0
1 lpfc
sdl
SP A1 active alive
0
0
2 lpfc
sdt
SP B1 active alive
1
0
Pseudo name=emcpowere
CLARiiON ID=APM00055200737 [avail10]
Logical device ID=60060160D808170012773EF53B7FDB11 [LUN 53]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP A, current=SP A
==========================================================================
====
---------------- Host --------------- - Stor - -- I/O Path - -- Stats --### HW Path
I/O Paths Interf. Mode State Q-IOs Errors
==========================================================================
====
2 lpfc
sdac
SP A0 active alive
0
0
1 lpfc
sde
SP B0 active alive
0
0
1 lpfc
sdm
SP A1 active alive
0
0
2 lpfc
sdu
SP B1 active alive
0
0
Pseudo name=emcpowerb