Pages

Monday, June 20, 2011

some redhat commands and info

www.redhat.com/dell/activate, to activate Dell Server with RedHat installation

dmidecode - really cool command
Dmidecode reports information about your system's hardware as described in your system BIOS according to the SMBIOS/DMI standard (see a sample output). This information typically includes system manufacturer, model name, serial number, BIOS version, asset tag as well as a lot of other details of varying level of interest and reliability depending on the manufacturer. This will often include usage status for the CPU sockets, expansion slots (e.g. AGP, PCI, ISA) and memory module slots, and the list of I/O ports (e.g. serial, parallel, USB).


bonding

  • modprobe.conf 
    • alias bond0 bonding
    •         options bonding miimon=100 mode=1 (mode=802.3ad or 4 for port-channel)
  • ifcfg-bond0
    • DEVICE=bond0
    • USERCTL=no
    • ONBOOT=yes
    • BOOTPROTO=static
    • BROADCAST=xxx.xxx.xxx.xxx
    • IPADDR=xxx.xxx.xxx.xxx
    • NETMASK=xxx.xxx.xxx.xxx
    • NETWORK=xxx.xxx.xxx.xxx
    • GATEWAY=xxx.xxx.xxx.xxx
  • ifcfg-eth(n)
    • DEVICE=eth(n)
    • ONBOOT=yes
    • BOOTPROTO=none
    • MASTER=bond0
    • SLAVE=yes
  • VLAN taging
    • ifcfg-bond0 need to remove all IP address info.
    • ifcfg-bond.(vlan_id)
      • DEVICE=bond0.(vlan_id)
      • ONBOOT=yes
      • VLAN=yes
      • BOOTPROTO=none (or static with ip info below)



No comments:

Post a Comment