Monday, September 12, 2011

Configuring the SNMP Agent on RHEL 5.5 on PowerEdge P805

Configuring the SNMP Agent on RHEL 5.5 on PowerEdge P805


Step 1:>

1.SNMP Agent control Configuration
2.SNMP Agent Install Actions
3.Changing the Community Name
4.Enabling SNMP Set Operation
5.Sending System Trap to a Management Station

File: /etc/snmp/snmpd.conf

  1. the agent so that you can change the community names, and give
  2. yourself write access to the mib tree as well.
#
# For more information, read the FAQ as well as the snmpd.conf(5)
  1. manual page.
####
# First, map the community name "public" into a "security name"
#sec.name sourcecommunity
com2sec notConfigUser default raina ===< Changing the Community Name
com2sec readonly default public
####
  1. Second, map the security name into a group name:
#groupName securityModel securityName
group notConfigGroup v1notConfigUser
group notConfigGroup v2cnotConfigUser
####
  1. Third, create a view for us to let the group have rights to:
  2. Make at least snmpwalk -v 1 localhost -c public system fast again.
#nameincl/excl subtreemask(optional)
view allincluded .1 ===< SNMP Agent Install Actions
view systemview included .1.3.6.1.2.1.1
view systemview included .1.3.6.1.2.1.25.1.1
####
  1. Finally, grant the group read-only access to the systemview view.
#groupcontext sec.model sec.level prefix read write notif
access notConfigGroup "" anynoauth exact all all none
trapsink 10.112.173.215 raina ===< Sending Trap to remote Management Station
smuxpeer .1.3.6.1.4.1.674.108922.1 ===< SNNP Multiplexing Protocol


Step:2>SERVICES IN SEQUENCE:

#/etc/init.d/srvadmin-services stop
#/etc/init.d/snmpd stop
#/etc/init.d/ipmi start
#/etc/init.d/srvadmin-services start
#/etc/init.d/dataeng enablesnmp
#/etc/init.d/snmpd restart


Step3:> SNMPWALK


The Command output has been truncated and put under a file tester.
Command Used: snmpwalk -v 2c -c raina 127.0.0.1 1.3.6.1.4.1.674.10892 > tester
[root@localhost snmp]# vi tester

"tester" "tester" 2532L, 173770CSNMPv2-SMI::enterprises.674.10892.1.1.1.0 = INTEGER: 5

SNMPv2-SMI::enterprises.674.10892.1.1.2.0 = INTEGER: 9

SNMPv2-SMI::enterprises.674.10892.1.1.3.0 = INTEGER: 5

SNMPv2-SMI::enterprises.674.10892.1.100.1.0 = STRING: "Server Administrator"

SNMPv2-SMI::enterprises.674.10892.1.100.2.0 = STRING: "5.9.5"

SNMPv2-SMI::enterprises.674.10892.1.100.3.0 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.100.4.0 = STRING: "Management software for Dell systems."

SNMPv2-SMI::enterprises.674.10892.1.100.5.0 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.100.6.0 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.100.7.0 = STRING: "No Updates"

SNMPv2-SMI::enterprises.674.10892.1.100.8.0 = ""

SNMPv2-SMI::enterprises.674.10892.1.100.9.0 = ""

SNMPv2-SMI::enterprises.674.10892.1.100.10.0 = STRING: "6.5.0"

SNMPv2-SMI::enterprises.674.10892.1.100.11.0 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.100.12.0 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.100.13.0 = STRING: "Dell Inc."

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.1.1 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.2.1 = INTEGER: 3

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.3.1 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.4.1 = INTEGER: 3

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.5.1 = Hex-STRING: 02

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.6.1 = INTEGER: 3

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.7.1 = Hex-STRING: 03

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.8.1 = Hex-STRING: 02 02

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.9.1 = INTEGER: 3

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.10.1 = Hex-STRING: 03 03

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.11.1 = Hex-STRING: 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02

02 02 02 02 02 02 02 02

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.12.1 = INTEGER: 3

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.13.1 = Hex-STRING: 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03

