My Blog List

Saturday, April 23, 2016

Create an application gateway with an internal load balancer (ILB) by using Azure Resource Manager with existing Vnet and Subnet

$vnet = Get-AzureRMVirtualNetwork -Name Vnet01 -ResourceGroupName psrg01

$subnetconfig  = Get-AzureRMVirtualNetworkSubnetConfig -Name 'Subnet01' -VirtualNetwork $vnet

$subnet=$vnet.subnets[0]

$gipconfig = New-AzureRmApplicationGatewayIPConfiguration -Name gatewayIP01 -Subnet $subnet

$pool = New-AzureRmApplicationGatewayBackendAddressPool -Name pool01 -BackendIPAddresses 192.168.1.20, 192.168.2.21

$poolSetting = New-AzureRmApplicationGatewayBackendHttpSettings -Name poolsetting01 -Port 80 -Protocol Http -CookieBasedAffinity Enabled

$fp = New-AzureRmApplicationGatewayFrontendPort -Name frontendport01  -Port 443

$cert = New-AzureRmApplicationGatewaySslCertificate -Name cert01 -CertificateFile C:\SSL_cert\smarterpcom_azure.pfx -Password "xxxxxx"

$fipconfig = New-AzureRmApplicationGatewayFrontendIPConfig -Name fipconfig01 -Subnet $subnet

$listener = New-AzureRmApplicationGatewayHttpListener -Name listener01  -Protocol Https -FrontendIPConfiguration $fipconfig -FrontendPort $fp -SslCertificate $cert

$rule = New-AzureRmApplicationGatewayRequestRoutingRule -Name rule01 -RuleType Basic -BackendHttpSettings $poolSetting -HttpListener $listener -BackendAddressPool $pool

$sku = New-AzureRmApplicationGatewaySku -Name Standard_Small -Tier Standard -Capacity 2

$appgw = New-AzureRmApplicationGateway -Name appgwtest -ResourceGroupName appgw-rg -Location CentralUS -BackendAddressPools $pool -BackendHttpSettingsCollection $poolSetting -FrontendIpConfigurations $fipconfig  -GatewayIpConfigurations $gipconfig -FrontendPorts $fp -HttpListeners $listener -RequestRoutingRules $rule -Sku $sku -SslCertificates $cert


Lookup
========
Get-AzureRmApplicationGateway -Name appgwtest -ResourceGroupName appgw-rg

Remove
========
Remove-AzureRmApplicationGateway -Name appgwtest -ResourceGroupName appgw-rg

Wednesday, April 15, 2015

Implementing an Infiniband-based Interconnect

Extract from 

Pro Oracle Database 11g RAC on Linux: Installation, Administration, Performance
By : Martin Bach,Steve Shaw
Apress © 2010 ISBN: 9781430229582
ID : 37332


Infiniband is a popular implementation of a remote direct memory access architecture (RDMA). It is a high-speed interconnect commonly
associated with high-performance computing (HPC) environments. According to http://openfabrics.org/, the majority of all clusters
in the Top500 HPC list use this implementation. RDMA enables parallel, direct, memory-to-memory transfers between the nodes in the cluster,
and it requires dedicated RDMA adapters, switches, and software. It also avoids the CPU processing and context switching overheads
associated with Ethernet-based implementations.
There are two different ways to implement Infiniband interconnects on Linux. The first way is referred to as IP over Infiniband (IPoIB) and—
speaking in greatly simplified terms—it replaces Ethernet for the media access control and link-layer control layers. Since the Internet Protocol
remains, the network protocol use of IPoIB is completely transparent to applications. The IPoIB implementation offers significant performance
improvements over Ethernet connections.
Another option is to use Reliable Datagram Sockets over Infiniband. This option is available beginning with Oracle 10.2.0.3. RDS is available
through the Open Fabric Enterprise Distribution (OFED) for Linux and Windows, developed by the Open Fabrics Alliance. As of version
2.6.30, RDS has found its way into the Linux kernel, with Oracle playing a major role as a contributor. The key characteristics of RDS are lowlatency,
low-overhead, and a high bandwidth—basically, all you could ask for in RAC!
You can find a compatibility matrix available online at www.oracle.com/technology/products/database/clustering/
certify/tech_generic_linux_new.html.
This matrix lists RDS as supported for Linux with QLogic/SilverStorm switches on Oracle 10.2.0.3 and newer. Open Fabrics Enterprise
Distribution (OFED) 1.3.1 and newer for RDS v2 is supported from Oracle 11.1 onwards with QLogic, HP, and Voltaire switches. My Oracle
Support note 751343.1 has a direct link to the required patches for Oracle Enterprise Linux/Red Hat Enterprise Linux 5. Unfortunately, there
does not seem to be a deployment instruction for RDS on SuSE Linux Enterprise Server. Oracle advises customers to monitor the certification
page for updates.
The Oracle Database Machine and Exadata Storage server drive the use Infiniband to the extreme, offering up to 40Gb/s for communication
within the cluster, which is impossible to beat with Ethernet. An Infiniband solution has the great advantage of higher performance of than the
ever-so-present Gigabit Ethernet interconnect, but it also comes at a higher cost and introduces another technology set into the data center.

Tuesday, April 15, 2014

Sunday, January 12, 2014

Splitting the Adaptive Processing Server: SAP BI Platform 4.0

Very informative

http://www.youtube.com/watch?v=2Uyi0V7RdwA&feature=youtu.be

Tuesday, October 15, 2013

vsftpd chrooting

http://blog.oneiroi.co.uk/linux/security/vsftpd-chrooting-without-the-headache-allowing-shared-directories/