Posts

Showing posts from March, 2008

License Activation BIG-IP LTM

Image
Today, BIG-IP 1500 comes to me need to configure by me. :) When I see at this machine, look small with limited active modules but it's adequate to fulfill my network architecture. Here the machine : Only 1 management port and 4 gigabit ethernet ports. It will used for load balancing 5 redundant servers. First, after you received this machine, check ip address management that show on LCD panel. It usually 192.168.1.245. Just connect a straight utp cable to management port and set your IP on same segment network 192.168.1.0/24. access https://192.168.1.245 with your browser and it will show prompt username and password. Default is "admin" "admin". You will see activate button on web interface and you should click it. Just click next, when it shows "Registration Key". Next window: Step 1 : it will show "dossier validation number" and you need to download or copy it. Step 2 : Access https://activate.f5.com/license/dossier.jsp and copy or upload d

Setting Ethernet Interface Parameter on Solaris

Choose the interface instance: # ndd -set /dev/hme instance 0 That selects the first instance: hme0. Check the status, speed & mode: # ndd -get /dev/hme link_status # ndd -get /dev/hme link_speed # ndd -get /dev/hme link_mode Howto set parameter on hme0: (ex: 1000Mbps Full duplex) ndd -set /dev/hme instance 0 ndd -set /dev/hme adv_1000fdx_cap 1 ndd -set /dev/hme adv_1000hdx_cap 0 ndd -set /dev/hme adv_100fdx_cap 0 ndd -set /dev/hme adv_100hdx_cap 0 ndd -set /dev/hme adv_10fdx_cap 0 ndd -set /dev/hme adv_10hdx_cap 0 ndd -set /dev/hme adv_autoneg_cap 0 This also support on any other interface such as bge.

Detect Ethernet on Solaris

I confused last time when try to configure interface on solaris, it can not detected by system. As i saw on hardware, it have 4 ports on external PCI and i think card's vendor from Sun. As i know : hme --> ethernet card SUN qfe --> ethernet that have 4 ports pcn --> ethernet card PC-net32 iprb --> ethernet card intel and any other ... I assume for qfe, but when i try to plumb, nothings happen ... After trying some ways like this : devfsadm : administration command for /dev and /devices # devfsadm -Cv it will display ethernet that driver installed on system. dladm : configure data-link interfaces # dladm show-link prtconf : print system configuration # prtconf -D | grep network sys-unconfig : undo system configuration # sys-unconfig it will reboot your system I found the answer, try to use "e1000g". it should be working now.

Routing on Solaris 10

Check routing table # netstat -nr howto add routing table # route -n add -interface 10.10.10.1/32 -gateway 10.10.20.1 howto delete from routing table # route -n delete -interface 10.10.10.1/32 -gateway 10.10.20.1 modify default route # route change default -gateway 10.10.20.1 if you have multiple interface with same network, ex: hme0=10.10.10.1 and hme1=10.10.10.2. you want for outgoing connection send by 10.10.10.1, here the syntax : # route change default -gateway 10.10.20.1 -setsrc 10.10.10.1 add routing for multicast purpose # route -n add -interface 224.0/4 -gateway 10.10.20.1 >/dev/null delete routing for multicast purpose # route -n delete -interface 224.0/4 -gateway 10.10.20.1 >/dev/null

Setting IP Virtual on Solaris 10

Before this you should define or configure for main interface, on example : ce0 Activate virtual interface card, for example : 3 virtual interface # ifconfig ce0:1 plumb up # ifconfig ce0:2 plumb up # ifconfig ce0:3 plumb up Giving IP Address to all virtual interface # ifconfig ce0:1 10.10.4.11 netmask 255.255.255.0 broadcast 10.10.4.255 up # ifconfig ce0:2 10.10.4.12 netmask 255.255.255.0 broadcast 10.10.4.255 up # ifconfig ce0:3 10.10.4.13 netmask 255.255.255.0 broadcast 10.10.4.255 up You just add script that executed when system reboot. # vi /etc/rc3.d/S23ipaddvirtual #!/bin/bash /sbin/ifconfig ce0:1 10.10.4.11 netmask 255.255.255.0 broadcast 10.10.4.255 up /sbin/ifconfig ce0:2 10.10.4.12 netmask 255.255.255.0 broadcast 10.10.4.255 up /sbin/ifconfig ce0:3 10.10.4.13 netmask 255.255.255.0 broadcast 10.10.4.255 up

Setting IP address on Solaris 10

show available ethernet device # dmesg | more activate the interface # ifconfig ce0 plumb up Giving ip address to interface # ifconfig ce0 10.172.84.10 netmask 255.255.255.0 broadcast 10.172.84.255 if your setting for interface run at startup : edit your /etc/hosts # vi /etc/hosts 10.172.84.10 server1 and then edit your /etc/hostname. # vi /etc/hostname.ce0 server1 edit your /etc/netmasks 10.172.84.0 255.255.255 Setting up default gateway # vi /etc/defaultrouter 10.172.84.1

Live Transcoding HTTP/MMS/RTSP streaming channel 5

Image
Setting Helix Mobile Producer - using SplitCam as Video Capture Device - using your physical Audio Device - using Virtual Audio Cable as your virtual audio device After this just encode, send your sdp to Helix Server and you can play it ...

Live Transcoding HTTP/MMS/RTSP streaming channel 4

Image
Setting on Windows Media Player Challenge : - screen from Windows Media Player CAN NOT be captured Solution : - Just disable "video overlay" on WMP settings. Challenge : - If your HMP Machine DO NOT have physical Audio Device Solution : - Just take Virtual Audio Cable as your Device NB: If you have physical Audio Device DO NOT change anything on "Devices" Windows Media Player settings. After that, just play your favourite channel, for example : MTV Asia : rtsp://totbd1.streaming.totbb.com/Encoder10 Just full screening windows media player window, cause SplitCam capture full screen.

Live Transcoding HTTP/MMS/RTSP streaming channel 3

Image
Install Virtual Audio Cable - download it - install it - go to Virtual Audio Cable control panel NB: this tutorial ONLY used when you DO NOT have any physical Audio Device.

Live Transcoding HTTP/MMS/RTSP streaming channel 2

Image
Installing Splitcam as Virtual Video Capture Device - download splitcam from anything you want ... :p - installing it as usual - set value frame per second 10 - set SplitCam will capture full screen

Live Transcoding HTTP/MMS/RTSP streaming channel 1

Image
Here the scenario : Challenge : how to make another channel like MTV Uber, MTV Asia, or Eurosport channel be your streaming production. Exampel Live channel : mtv asia - rtsp://totbd1.streaming.totbb.com/Encoder10 Here some dirty way to make it .... I did these following : Install this on HMP Machine - Windows Media Player as streaming player - SplitCam as Virtual Video Capture Device - Helix Mobile Producer as sdp production that feed to our Helix Server - Virtual Audio Cable as Virtual Audio Capture Device, if you DO NOT have physical Audio Device