Monday, 16 April 2018

MYSQL Master Slave Replication Configuration

A. MASTER Configuration

1. Remove or comment out following 2 lines in /etc/my.cnf config file:

       skip-networking
       bind-address = 127.0.0.1

2. ADD these 3 lines in /etc/my.cnf :

log-bin = mysql-bin
binlog-do-db = sample_database
server-id=2

*Line 1: Instructs mysql what log file to use.
*Line 2: Instructs mysql which database to replicate
*Line 3: Instructs mysql that this machine is the master.

3. Restart mysqld or mariadb daemon (service mariadb restart)


4. Connect to mysql using root user & run following commands one by one :

GRANT REPLICATION SLAVE ON *.* TO 'YOUR_USER'@'SLAVE_IP_ADDRESS' IDENTIFIED BY 'YOUR_PASSWORD'; 
(New user creation & Grant Replication permissions.)

        FLUSH PRIVILEGES;

USE sample_database;   (sample_database is the database name we want to replicate)

FLUSH TABLES WITH READ LOCK;

SHOW MASTER STATUS;
Example :
+------------------+----------+--------------+------------------+
| File                   | Position | Binlog_Do_DB  | Binlog_Ignore_DB |
+------------------+----------+--------------+------------------+
| mysql-bin.005  |      102   | sample_database |             |
+------------------+----------+--------------+------------------+