03 03 03 03 03 03 03 03

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.14.1 = Hex-STRING: 02 02 02

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.15.1 = INTEGER: 3

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.16.1 = Hex-STRING: 03 03 03

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.17.1 = Hex-STRING: 02

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.18.1 = INTEGER: 3

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.19.1 = Hex-STRING: 03

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.20.1 = Hex-STRING: 02 02 02 02 02 02

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.21.1 = INTEGER: 3

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.22.1 = Hex-STRING: 03 03 03 03 03 03

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.23.1 = Hex-STRING: 02

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.24.1 = INTEGER: 3

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.25.1 = Hex-STRING: 03

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.26.1 = Hex-STRING: 02 02 02 02

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.27.1 = INTEGER: 3

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.28.1 = Hex-STRING: 03 03 03 03

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.29.1 = Hex-STRING: 02

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.30.1 = INTEGER: 3

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.31.1 = Hex-STRING: 03

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.41.1 = INTEGER: 3

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.42.1 = INTEGER: 3

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.43.1 = Hex-STRING: 03

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.44.1 = INTEGER: 3

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.45.1 = Hex-STRING: 03

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.50.1 = INTEGER: 3

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.51.1 = Hex-STRING: 03 03

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.52.1 = INTEGER: 3

SNMPv2-SMI::enterprises.674.10892.1.200.10.1.53.1 = Hex-STRING: 03

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.1.1 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.2.1 = INTEGER: 0

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.3.1 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.4.1 = INTEGER: 3

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.5.1 = INTEGER: 0

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.6.1 = INTEGER: 23

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.7.1 = STRING: "Main System Chassis"

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.8.1 = STRING: "Dell Inc."

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.9.1 = STRING: "PowerEdge R805"

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.10.1 = ""

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.11.1 = STRING: "15XFW1S"

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.12.1 = INTEGER: 254

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.13.1 = INTEGER: 545

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.14.1 = INTEGER: 4

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.15.1 = STRING: "localhost.localdomain"

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.16.1 = STRING: "20110827194722.000000+330"

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.17.1 = STRING: "20110913083449.000000+330"

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.18.1 = STRING: "Please set the value"

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.19.1 = STRING: "Please set the value"

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.20.1 = STRING: "Please set the value"

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.21.1 = INTEGER: 3

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.22.1 = INTEGER: 0

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.23.1 = INTEGER: 0

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.24.1 = INTEGER: 0

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.25.1 = INTEGER: 0

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.26.1 = INTEGER: 0

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.27.1 = INTEGER: 0

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.28.1 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.29.1 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.30.1 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.31.1 = INTEGER: 1023

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.32.1 = INTEGER: 0

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.37.1 = INTEGER: 0

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.38.1 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.39.1 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.44.1 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.45.1 = INTEGER: 4

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.46.1 = INTEGER: 0

