Install OpenNMS on RHEL/Fedora/CentOS

yum install postgresql-server -y
rpm -ivh http://yum.opennms.org/repofiles/opennms-repo-stable-rhel5.noarch.rpm
 
cat > /var/lib/pgsql/data/pg_hba.conf << CONF_PG_HBA
local   all         all                               trust
host    all         all         127.0.0.1/32          trust
host    all         all         ::1/128               trust
CONF_PG_HBA
 
cat > /var/lib/pgsql/data/postgresql.conf << CONF_POSTGRESQL
listen_addresses = 'localhost'
CONF_POSTGRESQL
 
service postgresql start
 
sudo -u postgres createdb -U postgres -E UNICODE opennms
 
yum install iplike -y
 
wget http://download.oracle.com/otn-pub/java/jdk/6u27-b07/jdk-6u27-linux-i586-rpm.bin
bash jdk-6u27-linux-i586-rpm.bin
 
yum install opennms -y
/opt/opennms/bin/runjava -s
/opt/opennms/bin/install -dis
service iptables stop
service ip6tables stop
chkconfig iptables off
chkconfig ip6tables off
 
chkconfig opennms on
service opennms start

Login to http://:8980/opennms as admin/admin
Admin | Operations
Configure Discovery | Add Include Ranges

Posted: August 25th, 2011
Categories: monitoring
Tags:
Comments: No Comments.

LVM Add Disk Resize/Extend Maximum Space

echo "- - -" > /sys/class/scsi_host/host0/scan
pvcreate /dev/sdb
vgdisplay
vgextend VolGroup00 /dev/sdb
lvextend -l +100%FREE /dev/mapper/VolGroup00-LogVol00
resize2fs /dev/mapper/VolGroup00-LogVol00
Posted: August 25th, 2011
Categories: linux
Tags:
Comments: No Comments.

Cisco Display MAC Address for the Connected Device

 
isr#show mac-address-table interface FastEthernet1
Destination Address  Address Type  VLAN  Destination Port
-------------------  ------------  ----  --------------------
1111.1111.1111		Dynamic	      1	    FastEthernet1
Posted: August 13th, 2011
Categories: cisco, networking
Tags: ,
Comments: No Comments.

LVM Removing PV device

[root@rhel ~]# pvdisplay
  /dev/sdb: read failed after 0 of 4096 at 0: Input/output error
 
echo 1 > /sys/class/scsi_device/0:0:1:0/device/delete
Posted: August 13th, 2011
Categories: linux, rhel
Tags: ,
Comments: No Comments.

Yahoo Mail IMAP Configuration

Incoming Server:
imap.mail.yahoo.com

Outgoing Server:
smtp.mail.yahoo.com

Incoming Port:
993 SSL

Outgoing Port:
465 SSL

Username:
username@yahoo.com

Password:
PASSWORD

Posted: August 13th, 2011
Categories: Uncategorized
Tags:
Comments: No Comments.

VMware Tuning – VIM Object Reservation

Configuration, System Resource Allocation:
Advanced…
VIM Object, Reservation from 512MB to 192MB

Posted: August 13th, 2011
Categories: esx-esxi, virtualization, vmware, vsphere
Tags:
Comments: No Comments.

LVM Missing UUID

Boot to rescue mode then…

lvm pvdisplay
lvm pvcreate --restorefile /etc/lvm/backup/VolGroup00 VolGroup00 --uuid <missing-uuid> <device-/dev/sdas>
lvm vgcfgrestore --file /etc/lvm/backup/VolGroup00 VolGroup00
Posted: August 13th, 2011
Categories: linux, os, rhel
Tags: ,
Comments: No Comments.

SPA2102 Configuration for Broadvoice

Voice, Provisioning:
Provision Enable = yes
Profile Rule: http://config.broadvoice.com:8080/$MA.cfg

Voice, Line 1:
Proxy and Registration…
Proxy:	sip.broadvoice.com
Outbound Proxy: proxy-nyc.broadvoice.com
Use Outbound Proxy = yes
Use OB Proxy In Dialog = yes
Register = yes
Register Expires = 600 from 3600
Use DNS SRV = yes
DNS SRV Auto Prefix = yes
Proxy Failback Intvl = 600 from 1800

Subscriber Information…
Display Name = blank
User ID = 2125551212
Password = PASSWORD
Ue Auth ID = yes
Auth ID = 2125551212

Audio Configuration…
Preferred Codec = G711u
Second Preferred Codec = Unspecified
Third Preferred Codec = Unspecified
Use Pref Codec Only = yes
Posted: August 13th, 2011
Categories: phones
Tags: , ,
Comments: No Comments.

SPA2102 Tuning for Broadvoice

Router, Wan Setup:
Enable WAN Web Server = yes

SIP:
SIP Parameters…
Mark All AVT Packets = yes

SIP Timer Values (sec)…
Reg Max Expires = 600 from 7200
Reg Retry Intvl = 10 from 30
Reg Retry Long Intvl = 20 from 1200

