Tuesday, February 7, 2012

Cisco Switches info


Nexus Family switches :-

Nexus 7000 family 7009 7010 7018 very dense 10 Gigi core

Nexus 5500 second generation top-of-rack 10Gb optional layer 3 capability

Nexus 5010 and 5020 --layer 2 swtiches only,supports FCOE
5010 --1U --20 10Gb ports plus module
5020 --2U --40 10Gb ports plus module

Nexus 2000 series (top of rack) these are not ture switches they are called FEX must be connected
with Nexus 5K or 7K .No local switching .All the switching is done by talking to 5K and 7K.
support FCOE.

FEX : FEX is a tecnology where the switching fabric is extended  by using devices,adapters or software.
requires connectivty back to a smart device.

Switch FEX :Examples Nexus 2K of a5548up.

Adapater FEX :Split a physical adapter in to mutiple logical adapters.

VM FEX :Extends adapter FEX in to a Virtual machine.

Nexus 1000v :Software switches
two Modules VSM Virtual Supervisor Module -(Mgmt Control plane)
            VEM Virtual Ethernet Module -(Dataplane)

MDS Switches Cisco Fibre Channel Switches

Cloud Provisioning and Automation:
Tidal is cisco orchetration
Newscale is Cisco Cloud Protal like cloud Director from Vmware but is provides support for other hyperisors as well.and chargeback

Sunday, February 5, 2012

ESXi/ESX cmd for VM's

ESXi VMX files

vim-cmd vmsvc/getallvms
vim-cmd vmsvc/power.off vmid
vim-cmd vmsvc/power.on vmid
vim-cmd vmsvc/power.reboot vmid
vim-cmd solo/registervm  name.vmx

vmfsktools -D name.vmx would show you the MAC address of NIC associated 


ESX cmd:
vmware-cmd  /vmname.vmx  getstate
vmware-cmd  /vmname.vmx  reboot
vmware-cmd  /vmname.vmx  start
vmware-cmd  /vmname.vmx  shutdown
vmware-cmd  /vmname.vmx  suspend
vmware-cmd  /vmname.vmx  hassnapshot (Query if VM has snapshot)
vmware-cmd  createsnaspshot nameofvm quiesce memory
vmware-cmd  /vmname.vmx  revertsnapshot
vmware-cmd  /vmname.vmx  removesnapshots
vmware-cmd  -s register /vmname.vmx   
vmware-cmd  -s unregister /vmname.vmx 




Hub Network :Everything goes everywhere in a hub network.

Switch Network would get
1)Broadcast Traffic
2)Multicast Traffic
3)Traffice to and from a specfic MAC address
4)Any Traffic going to or from UNKNOWN MAC address which is very rare.

Since it is not possible to discconect your server and inject hub in a real time network problem we go for SPAN (Swtiched Port Anaylsis)  also called Port Mirroring.Port Mirroring we configure the switch to copy servers traffic to a alyser port


Analyzer Placement :
1)Hub - Switch all network can be captured when analyser is placed at HUB
2)Switch - Switch  use Port mirroing  SPAN a port  and copy all the traffic on that port to anaylzer port.
3)Switch -Router - Switch traffic between switch and router can be traced ,but not both the layer2 traffics on the switch.
-------------------------------------------------
Packet Transmittal :-

TCP  Source port 1024 (can be anything)
     destination port 21

IP protocal  6  (Reolve name to IP)
   source Ip 192.16.1.4
   destination IP 192.11.1.5

Eth  Destination MAC B (Ip to mAC)
     Source MAC      A
     Ether Type : xyx800
---------------------------------------------
Transulate FTP to port number 21
Get Host IP address resultion(Cache,Hosts file,Network)
Local or remote destination (SUbnet mask)
Local Get MAC address (ARP) (Cache or Network)
Remote Lookup route Inforation (Host,Network or Gateway)
Get MAC address (ARP) (Cache,Network)

Network issue to look into

No retransmissions

No Delays

No errors

No service refusals

Minimal Back Ground traffic (becoz of broad cast or Multicast)

Direct Routes

SRM overview


1 high speed SAN replication

2 SRM application on Vcenter ot separate win 2003 or 2008 server.

3 SRA (Site Replication Adapater) software are VMware prodies for SRM server to speak with diffrent storage arrays.

4 SRM plugin on your client machine

5 SRM should be insalled per site and vcenter basis.

6 SRM needs it own database and DSN to speak with it database.

7 first pair the Protected site and recovery site and vise versa by logging into repective Vcenter servers.

8 confiure SRA on each VCenter

9 Inventory mapping.for configuring valid inventory mapping of revory site network,Folder,resource pool and others

10 protection groups organize VM's based on replicated datastores they are stored in.

create and test recovery plans