SNMPv2-SMI::enterprises.674.10892.1.300.10.1.49.1 = STRING: "2535281920"

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.1 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.2 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.3 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.4 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.5 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.6 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.7 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.8 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.9 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.10 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.11 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.12 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.13 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.14 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.15 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.16 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.17 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.18 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.19 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.20 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.21 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.22 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.23 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.24 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.25 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.26 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.27 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.28 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.29 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.30 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.31 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.32 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.33 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.34 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.35 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.36 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.37 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.38 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.39 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.40 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.41 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.42 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.43 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.44 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.45 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.46 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.1.1.47 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.1 = INTEGER: 1

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.2 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.3 = INTEGER: 3

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.4 = INTEGER: 4

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.5 = INTEGER: 5

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.6 = INTEGER: 6

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.7 = INTEGER: 7

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.8 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.9 = INTEGER: 9

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.10 = INTEGER: 10

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.11 = INTEGER: 11

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.12 = INTEGER: 12

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.13 = INTEGER: 13

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.14 = INTEGER: 14

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.15 = INTEGER: 15

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.16 = INTEGER: 16

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.17 = INTEGER: 17

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.18 = INTEGER: 18

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.19 = INTEGER: 19

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.20 = INTEGER: 20

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.21 = INTEGER: 21

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.22 = INTEGER: 22

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.23 = INTEGER: 23

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.24 = INTEGER: 24

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.25 = INTEGER: 25

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.26 = INTEGER: 26

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.27 = INTEGER: 27

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.28 = INTEGER: 28

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.29 = INTEGER: 29

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.30 = INTEGER: 30

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.31 = INTEGER: 31

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.32 = INTEGER: 32

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.33 = INTEGER: 33

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.34 = INTEGER: 34

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.35 = INTEGER: 35

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.36 = INTEGER: 36

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.37 = INTEGER: 37

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.38 = INTEGER: 38

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.39 = INTEGER: 39

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.40 = INTEGER: 40

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.41 = INTEGER: 41

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.42 = INTEGER: 42

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.43 = INTEGER: 43

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.44 = INTEGER: 44

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.45 = INTEGER: 45

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.46 = INTEGER: 46

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.2.1.47 = INTEGER: 47

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.1 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.2 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.3 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.4 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.5 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.6 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.7 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.8 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.9 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.10 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.11 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.12 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.13 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.14 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.15 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.16 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.17 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.18 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.19 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.20 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.21 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.22 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.23 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.24 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.25 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.26 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.27 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.28 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.29 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.30 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.31 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.32 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.33 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.34 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.35 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.36 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.37 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.38 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.39 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.40 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.41 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.42 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.43 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.44 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.45 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.46 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.3.1.47 = INTEGER: 8

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.1 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.2 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.3 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.4 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.5 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.6 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.7 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.8 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.9 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.10 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.11 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.12 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.13 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.14 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.15 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.16 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.17 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.18 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.19 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.20 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.21 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.22 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.23 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.24 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.25 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.26 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.27 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.28 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.29 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.30 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.31 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.32 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.33 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.34 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.35 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.36 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.37 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.38 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.39 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.40 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.41 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.42 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.43 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.44 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.45 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.46 = INTEGER: 2

SNMPv2-SMI::enterprises.674.10892.1.300.40.1.4.1.47 = INTEGER: 2

:$ SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.7.1.7 = STRING: "4341F5CA"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.7.1.8 = STRING: "4341F5BF"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.7.1.9 = STRING: "4341F53A"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.7.1.10 = STRING: "4341F5D0"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.8.1.1 = STRING: "0D456H"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.8.1.2 = STRING: "12685J"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.8.1.3 = STRING: "0G193F"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.8.1.4 = STRING: "0G193F"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.8.1.5 = STRING: "0CR679"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.8.1.6 = STRING: "0MX203"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.8.1.7 = STRING: "M3 93T5160CZA-CE6"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.8.1.8 = STRING: "M3 93T5160CZA-CE6"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.8.1.9 = STRING: "M3 93T5160CZA-CE6"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.8.1.10 = STRING: "M3 93T5160CZA-CE6"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.9.1.1 = STRING: "A00"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.9.1.2 = STRING: "A02"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.9.1.3 = STRING: "A00"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.9.1.4 = STRING: "A00"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.9.1.5 = STRING: "A03"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.9.1.6 = STRING: "A01"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.10.1.1 = STRING: "20080603170000.000000+330"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.10.1.2 = STRING: "20080518000000.000000+330"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.10.1.3 = STRING: "20080602170000.000000+330"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.10.1.4 = STRING: "20080602170000.000000+330"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.10.1.5 = STRING: "20080519170000.000000+330"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.10.1.6 = STRING: "20080504170000.000000+330"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.10.1.7 = STRING: "20080421170000.000000+330"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.10.1.8 = STRING: "20080421170000.000000+330"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.10.1.9 = STRING: "20080421170000.000000+330"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.10.1.10 = STRING: "20080421170000.000000+330"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.11.1.7 = STRING: "010817"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.11.1.8 = STRING: "010817"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.11.1.9 = STRING: "010817"

SNMPv2-SMI::enterprises.674.10892.1.2000.10.1.11.1.10 = STRING: "010817"

Thursday, October 28, 2010

Rsync Explained !!!!

Rsync is a free software computer program for Unix and Linux like systems which synchronizes files and directories from one location to another while minimizing data transfer using delta encoding when appropriate.

How do I install rsync?

Use any one of the following commands to install rsync.

If you are using Debian or Ubuntu Linux, type the following command