(Note Down this info that you get after running this command, we'll require it while setting up SLAVE)

B. SLAVE Configuration : 

1. ADD these 2 lines in my.cnf : 

server-id=3
replicate-do-db=sample_database

2. Restart mysqld or mariadb daemon (service mariadb restart)

3. Connect to mysql using root user & run following commands one by one :

CHANGE MASTER TO MASTER_HOST='IP_ADDRESS_OF_MASTER', MASTER_USER='USER', MASTER_PASSWORD='USER_PASSWORD',
MASTER_LOG_FILE='mysql-bin.005', MASTER_LOG_POS=102;

Where:
IP_ADDRESS_OF_MASTER is the actual IP address of the Master server.
USER is the actual user you created on the Master.
USER_PASSWORD is the actual password you gave the user on the Master.
mysql-bin.005 is the File name from the output of the SHOW MASTER STATUS command         from above.
MASTER_LOG_POS is the Position given in the output of the SHOW MASTER STATUS     command from above.

4. Start/Stop & check status commands for slave : 

   SLAVE START;  (Leave it running for auto sync)
   SHOW  SLAVE STATUS;  (Gives status of slave daemon)
   SLAVE STOP;   (To stop slave replication)


(Article referred : https://stackoverflow.com/questions/7707859/mysql-database-sync-between-two-databases)


--------------------------END OF CONFIGURATION--------------------------


TROUBLESHOOTING GUIDELINES :


A. SOME Nice Troubleshooting STEPS :

1. First, make sure you have run CHANGE MASTER TO and configured the server as a replica. If you’ve done this, you should get some output from SHOW SLAVE STATUS. If so, go to the next step.

2. Next, make sure you have set a server ID on both the master and the replica. Try running SHOW VARIABLES LIKE 'server_id' on both servers. If the value is zero or one, check the configuration file for an explicit setting, because zero or one is often the default value when nothing is specified. I have seen this cause the replica to fail, even in cases where the master’s ID is 1, which ought to work okay but sometimes doesn’t.

3. Finally, make sure your master and replica have different server IDs (on small networks, I usually set the server ID to the last octet in the server’s IP address, because it’s handy and easy to remember). MySQL replicas will refuse to replicate from a master with the same ID.

**Also Refer : https://dev.mysql.com/doc/refman/5.7/en/replication-problems.html (For troubleshooting tips)

B.  If  in case slave_sql_running is NO & slave_io_running is YES do following : 

 STOP SLAVE;
SET GLOBAL SQL_SLAVE_SKIP_COUNTER = 1; 
START SLAVE;
Refer : https://serverfault.com/questions/872911/slave-sql-running-no-mysql-replication-stopped-working

..................................................Troubleshooting ends.............................................

II. Replicating Multiple Databases (Multiple Master Slave):

(https://forums.mysql.com/read.php?26,171776,205870)
=============================
MASTER: add lines to my.cnf
=============================
binlog-do-db=database_name_1
binlog-do-db=database_name_2
binlog-do-db=database_name_3
=============================
MASTER: SQL SYNTAX
=============================
GRANT REPLICATION SLAVE ON *.* TO 'user'@'%' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
FLUSH TABLES WITH READ LOCK;
UNLOCK TABLES;
SHOW MASTER STATUS;
output> file | Position | Binlog_Do_DB
mysql-bin.000963 1570 database_name_1,database_name_2,database_name_3
=============================
SLAVE: add lines to my.cnf
=============================
replicate-do-db=database_name_1
replicate-do-db=database_name_2
replicate-do-db=database_name_3
=============================
SLAVE: SQL SYNTAX
=============================
SLAVE STOP;
CHANGE MASTER TO MASTER_HOST='192.168.0.2', MASTER_USER='user', MASTER_PASSWORD='password', MASTER_LOG_FILE='mysql-bin.000963', MASTER_LOG_POS=98;
START SLAVE;
SHOW SLAVE STATUS;

NOTE:

MASTER_LOG_FILE='mysql-bin.000963', MASTER_LOG_POS=98; is displayed when you run the SQL command from the master: cmd mysql#> SHOW MASTER STATUS;

ALSO:

When you run #> SHOW SLAVE STATUS;
make sure you see: Slave_IO_Running | Slave_SQL_Running
Yes Yes


Wednesday, 4 October 2017

Palam Colony Raj-Nagar MCD Election Result - Candidate & Ward Wise Complete Winner List

PARTYCANDIDATE NAMESTATUS
BJPBHUPENDER GUPTAwon
INCVINOD KUMAR YADAVlost
BSPHARNEK SINGHlost
SHIVSENAABHISHEK YOGIlost
AAPPOONAM BHARDWAJlost
INDOM BIRlost
INDDIWAKAR CHAUBEYlost
INDCHANDRA SHEKHAR SINGH JEENAlost
INDSATYA PRAKASH PANDEYlost
INDMAHAVIR SINGH PUSHKARlost
INDPRABHAWATIlost
INDSURENDER SINGH BISHTlost
INDRAM NIWASlost
INDSHUBH RAMlost
INDJAGDISH SHARMAlost
INDANJU SINGHlost
INDPRADEEP SAINIlost

palam rajnagar part 2 MCD councillor

Delhi MCD election 2017

BHUPENDER GUPTA (Winner)

046-S-RAJ NAGAR (SOUTH DELHI)
Party:BJP
S/o|D/o|W/o: Sh.Shiv Dayal Gupta
Age: 51
Address: 669,Gali No 16,Raj nagar -II palam colony ND-110077
Name Enrolled as Voter in: (Delhi) constituency , at Serial no 0 in Part no 0
Email:
Contact Number:
Self Profession:Teacher (private)
Spouse Profession:teacher (private)

Palam MCD councillor - Aman Kumar

Delhi MCD election 2017

AMAN KUMAR (Winner)

054-S-PALAM (SOUTH DELHI)
Party:BJP
S/o|D/o|W/o: Shri Hari Prakash
Age: 50
Address: Resident of WZ-53, Mohalla Chhotial, Palam Village, New Delhi-110045
Name Enrolled as Voter in: (Delhi) constituency , at Serial no 0 in Part no 0
Email:
Contact Number:
Self Profession:Document Writer
Spouse Profession:House Wife

DDA least bothered about making palam-Dwarka flyover safe

New Delhi: It is among the most dangerous roads for drivers in Delhi, with over 145 accidents reported in 2012-16. But Delhi Development Authority seems in no hurry to make the Dwarka flyover safer. For eight months now, it has been sitting on the prescription given by the Central Road Research Institute to minimise accidents on the 2-km stretch.

The flyover, constructed above a densely populated area, is a vital connection between Dwarka and south Delhi, but has become a serious concern for traffic police. To make the flyover safer, DDA had asked CSIR-CRRI in 2015 to conduct a safety audit. The audit report was submitted in January this year, but nothing has been done to carry through its advice.

CSIR-CRRI noted serious problems on the elevated road, but its officials said that DDA was yet to hold a meeting to discuss the audit findings. "As a policy, we present the audit findings and have a closure meeting to clarify doubts that the agency that has given us the task might have," said Dr S Velmurugan, senior principal scientist, traffic engineering and safety division, CSIR-CRRI. "There has been no meeting with DDA officials till date."






Among the foremost problem that the road experts noted on the flyover was the lack of shielding from the headlights of oncoming traffic. Because of the narrow road width, the median verge is not spacious enough for the greenery curtain. CSIR-CRRI, therefore, recommended the installation of anti-glare screens between the two carriageways. DDA did put up such screens on one of the five curves on the length of the flyover, but these have gone missing now.


Road delineators are missing at several places, particularly near curves, as are crash cushions near the mouth of the flyover and at the ramp leading to Palam Village. "We found the bollards damaged and the chevron markings faded. These are important from the point of road safety," added Velmurugan. "Crash cushions might be a bit expensive, but these are necessary on this stretch."


he report suggested that DDA and traffic police should replace all non-standard traffic signs with those complying with India Road Congress specifications. It asked for proper signboards to indicate the curves and the on/off ramps.


Delhi traffic officials admitted the need for such measures, including reflectors at curves and speed calming devices. Without outlining a time frame for implementing CSIR-CRRI's recommendations, a senior DDA official said, "These will be executed soon."

Source - Times Of India (TOI) - timesofindia.indiatimes.com/city/delhi/dda-in-no-hurry-to-make-dwarka-flyover-safe/articleshow/60875708.cms

Nirula's Ice Cream Palam · Dessert Parlor

Phone number

011 68888078

Cuisines

Average Cost 

₹250 for two people (approx.) 
Exclusive of applicable taxes and charges, if any
Cash and Cards accepted

Opening hours

 · Open now
Today  9 AM to 1 AM

Address
Opposite Metro Pillar Number 57, Near Maharaja Agrasain Chowk, Main Market, Palam Colony, Palam, New Delhi

More Info


Vegetarian Only

Desserts and Bakes

Tuesday, 28 February 2017

Dominos Pizza in PALAM MAIN ROAD, PALAM COLONY, NEW DELHI

Domino's now at the heart of Palam Colony.




Store Address : Ground Floor, Plot no. 3 & 4, Municipal no. RZ- 1/13 Eastern side portion of Khasra no. 69/7 min Village Palam, Raj Nagar, Palam Colony Palam Main Road, adjacent HDFC Bank NEW DELHI, NEW DELHI

Contact No.011-25368102-09 Timings : 11 AM to 11 PM

Car mechanics take over Palam - Dwarka road



The road in front of Brahma Apartments in Dwarka Sector 7 has been encroached on by car repair workshops and their mechanics for past some years now. There are cars frequently parked even outside the gate of the apartments, leading to constant traffic jams.  People are really struggling through heavy traffic jams and chaos created by these mechanics on the road.



Mahavir Enclave Palam, Call centre owner jailed for power theft




A special courtroom (power) imposed one-12 months imprisonment and a fine of ₹25lakh on a call centre proprietor in Palam for power theft.

Vipin Sharma was found guilty of stealing 18 kW of energy for running a mid-sized call centre at Mahavir Enclave, in Palam Colony. the call centre, One stop marketing solutions, was running with out an electricity meter.

rise in breakdowns

primarily based on policies, Mr. Sharma was charged under the electricity Act.

“…this is an monetary offence in which society as an entire is the sufferer and the sincere payers of electricity charges are the sufferers as a consequence of the proved behavior of the convicts. Such convicts are getting unearned gain at the cost of others,” read the judgment by means of Dwarka additional sessions judge Gulshan Kumar.

Sunday, 18 December 2016

Dada Dev Hospital Dabri New Delhi

Introduction :




Shri Dada Dev Matri Avum Shishu Chikitsalaya is a 64 bedded Hospital to provide mother and child care. Located in south West District at Dabri, New Delhi, It is the only govt hospital near palam dwarka region. It is first hospital of its own. It has an area of 10470 sq meters with facilities of hostel and staff accommodation. This is the first Hospital of its own kind of GNCT Delhi to provide Mother and Child Health Services in an integrated way.

Vision

To establish a center of excellence in the field of mother & child health.

Mission

Provide Mother & Child health care though latest developments and innovation in the field of mother & child health within the available resources.

Adminstrative Staff

NAME DESIGNATION
Dr.V.K.Kadam Medical Superintendent
Dr.Rekha Aggarwal Additional Medical Superintendent
Dr.Brijesh Kumar Deputy Medical Superintendent
Dr Deepmala Incharge Emergency Services
Ms Asha Rani Bedi Assistant Nursing Superintendent
Ms Pratima Bhatia Administrative Officer

How to contact:

Mobile No : 9990983543
Telephone No 011-25395528; 011-25395536
Email msddmsc@gmail.com
Website www.sddmsc.delhigovt. in
Location Dabri,Delhi-110045
Bus Route No 761,RL 77,778 and RTV from Uttam Nagar
Police Station Dabri, Delhi-110 045
Phone No 011-25395540

Thursday, 8 December 2016

Vishal Mega Mart in Dwarka

Vishal Mega Mart, a renowned name in retail shopping is opening its 9th store in Delhi at Sector 7 (Ramphal Chowk) Dwarka. Vishal Mega Mart is a a popular name among the shoppers. It is one of the best ‘everything under one roof’ concepts.


Address: E-Block, Sector 7, Palam Extension, Near Ramphal Chowk, New Delhi, Delhi 110075
Phone: 093111 23129
Hours: 
Open today · 10AM–10PM

Haldiram Bhujiawala Mahavir Enclave Palam Dabri Road


 

Phone Numbers

011 45452300
00 45452301

Cuisines

Street Food, North Indian, South Indian, Mithai

Cost 

Average
₹400 for two people (approx.)
Cash and Cards accepted

Opening hours

 · Open now
Today  9 AM to 11 PM

Address

D-8/3, Mahavir Enclave Part-1 Main Palam Dabri Road, Palam, New Delhi

Highlights

Breakfast
Home Delivery
Vegetarian Only

Foggy mornings continue in Delhi-NCR, visibility at Palam drops to 150 metres

Fog in delhi : Foggy mornings continue in Delhi-NCR, visibility at Palam drops to 150 metres Dec 08, 2016 07:10 AM Delhi and the NCR region continue to witness foggy mornings. Parts of Delhi once again woke up to dense fog during the early morning hours of Thursday. While the visibility at Palam Airport has been reported to be very low at 150 metres, other parts of Delhi recorded shallow fog. Shallow to moderate fog was reported in Anand Vihar, Dilshad Gardens, Karol Bagh, Kashmiri Gate, Uttam Nagar and RK Puram. Areas including Noida and Faridabad witnessed moderate to dense fog.

Saturday, 20 August 2016

Wanted criminal arrested in Dwarka


A criminal wanted in nearly 100 robbery and snatching cases and carrying a reward of Rs 50,000 was arrested here, police said today.

Manish, 35, was arrested by team of Special Cell from Old Palam Road Dwarka on August 17. He tried to flee by firing at the policemen in which one constable Ombir had a narrow escape, said a statement by Special Cell.

On an earlier occasion in June, Daryaganj police team had laid a trap to catch Manish near Geeta Colony flyover, but he dodged the waiting police party as a pillion rider and his close aide Manoj shot at them and injured a constable, it said.

Following the incident, a cash reward of Rs 50,000 was announced for his arrest by the Commissioner of Police.

The accused is wanted in nearly 100 cases and has been involved in 61 snatching cases.

Monday, 25 April 2016

Dominos Mahavir Enclave Delhi



Dominos Mahavir Enclave Delhi

*Delivery/carryout chain offering a wide range of pizza, plus chicken wings & other sides.


Phone : 011 4961 7200, 011 6888 6888

Hours
:  OPEN 11 AM - 11 PM



Store Address : RZ D-8/1, Palam Dabri Marg, Mahavir Enclave, New Delhi, Delhi 110045

ZOMATO LINK : http://www.dominos.co.in/store-location/new-delhi/palam-dabri-road,-mahavir-enclave,-new-delhi/1042 Click on the link below to download the map : MAP

MENU :



dominos mahavir enclave delhi, dominos mahavir enclave contact number, dominos mahavir enclave no, dominos mahavir enclave menu

SOURCE : http://palamguide.com



Tuesday, 22 December 2015

All 10 on board dead as Ranchi-bound BSF plane crashed in Dwarka near shahabad village

New Delhi: All 10 people on board the Ranchi-bound Border Security Force plane that crashed on Tuesday morning in Delhi have died. Eight bodies have been recovered and two more are being pulled out from the wreckage of the twin-engine Superking aircraft.
The tragedy took place within minutes of the plane taking off from the Indira Gandhi International Airport for Jharkhand's capital at 9:37 AM from runway 28. As soon as the twin-engine plane was airborne, it developed a technical snag.

 


 
There were 10 technicians on board the plane who were going to Ranchi to repair a helicopter.

One of its engine malfunctioned and the plane was assigned runway 10 for landing. Just before the approach of the runway, the plane hit some trees and then a boundary wall near a sewage treatment plant.
The plane, manufactured in 1994 and registered in BSF's name in 1995, crashed into the sewage treatment plant at around 9:47 AM and burst into flames. While those on board the plane were killed, some labourers on the ground were also injured.
The incident took place near a railway track in the Shahbad Mohammadpur village of Sector 8 Dwarka in Delhi. The plane was carrying a group of technicians who were going to Ranchi to repair a helicopter.

Along with the pilot of the plane Captain Bhagwati Prasad, the ones who lost their lives in the crash are Deputy Commandants D Kumar and Rajdesh Shibrain. The BSF technicians who died in the crash are Raghvendra Kumar, CL Sharma, SN Sharma, Ravinder Kumar, Surrender Singh, DP Chauhan, KR Rawat.
Home Minister Rajnath Singh, BSF Director General DK Pathak and Delhi Lieutenant Governor Najeeb Jung visited the crash site. MOS Civil Aviation Mahesh Sharma called it an unfortunate incident and said that an inquiry has been ordered into the incident.
Witnesses said that the plane lost control soon after taking off from the airport. They said that there was huge fire seen in the area after the crash.

Saturday, 31 October 2015

Palam Colony couple crushed under car after dwarka expressway collision


A couple were smashed under the wheels of a speeding vehicle on the Delhi-Gurgaon road on Wednesday after the bike they were riding hit a speed breaker and lost control.

Parveen Singh Rathore (37) and his wife Anupama (34), who resided in Palam Colony Delhi with their two school-going youngsters, met with the mishap around 11.30am at the ancient Sirhaul toll square. They were quickly raced to a private healing center in DLF City Phase 3 by the car driver, where specialists proclaimed them dead on arrival.

The car, with a provisional enlistment was being driven by Samira Sisodia, a lady official of a multinational organization. She was accused of section 279(rash driving) and 304A(death by carelessness) of the Indian Penal Code.

DCP East Deepak Saharan said, "The vehicle had a makeshift enlistment number and we have appropriated the auto. We will capture the blamed on Thursday and will deliver her at a city court. The blamed's spouse Dinesh Sisodia has been requested that create the vehicle enrollment records".

Rathore worked in a glass organization at Jharsa chowk segment 15, and his wife worked with a privately owned business in DLF Cyber City. Police said it took a couple of hours to find the relatives of the casualties and that it was when they came to at night that a body of evidence could be enrolled against the charged.

Saturday, 17 October 2015

Misconfigured design of Delhi's Palam-Dwarka flyover makes it deadly spot

 
NEW DELHI: The Dwarka-Palam flyover, which was portrayed on Friday by additional sessions judge Kamini Lau as one of the "deadliest accidents spots" in Delhi, has seen 30 accidents this year alone with five fatalities, as indicated by police records. The court's view that its "flawed" configuration will keep on prompting mishaps is supported by measurements that appear around 90 street mischances have happened on this stretch in the most recent 3 years.

Despite the fact that the no. of accidents on this stretch has gone down after 2008, when there were 20 lethal mishaps on there, the numbers stay disturbing. The court's perceptions came while coordinating the flyover's creator, DDA, to pay Rs 5 lakh as remuneration to the group of 21-year-old Chingliensang Buhril of Manipur, who turned into the 8th casualty of a street setback on the flyover inside of a week in March 2009.

"The flyover is a man-made urban demise trap and is one of the deadliest mischance spots of Delhi, a reality which is affirmed from the quantity of passings that have occurred over a limited ability to focus time," the court said. Upon the arrival of Buhril's mishap, the court pointed out, there were no "pace quieting signage or signage showing the sharp S-molded bend on this flyover".

The judge additionally noticed that DDA, which had developed this flyover in 2006, had let it be known had not gave any wellbeing measures like cautioning signs till 2012.

In its contentions in the witness of the judge, DDA had asserted that the Delhi Police had never approached the city body for any help with controling mishaps on the flyover. The court, on the other hand, differ and called attention to that there had been a few cases when the Delhi Traffic Police had communicated concern yet and a "detached" DDA had done nothing about it.

Indeed, even six years after the fatal stretch guaranteed Buhril's life and those of numerous others, the circumstance has not changed. Mischances keep on occurring there albeit a few signboards and velocity boundaries have now been set up there. It is anything but difficult to see that the stretch requires sparkle studs to help drivers in low-light conditions.

The judge has requested that the administration survey the flyover's outline and think of a lasting answer for the issue. The court said that the establishment of retro-intelligent tapes, shine studs and spring posts by DDA, that as well "on the rehashed goading of the Delhi Traffic Police", constituted just impermanent measures when the issue required a long haul arrangement.

"The plan's subject being imperfect having emerged and certain auxiliary lacks having been seen, there is a requirement for the Government of NCT of Delhi to intercede and a re-look by an autonomous master advisory group is expected to cure the circumstance forever," the judge recommended.

Saturday, 5 September 2015

Cops help in delivery of twins at palam railway station

Shared By : WWW.PALAMGUIDE.COM


One conceived in PCR van, other in Dada Dev Hospital !!!

The Police Control Room staff turned birthing specialists for a pregnant lady on Saturday as they helped convey a youngster inside the police van. In any case, the lady was pregnant with twins and conveyed the second kid at a healing facility later.

The 35-year-old and her little girls are healthy. The police have chosen to compensate the three PCR work force, including a lady, for their snappy reaction.

Laxmibai, stays close Palam railroad station with her spouse Shankar, who functions as worker in the territory.

"The lady was on Platform number one of Palam railway station when she she went into labour. Seeing her crying at the stage, somebody rang the PCR," said a senior cop.

"A PCR van, involving ASI Rajbir, constable Bhagwati and constable Dharmbir, came to the spot in five minutes. They put her on a stretcher and hurried her inside the PCR van," said the officer.

Since none of her relatives were discovered close-by, the PCR staff chose to handle the circumstance themselves.

In any case, it soon got to be clear that the kid would need to be conveyed immediately. The PCR van was ceased and a young lady youngster conveyed.

Accepting the conveyance was finished, Laxmibai and her youngster were taken to Dada Dev Hospital in Palam. "The specialists there educated us that she was pregnant with twins. The other child young lady was conveyed with the assistance of specialists there," included the police.

This is not the first run through Delhi Police work force have helped convey a child. In 2013, the PCR staff helped a lady convey a kid in their vehicle after an auto conveying the lady separated in north Delhi. In May this year, a lady conveyed inside a PCR van close Rajghat after her spouse neglected to discover an auto-rickshaws adjacent and rang the PCR.