RTP Parameters…
Stats in BYE = yes

SDP Payload Types…
RTP-Start-Loopback Codec = G711u

Voice, Line 2:
Line Enable = no

Voice, Line 1:
Network Settings…
Network Jitter Level = extremely high
Jitter Buffer Adjustment = up and down

NAT Settings…
NAT Mapping Enable = yes
NAT Keep Alive Enable = yes

Audio Configuration…
Preferred Codec = G711u
Second Preferred Codec = Unspecified
Third Preferred Codec = Unspecified
Use Pref Codec Only = yes

*** Fax machine tuning ***
Echo Canc Enable = no
Echo Canc Adapt Enable = no
Echo Supp Enable = no
FAX CED Detect Enable = yes
FAX CNG Detect Enable = yes
FAX Passthru Codec = G711u
FAX Codec Symmetric = yes
DTMF Process AVT = no
DTMF Tx Method: InBand
FAX Passthru Method = NSE
FAX Process NSE = yes
FAX Disable ECAN = yes
FAX Enable T38 = yes
FAX T38 Redundancy = 1 (set higher if you are having problems with Fax transmissions)
FAX Tone Detect Mode = caller or callee
Posted: August 13th, 2011
Categories: phones, Uncategorized
Tags: , ,
Comments: No Comments.

Cisco ASA Description & Part Numbers

From: http://www.cisco.com/en/US/prod/collateral/vpndevc/ps6032/ps6094/ps6120/prod_brochure0900aecd80402e36.html

Cisco ASA 5505 Solution Description Firewall/VPN Performance Part Number
Cisco ASA 5505 10-user bundle

Includes 10-user license, 8-port Fast Ethernet switch, stateful firewall, 10 IPsec VPN peers, 2 SSL VPN peers, 3DES/AES license, and 1 expansion slot

150 Mbps/100 Mbps ASA5505-BUN-K9
Cisco ASA 5505 50-user bundle

Includes 50-user license, 8-port Fast Ethernet switch, stateful firewall, 10 IPsec VPN peers, 2 SSL VPN peers, 3DES/AES license, and 1 expansion slot

150 Mbps/100 Mbps ASA5505-50-BUN-K9
Cisco ASA 5505 unlimited user bundle

Includes unlimited user license, 8-port Fast Ethernet switch, stateful firewall, 10 IPsec VPN peers, 2 SSL VPN peers, 3DES/AES license, and 1 expansion slot

150 Mbps/100 Mbps ASA5505-UL-BUN-K9
Cisco ASA 5505 Security Plus bundle

Includes Cisco ASA 5505, unlimited users, 8-port Fast Ethernet switch, stateful firewall, 25 IPsec VPN peers, 2 SSL VPN peers, stateless Active/Standby high availability, dual ISP support, DMZ support, 3DES/AES license, and 1 expansion slot

150 Mbps/100 Mbps ASA5505-SEC-BUN-K9
Cisco ASA 5510 Solution Description
Cisco ASA 5510 Content Security bundle

Cisco ASA 5510 Appliance with CSC-SSM provides firewall, VPN, and content security services to stop viruses, spyware, and provide file blocking. Includes 1 yr subscription for the content security features. Additional content security services (anti-spam, anti-phishing, and URL blocking and filtering) available with the ASA-CSC10-PLUS license.

300 Mbps/170 Mbps ASA5510-CSC10-K9
Cisco ASA 5510 bundle

Includes 3 Fast Ethernet interfaces, stateful firewall, 250 IPsec VPN peers, 2 SSL VPN peers, 3DES/AES license, and 1 expansion slot

300 Mbps/170 Mbps ASA5510-BUN-K9
Cisco ASA 5510 Security Plus bundle

Includes 5 Fast Ethernet interfaces, stateful firewall, 250 IPsec VPN peers, 2 SSL VPN peers, Active/Standby high availability, 3DES/AES license, and 1 expansion slot

300 Mbps/170 Mbps ASA5510-SEC-BUN-K9
Additional Recommended Options
Cisco ASA 5505 Security Plus license (provides stateless Active/Standby high availability, dual ISP support, DMZ support, VLAN trunking support, and increased session and IPSec VPN peer capacities) ASA5505-SEC-PL
Cisco ASA 5500 CSC10-Plus license (1-year subscription license, which adds anti-spam, anti-phishing, and URL blocking and filtering to the CSC-SSM content security solution in the Cisco ASA 5510) ASA-CSC10-PLUS
Cisco ASA 5510 Security Plus license (provides Active/Active and Active/Standby high availability, increased session and VLAN capacities, and additional Ethernet interfaces) ASA5510-SEC-PL
Cisco ASA 5500 Series 10-user SSL VPN license ASA5500-SSL-10
Cisco ASA 5500 Series 25-user SSL VPN license ASA5500-SSL-25
Cisco ASA 5500 Series 50-user SSL VPN license ASA5500-SSL-50

 

Posted: April 13th, 2011
Categories: cisco
Tags: ,
Comments: No Comments.