# apt-get install rsync
OR
$ sudo apt-get install rsync

Always use rsync over ssh

Since rsync does not provide any security while transferring data it is recommended that you use rsync over ssh . This allows a secure remote connection. Now let us see some examples of rsync.

rsync command common options

  • --delete : delete files that don't exist on sender (system)
  • -v : Verbose (try -vv for more detailed information)
  • -e "ssh options" : specify the ssh as remote shell
  • -a : archive mode
  • -r : recurse into directories
  • -z : compress file data

Task : Copy file from a local computer to a remote server

Copy file from /www/backup.tar.gz to a remote server called openbsd.nixcraft.in
$ rsync -v -e ssh /www/backup.tar.gz jerry@openbsd.nixcraft.in:~Output:
Password:
sent 19099 bytes  received 36 bytes  1093.43 bytes/sec
total size is 19014  speedup is 0.99
Please note that symbol ~ indicate the users home directory (/home/jerry).


Task : Copy file from a remote server to a local computer

Copy file /home/jerry/webroot.txt from a remote server openbsd.nixcraft.in to a local computer /tmp directory:
$ rsync -v -e ssh jerry@openbsd.nixcraft.in:~/webroot.txt /tmp
Password

Task: Synchronize a local directory with a remote directory

$ rsync -r -a -v -e "ssh -l jerry" --delete openbsd.nixcraft.in:/webroot/ /local/webroot

Task: Synchronize a remote directory with a local directory

$ rsync -r -a -v -e "ssh -l jerry" --delete /local/webroot openbsd.nixcraft.in:/webroot 

Task: Synchronize a local directory with a remote rsync server

$ rsync -r -a -v --delete rsync://rsync.nixcraft.in/cvs /home/cvs

Task: Mirror a directory between my "old" and "new" web server/ftp

You can mirror a directory between my "old" (my.old.server.com) and "new" web server with the command (assuming that ssh keys are set for password less authentication)
$ rsync -zavrR --delete --links --rsh="ssh -l vivek" my.old.server.com:/home/lighttpd /home/lighttpd

Tuesday, August 3, 2010

How do I set-up Red Hat Cluster Suite 4?


First install all of the required packages for Red Hat Cluster Suite 4.  Once all Cluster Suite packages are installed, execute the following command to launch the cluster configuration interface:

system-config-cluster
This tool provides the capability to configure the cluster members, fencing, resources and services for this cluster.
First, configure the cluster nodes. Click on the Cluster Nodes label. A button will show up in the bottom right hand corner that says Add a Cluster Node (Figure 1). Click on this button. Add the hostname for the cluster nodes. Use the output from uname -n on the nodes for the member names. Give each node 1 quorum vote, unless there is a large system that needs to be weighted more (Figure 2).

Fencing set-up. Fencing is what reboots the nodes if there is a failure. This is absolutely required in Red Hat Cluster Suite 4, since fencing keeps data corruption from happening. First, there must be a power switch that the nodes are plugged into. Click on the Fence Devices label and then click on the Add a Fence Device button in the bottom right hand corner of the interface. Select the make of the power switch and enter the power switch specific information here (Figure 3). Once this is complete the host specific fencing information can be configured.

Select the individual nodes under the Cluster Nodes label. Click the Manage Fencing For This Node button to bring up the fencing configuration dialog (Figure 4). Click on the Add a New Fence Level button. This will create Fence-Level-1. Click on the Fence-Level-1 label and then click the Add a New Fence to this Level button. Select the fence device that was configured in the previous step. Enter any node specific information, such as which power socket this node is plugged into, then click OK (Figure 5).


Services set-up. First, add resources. The available resources are:
  • GFS – This is a Global File System resource, create this if you are mounting a GFS file system
  • File System – The shared partition the service’s data will be on
  • IP Address – The IP address that clients will connect to the service through
  • NFS Mount – Use this option if there is no shared storage and instead the system is using an NFS mount for the service’s shared data
  • Script – This is the init scrip that will control the service
