view counter

Servers & Storage Feed

Sun Servers and Storage, Solaris, Oracle Linux, Red Hat Linux, Oracle VM for x86, Oracle VDI and Virtualization resources, news, and support articles.

HAProxy – Starting proxy webfarm: cannot bind socket

Today morning when I am trying to start haproxy in one of server I got following error:
[ALERT] 096/213653 (26549) : Starting proxy webfarm: cannot bind socket
I have spent around 2 hours to debug this issue.
Here is the solution:
HAProxy will try to bind to Virtual IP which will only available in active node. Since our virtual IP is already bind to active node, this server unable to bind.
To resolve this issue we need to append net.ipv4.ip_nonlocal_bind=1 in /etc/sysctl.conf file.

vim convert to lowercase or uppercase

 
By using simple substitution we can convert  text in vim either to lowercase or to uppercase.
I have a following text in in one of file:
aBcDeFgH
iJkLmNoP
qRsTuVwX
yZ
To convert complete text to uppercase use following substitution code:
:%s/.*/\U&/g

or

:%s/[a-z]/\U&/g

Similarly to convert complete text to lowercase use substitution code:

vim convert to lowercase or uppercase

 
By using simple substitution we can convert  text in vim either to lowercase or to uppercase.
I have a following text in in one of file:
aBcDeFgH
iJkLmNoP
qRsTuVwX
yZ
To convert complete text to uppercase use following substitution code:
:%s/.*/\U&/g

or

:%s/[a-z]/\U&/g

Similarly to convert complete text to lowercase use substitution code:

Introducing the rsyslog config builder tool

Wouldn't it be great if we had an interactive tool that permitted it novices to build complex rsyslog configurations interactively? Without any need to understand the inner workings or even terminology? Indeed, that would not only be great, but in our opinion also remove a lot of pressure that we have on rsyslog's documentation part.

SP protocols improved again!

Introduction

As a result of some investigations performed in response to my first performance tests for my SP implementation, I've made a bunch of changes to my code.

First off, I discovered that my code was rather racy.  When I started bumping up GOMAXPROCS, and and used the -race flag to go test, I found lots of issues. 

Backup and playback DVD from hard drive using command line

This post is about how to backup and playback DVD content on a hard drive using the command line.

  1. Check available space on hard drive. $ df -hFilesystem Size Used Avail Use% Mounted onrootfs 1.4T 41G 1.2T 4% /udev 10M 0 10M 0% /devtmpfs 1.6G 900K 1.6G 1% /run/dev/disk/by-uuid/6c30b 1.4T 41G 1.2T 4% /tmpfs 5.0M 0 5.0M 0% /run/locktmpfs 9.6G 640K 9.6G 1% /run/shm

HowTo access metadata from RDO Havana Instance on Fedora 20

Per  Direct_access _to_Nova_metadata
In an environment running Neutron, a request from your instance must traverse a number of steps:
1. From the instance to a router,
2. Through a NAT rule in the router namespace,
3. To an instance of the neutron-ns-metadata-proxy,
4. To the actual Nova metadata service

Deep-dive into CloudStack again!

As you might have noticed, I switched jobs on Feb 1st and was quite busy after that. I joined Schuberg Philis, a Mission Critical Outsourcing company in The Netherlands. I met the folks on the CloudStack Collaboration Conference in Amsterdam, back in November. I have a very cool job, as I work with a bunch […]

OPN Smart Combo

Dear Community Members,Following
the Servers&Storage Community Event in Prague, the Marketing Kits
for our 5 initial Smart Combos are now available on OPN portal Marketing kits.Click on the previous link or on the image below and feel free to use the documents available!More content will be ready soon.

NetApp internals – how to add SSH keys without C$ nor NFS shares

This post will describe the process of placing SSH keys using the internal ‘systemshell’ command of NetApp. As always – when doing something which the vendor did not intend you to do, do it very carefully. This data was obtained from NetApp forums, and while I do not have the original post to link (I usually link to the original, as a courtesy to the original author), this is the content, as is.
First, set to advanced mode:
filer> priv set advanced

view counter