I've got a few books and helpful guides to Perl from my company's scripting guy, but I can't seem to find where the best IDE for Perl is.
Mind you, simple is better. I'm just learning for now.
I have configured LVS on cent os using piranha tool .I am using vip of internal n/w as gateway for real server we have two NIC one having exteranl Ip and other for internal n/w which is on 192.168.3.0/24 network.
But I am not able to connect from client it shows connection refused
error
. Please suggest iptables rules for private n public n/w to communicate. May be I am missing this . Iptables rules that we have added are :
iptables -t nat -A POSTROUTING -p tcp -s 192.168.3.0/24 --sport 5000 -j MASQUERADE
this is my ipconfig:
eth0 Link encap:Ethernet HWaddr 00:00:E8:F6:74:DA
inet addr:122.166.233.133 Bcast:122.166.233.255 Mask:255.255.255.0
inet6 addr: fe80::200:e8ff:fef6:74da/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:94433 errors:0 dropped:0 overruns:0 frame:0
TX packets:130966 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9469972 (9.0 MiB) TX bytes:19929308 (19.0 MiB)
Interrupt:16 Base address:0x2000
eth0:1 Link encap:Ethernet HWaddr 00:00:E8:F6:74:DA
inet addr:122.166.233.136 Bcast:122.166.233.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:16 Base address:0x2000
eth1 Link encap:Ethernet HWaddr 00:E0:20:14:F9:2D
inet addr:192.168.3.1 Bcast:192.168.3.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:20ff:fe14:f92d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:123718 errors:0 dropped:0 overruns:0 frame:0
TX packets:148856 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:18738556 (17.8 MiB) TX bytes:11697153 (11.1 MiB)
Interrupt:17 Memory:60000400-600004ff
eth1:1 Link encap:Ethernet HWaddr 00:E0:20:14:F9:2D
inet addr:192.168.3.10 Bcast:192.168.3.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:17 Memory:60000400-600004ff
eth2 Link encap:Ethernet HWaddr 00:16:76:6E:D1:D2
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:21 Base address:0xa500
and ipvsadm -ln command
[root@abts-kk-static-133 ~]# ipvsadm -ln
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 122.166.233.136:5000 wlc
TCP 122.166.233.136:5004 wlc
lvs server routing table
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.3.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
122.166.233.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
169.254.0.0 0.0.0.0 255.255.0.0 U 1003 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1004 0 0 eth1
0.0.0.0 122.166.233.1 0.0.0.0 UG 0 0 0 eth0
real 1
real 2
we have configured various ports from 5000:5008 .
Do we need to this iptables for all ports?
Suggest me how should I solve this issue.
From this article I have learnt, that DWM is enabled only with AERO:
Let’s recall: without Aero turned on, the DWM is deactivated, so
there’s also no more 2D acceleration, either (this applies equally to
Windows 7 as it does to Vista)
What is the easiest way to tell whether AERO / DWM on Win 7 is enabled / disabled? With some themes it is (visually) obvious, but with some others not (especially not when using remote access like VNC).
Is there some dialog where I can see that AERO / DWM is enabled / disabled?
What are some helpful things that ASP.NET MVC developers could suggest that would help us ASP.NET WebForms developers to write better code/web apps?
I'm a WebForms guy but with all the new hype around MVC I'd value some comments on helpful tips, tricks and strategies that might be able to be used in a webforms app.
I have a form which contains a lot of elements, my DB guy has generated an SP and now i need to call that stored procedure. My form has twenty elements, when i click on submit the data must be saved in database. I know how to do this on insert query, but how to call an SP and perform this operation.
i am sure all of us must have written some bad code at some point in their life. I am a kind of guy who would love to learn from other people mistakes. So can you give some examples of bad code you have written and the way you corrected it.
Hey Guy,
I'm trying to compile one single cpp file with Eclipse CDT and MinGW. On command line, c++ Test.cpp does the job. If I try to compile the file with Eclipse, I get errors telling me that I don't have included string.h in my lib files.
How do I setup Eclipse just to perform "g++ Test.cpp" without considering my lib files as independent files? Thanks for helping :)
Kon
Hey all,
I've got a few books and helpful guides to Perl from my company's scripting guy, but I can't seem to find where the best IDE for Perl is.
Mind you, simple is better. I'm just learning for now.
Thanks in advance!
Specifically, I'm looking for something that will handle 2D diagrams, sprockets, and dimensioning.
I could probably use Inkscape, but I'd like a "proper" tool.
Googling has returned a variety of options, but I'm unsure as to how to evaluate them. Ideally, I'd like something free/open-source, but inexpensive (under $100) would be fine, too.
I'm a longtime C/C++ Unix guy. I recently started work in a new position that's gonna eventually require C# and WPF (and probably some LINQ). What are the best resources to quickly come up to speed on all these Microsoft technologies? Years ago I read Petzold's book and loved it because it was so complete and by the end I really felt like I knew what I was doing... Is their something equivalent for the .NET world?
Hey,
For some time i see that employers demand from programmers knowing Sharepoint, but I have problem with understand what it is :/
But today I was at IT training, and main guy told something like that:" Sharepoint is platform for commit code for programmer, control of version etc..."
It is true? It looks like SVN tool... Can someone explain me what advantages it have for c# programmer?
Thanks ;)
I ran across a small framework some time back that someone put together for iPhone wait screens. But now I can't find any trace of it. Does anyone have a link to it? It may not be a framework as much as a few code snippets. But the guy had it all pre-made. You just needed to implement and specify the type of wait screen you wanted.
I've got a few books and helpful guides to Perl from my company's scripting guy, but I can't seem to find where the best IDE for Perl is.
Mind you, simple is better. I'm just learning for now.
There was a graphical X-windows game on a 2D field, where you compete against computerized players (Bill Gates' clones?) to install operating systems on PCs.
You'd click a PC to install linux on it, but the little Bills would run around and put Windows back on it, etc...
What was this called? Anyone remember?
Thanks
Hello all, I am not a comp science guy. Managed resources are allocated on the heap. But I would like to know where unmanaged resources are allocated. If unmanaged resources are also allocated on the heap, is it the same heap used by managed resources or a different one?
Thanks in advance.
Harsha
The 'Auto Shutdown computer after all downloads finish' extension that I used for Firefox 3.6 - Auto Shutdown 3.6.2D by InBasic , does not work with Firefox 4 or higher, even if I tweaked it to force its compatibility with versions of Firefox higher than 3.6.
Can anyone recommend another extension, software, or solution that can automatically shutdown the computer after all downloads have finished in Firefox 4 or later versions?
The OS I'm using is Windows 7.
Yesterday I read a question (now deleted) from a guy asking: "Why my avatar is now a pony?"
Today my avatar changed suddenly, and now I see a pony and a rainbow. but my gravatar still no changed.
What's happening?
I need to make my little guy (in a UIIamgeView) jump forward and it has to look natural. I want to know is there a way to do it with CoreAnimation (beginAnimation/commitAnimation)?
I could do it by setting a point in between in the air but the movement looks not natural :P
My Facebook group is about my iPhone software. Is there a way to have it list all my iPhone apps with links/prices etc?
I noticed that this guy does it some how: http://www.facebook.com/AppStore
Thanks
Trying to save the next guy/gal some trouble in finding out what is needed to setup lava lamps or traffic lights or what have you (the term I believe is eXtreme Feedback Devices) as a BIG VISIBLE INDICATOR of your continuous integration build status.
Ensure your post includes... (and please don't mess this question up with imaginative responses.. although it may be insanely funny at the point of conception)
the XFD
what 'helper' hardware is needed
software that you managed to hook it up with
detailed instructions on how to set it up
I'm trying to set the Hidden-property of a Textbox based on this expression:
=IIf(IsNothing(Parameters!customer_numbers.Value) AND
IsNothing(Parameters!country_codes.Value),False,True)
Error: "Argument not specified for parameter 'FalsePart' of Public Function IIf(Expression As Boolean, TruePart As Object, FalsePart As Object) As Object"
I'm a jScript/C# guy and not used to this pseudo-VB language. What is wrong?
Regards
Alex
This question is linked with the answers in the following question:
Error removing Bitmaps[Android]
Is there any advantage of using Drawable over Bitmap in Android in terms of memory de-allocation ?
I was looking at Romain Guy project Shelves and he uses SoftReference for images caches but I'm unable to search where is the code which is de-allocating these Drawables when SoftReference automatically reclaims the memory for Bitmap. As far as I know .recycle() has to be explicitly called on the Bitmap for it to be de-allocated.
I'm technically savvy but don't have extensive experience with servers/daemons (I'm a Windows guy, so...command lines intimidate me).
I started a Mercurial server using the hg serve -d command, and all was well.
Now, I want to stop it, and can't find a process to kill. Does anybody know the process name or a relatively simply CLI command to get it done?
I watched a free high quality video with Aaron Hillegass about Core Data vs Tokyo Cabinet. Besides that this guy is amazingly funny (really, if you want to laugh now, watch it!), he shows off Tokyo Cabinet beeing about 40x faster than Core Data.
I wonder if it's worth thinking about how to attach this to Core Data? Does that make any sense? Maybe as a custom atomic store or something like this?