Note: There are other NFS options, but they will be changing as of Red Hat Enterprise Linux 4 Update 3, so they will not be described here.
A service will generally use a few of the above resources, not all. For example, if I were to setup Apache as a service, I would first create an IP address resource for the clients to connect to, then a Script resource that would point to /etc/init.d/httpd and then a File System that would point to my shared storage where the web pages are held. The File System resource could in this case be replaced with an NFS mount of the web page. Once the resources are created, you would want to create a service and add the resources to that service. You can do this by clicking on the Orange Services label, and then clicking the Create a Service button.
Once you are satisfied with your configuration, navigate to the File->Save option in the menu. This will save the configuration in /etc/cluster/cluster.conf. In case something else is wrong that may have missed, it is best to use scp to copy the configuration over to the other nodes in the cluster when the cluster is initially set-up. Once this is complete, start the cluster services with the following commands:





service ccsd start

service cman start

service fence start

service rgmanager start

If there are problems with this step, ensure any firewalls are off and all of the nodes can ping each other.

Ubuntu 10.10 Maverick Meerkat schedule changed !!



The release schedule of Ubuntu 10.10 Maverick Meerkat has changed again.
As per Ubuntu official website, the following dates has been finalized:
Alpha 1 -> June 3rd 2010
Alpha 2 -> July 1st 2010
Alpha 3 -> August 5th 2010
Beta -> September 2nd 2010
Release candidate -> October 1st 2010
Final Release(GA) -> October 10th 2010

Source:https://wiki.ubuntu.com/MaverickReleaseSchedule

Monday, August 2, 2010

Fedora 14 Release Schedule Finalized !!

Fedora 14 “Laughlin” is scheduled to be released in late October or early-to-mid November. The first alpha release of Red Hat’s Fedora 14 is expected in mid-August. Fedora 14 is expected to ship with X.Org Server 1.9, GCC 4.5, and offer many other package updates and new features.
2010-05-25     Fedora 13 Release
2010-07-13     Feature Submission Deadline
2010-07-27     Feature Freeze–Planning & Development Ends
2010-07-27     Branch Fedora 14 from Rawhide
2010-08-03     Software String Freeze
2010-08-03     Alpha Change Deadline
2010-08-17    Alpha Release
2010-08-31     Software Translation Deadline
2010-09-07     Beta Change Deadline
2010-09-21     Beta Release
2010-10-11     Final Change Deadline
2010-10-12     Compose Release Candidate
2010-10-26     Fedora 14 Final Release

Thursday, May 27, 2010

How to access ILOM from within Linux Host ?

1) Check for below packages
#rpm -q hpasm
#rpm -q hprsm
#rpm -q hponcfg

if they are not installed follow below instructions to install those packages

Install latest version of
hpasm, hprsm and hponcfg packages from below hp web url for specified model and OS version

http://h18000.www1.hp.com/support/files/server/us/index.html


3)Then start hpasm service followed by hprsm.

#servce hpasm start
#service hprsm start
#hponcfg -?
if it throws any firmware related error
then download latest firmware (ILO online firmware) from above link
#sh


wait for 2 minutes to get ILO reset

4)Then execute below command to view the ILO configuration

#hponcfg -w /tmp/ilo -l /tmp/ilo_log

#cat /tmp/ilo output contains ILO configuration

5)To add user to the ILO.

#hponcfg -f add_user.xml -l /tmp/ilo_log

Below is the add_user.xml customized script. keep this script in current working directory


















Below is the command for to change the network parameters
#hponcfg -f network_mod.xml -l /tmp/ilo_log

Below is the network_mod.xml customized script. keep this script in current working directory and change the
ipaddress, netmask,gateway,speed and duplex parameters in the below script as per your requirement.





Note:In HP web site u will get ILO driver for ESX and Linux for each server model.

Install it and run following commands to see the ILO IP of the machine. No need of reboot.

#hponcfg -w /tmp/ilo -l /tmp/ilo_log
#cat /tmp/ilo

Tuesday, April 20, 2010

Fedora 13 Beta Released Last Week !!

Anyone who gave a try to the new Fedora 13 Beta.
Few new features which I appreciate:

1. NetworkManager Command Line
2.Enhanced NFS Client IPv6
3.System Rollback With Btrfs
4.Zarafa - Zarafa Outlook Sharing is a Microsoft Exchange replacement