{"id":1530,"date":"2018-08-10T14:18:42","date_gmt":"2018-08-10T14:18:42","guid":{"rendered":"http:\/\/dbtut.com\/?p=1530"},"modified":"2018-11-09T22:35:18","modified_gmt":"2018-11-09T22:35:18","slug":"creating-new-replica-set-configuration","status":"publish","type":"post","link":"https:\/\/dbtut.com\/index.php\/2018\/08\/10\/creating-new-replica-set-configuration\/","title":{"rendered":"Creating New Replica Set Configuration"},"content":{"rendered":"<p><strong>Replica set configuration on \u2018n\u2019 node Replica:<\/strong><\/p>\n<p>We generally have 3 nodes replica set with 1\u00a0<strong>Primary<\/strong>\u00a0and 2\u00a0<strong>secondaries<\/strong>.<\/p>\n<p>Below are the steps we will need to perform to configure replica set in our environment.<\/p>\n<p><strong>1.<\/strong>\u00a0We will receive server with required configuration with CloudOps. They will be using standard configurations in\u00a0 for replica set Standard MongoDB installation on EC2.<\/p>\n<p>Perform below steps one by one on each nodes :<\/p>\n<p><strong>(a)\u00a0\u00a0\u00a0\u00a0<\/strong>Create data directory for mongo :<\/p>\n<pre class=\"lang:default decode:true \">sudo mkdir -p \/mongo\/data\/data<\/pre>\n<p>&nbsp;<\/p>\n<p>sudo chown -R mongod:mongod \/mongo\/data\/data\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (NOTE : For permissions to directories take reference from any already present replica cluster)<\/p>\n<p><strong>(b)<\/strong>\u00a0Create log directory :<\/p>\n<pre class=\"lang:default decode:true \">sudo mkdir -p \/mongo\/log\r\n\r\nsudo chown -R mongod:mongod \/mongo\/log<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>(c)<\/strong>\u00a0Create directory to keep key file (used to authenticate servers to each other)<\/p>\n<pre class=\"lang:default decode:true\">sudo mkdir -p \/mongo\/key\r\n\r\nsudo chown -R mongod:mongod \/mongo\/key\r\n\r\ncd \/mongo\/key<\/pre>\n<ul>\n<li>Run below command to generate key :<\/li>\n<\/ul>\n<pre class=\"lang:default decode:true \">sudo openssl rand -base74 741 &gt; mykey {or use this command: \"tr -dc A-Za-z0-9 &lt;\/dev\/urandom | head -c 1024 &gt; mykey\" }<\/pre>\n<p>&nbsp;<\/p>\n<p>Copy the key generated on first server to rest of the servers. It should be same on each server.<\/p>\n<p><strong>NOTE<\/strong>\u00a0: Set the permission of these files to 600 so that only the owner of the file can read or write this file to prevent other users on the system form accessing the shared secret by running below command<\/p>\n<pre class=\"lang:default decode:true \">sudo chmod 600 mykey<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>2.<\/strong>\u00a0Edit the Mongo configuration file (\/etc\/mongod.conf)<\/p>\n<pre class=\"lang:default decode:true\">vi \/etc\/mongod.conf<\/pre>\n<p>(Take reference of any already present replica cluster. Make sure to keep path of data directory, log and keyfile same as we created in above steps)<\/p>\n<p><strong>NOTE<\/strong>\u00a0: Some variables varies with mongo version like bind_ip_all . Make sure to use them correctly.<\/p>\n<p>Required variables in mongodb conf file are as below. All the nodes in replica set will need to start with below configuration along with rest standard configuration<\/p>\n<pre class=\"lang:default decode:true \">oplogSize = 10240 {example size}\r\n\r\nreplSet = PnewsReplSet (example Name)<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>3.<\/strong>\u00a0Start Mongo service on each node after making changes in MongoDB configuration file (\/etc\/mongod.conf)<\/p>\n<pre class=\"lang:default decode:true \">$ sudo \/etc\/init.d\/mongod start<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>4.<\/strong>\u00a0Make sure MongoDB service port (Default 27017) security rule is added to connect all nodes in replica set. They should be able to connect with each other. We can check by using below command<\/p>\n<pre class=\"lang:default decode:true \">$ nc -z -w 5 &lt;private ip of host&gt; 27017\r\n\r\n$ nc -z -w 5 ip-10-107-2-121 27017\u00a0\u00a0 (Example)<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>5.<\/strong>\u00a0After completing above steps on each node, perform below steps on any of the node first which we need to make our Primary.<\/p>\n<p><strong>(a)<\/strong>\u00a0Login to mongo shell using &#8220;mongo&#8221; command and then perform steps given below.<\/p>\n<pre class=\"lang:default decode:true \">&gt; rs.initiate()\u00a0 --&gt; It will initiate replica set and this server will act as Primary\r\n\r\nPnewsReplSet&gt; rs.add(\"server2:host\") --&gt; Add another node as secondary\r\n\r\nPnewsReplSet&gt; rs.add(\"server3:host\") --&gt; Add one more node as Secondary\r\n\r\nPnewsReplSet&gt; rs.addArb(\"server3:host\") --&gt; If you need to add node as Arbiter<\/pre>\n<p>&nbsp;<\/p>\n<p>Now run below command to check replica set configuration and status.<\/p>\n<pre class=\"lang:default decode:true \">&gt; rs.conf()\u00a0\u00a0\u00a0 --&gt; It will show information about each nodes\r\n\r\n&gt; rs.status() --&gt; It will display information about primary, secondary and arbiter (if present) nodes.<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>(b)<\/strong>\u00a0Now create admin user by logging into primary server (check in rs.status())<\/p>\n<p>Connect to mongo shell.<\/p>\n<pre class=\"lang:default decode:true \">&gt; use admin\r\n\r\n&gt; db.getSiblingDB(\"admin\").createUser(\r\n\r\n{\r\n\r\n\"user\" : \"admin\",\r\n\r\n\"pwd\" : \"&lt;password&gt;\",\r\n\r\nroles: [ { \"role\" : \"root\", \"db\" : \"admin\" } ]\r\n\r\n}\r\n\r\n)<\/pre>\n<p>&nbsp;<\/p>\n<p>Confirm it using :<\/p>\n<pre class=\"lang:default decode:true \">&gt; use admin\r\n\r\n&gt; db.getUsers()<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>NOTE :<\/strong> Create Admin user\u00a0 \u2014 need not to be repeated on the remaining servers, as it is already replicated to the other nodes (Secondary\u2019s and arbiter)<\/p>\n<p><strong>6.<\/strong>\u00a0Now login to secondary servers and perform below steps :<\/p>\n<pre class=\"lang:default decode:true \">&gt; rs.printSlaveReplicationInfo()\u00a0\u00a0 ---&gt; It will show that secondary is in sync with primary<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>NOTE :<\/strong> In case of arbiter, no need to perform above step. The arbiter does not contain any data therefore you or the application won&#8217;t need to authenticate if you connect directly.<\/p>\n<p>When your application is connecting to a replica set it will detect if a node is an arbiter and don&#8217;t attempt to connect to it.<\/p>\n\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_1530\" class=\"pvc_stats all  \" data-element-id=\"1530\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/dbtut.com\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Replica set configuration on \u2018n\u2019 node Replica: We generally have 3 nodes replica set with 1\u00a0Primary\u00a0and 2\u00a0secondaries. Below are the steps we will need to perform to configure replica set in our environment. 1.\u00a0We will receive server with required configuration with CloudOps. They will be using standard configurations in\u00a0 for replica set Standard MongoDB installation &hellip;<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_1530\" class=\"pvc_stats all  \" data-element-id=\"1530\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/dbtut.com\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":112,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[1306,1388],"tags":[],"class_list":["post-1530","post","type-post","status-publish","format-standard","","category-mongodb","category-nosql"],"aioseo_notices":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Creating New Replica Set Configuration - Database Tutorials<\/title>\n<meta name=\"description\" content=\"Creating New Replica Set Configuration\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dbtut.com\/index.php\/2018\/08\/10\/creating-new-replica-set-configuration\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creating New Replica Set Configuration - Database Tutorials\" \/>\n<meta property=\"og:description\" content=\"Creating New Replica Set Configuration\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dbtut.com\/index.php\/2018\/08\/10\/creating-new-replica-set-configuration\/\" \/>\n<meta property=\"og:site_name\" content=\"Database Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2018-08-10T14:18:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-11-09T22:35:18+00:00\" \/>\n<meta name=\"author\" content=\"Bhushan Lipare\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Bhushan Lipare\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2018\/08\/10\/creating-new-replica-set-configuration\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2018\/08\/10\/creating-new-replica-set-configuration\/\"},\"author\":{\"name\":\"Bhushan Lipare\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/19245ad317b06441475e67c4c7e8bf0e\"},\"headline\":\"Creating New Replica Set Configuration\",\"datePublished\":\"2018-08-10T14:18:42+00:00\",\"dateModified\":\"2018-11-09T22:35:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2018\/08\/10\/creating-new-replica-set-configuration\/\"},\"wordCount\":481,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/dbtut.com\/#organization\"},\"articleSection\":[\"MongoDB\",\"NoSQL\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/dbtut.com\/index.php\/2018\/08\/10\/creating-new-replica-set-configuration\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2018\/08\/10\/creating-new-replica-set-configuration\/\",\"url\":\"https:\/\/dbtut.com\/index.php\/2018\/08\/10\/creating-new-replica-set-configuration\/\",\"name\":\"Creating New Replica Set Configuration - Database Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/dbtut.com\/#website\"},\"datePublished\":\"2018-08-10T14:18:42+00:00\",\"dateModified\":\"2018-11-09T22:35:18+00:00\",\"description\":\"Creating New Replica Set Configuration\",\"breadcrumb\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2018\/08\/10\/creating-new-replica-set-configuration\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/dbtut.com\/index.php\/2018\/08\/10\/creating-new-replica-set-configuration\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2018\/08\/10\/creating-new-replica-set-configuration\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/dbtut.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Creating New Replica Set Configuration\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dbtut.com\/#website\",\"url\":\"https:\/\/dbtut.com\/\",\"name\":\"Database Tutorials\",\"description\":\"MSSQL, Oracle, PostgreSQL, MySQL, MariaDB, DB2, Sybase, Teradata, Big Data, NOSQL, MongoDB, Couchbase, Cassandra, Windows, Linux\",\"publisher\":{\"@id\":\"https:\/\/dbtut.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dbtut.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/dbtut.com\/#organization\",\"name\":\"dbtut\",\"url\":\"https:\/\/dbtut.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg\",\"contentUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg\",\"width\":223,\"height\":36,\"caption\":\"dbtut\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/19245ad317b06441475e67c4c7e8bf0e\",\"name\":\"Bhushan Lipare\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ac02551171942f964435f57c629f15ea19a083cd10e310aa5acc79f58018a27a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ac02551171942f964435f57c629f15ea19a083cd10e310aa5acc79f58018a27a?s=96&d=mm&r=g\",\"caption\":\"Bhushan Lipare\"},\"url\":\"https:\/\/dbtut.com\/index.php\/author\/bhushanlipare\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Creating New Replica Set Configuration - Database Tutorials","description":"Creating New Replica Set Configuration","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/dbtut.com\/index.php\/2018\/08\/10\/creating-new-replica-set-configuration\/","og_locale":"en_US","og_type":"article","og_title":"Creating New Replica Set Configuration - Database Tutorials","og_description":"Creating New Replica Set Configuration","og_url":"https:\/\/dbtut.com\/index.php\/2018\/08\/10\/creating-new-replica-set-configuration\/","og_site_name":"Database Tutorials","article_published_time":"2018-08-10T14:18:42+00:00","article_modified_time":"2018-11-09T22:35:18+00:00","author":"Bhushan Lipare","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Bhushan Lipare","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/dbtut.com\/index.php\/2018\/08\/10\/creating-new-replica-set-configuration\/#article","isPartOf":{"@id":"https:\/\/dbtut.com\/index.php\/2018\/08\/10\/creating-new-replica-set-configuration\/"},"author":{"name":"Bhushan Lipare","@id":"https:\/\/dbtut.com\/#\/schema\/person\/19245ad317b06441475e67c4c7e8bf0e"},"headline":"Creating New Replica Set Configuration","datePublished":"2018-08-10T14:18:42+00:00","dateModified":"2018-11-09T22:35:18+00:00","mainEntityOfPage":{"@id":"https:\/\/dbtut.com\/index.php\/2018\/08\/10\/creating-new-replica-set-configuration\/"},"wordCount":481,"commentCount":1,"publisher":{"@id":"https:\/\/dbtut.com\/#organization"},"articleSection":["MongoDB","NoSQL"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/dbtut.com\/index.php\/2018\/08\/10\/creating-new-replica-set-configuration\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/dbtut.com\/index.php\/2018\/08\/10\/creating-new-replica-set-configuration\/","url":"https:\/\/dbtut.com\/index.php\/2018\/08\/10\/creating-new-replica-set-configuration\/","name":"Creating New Replica Set Configuration - Database Tutorials","isPartOf":{"@id":"https:\/\/dbtut.com\/#website"},"datePublished":"2018-08-10T14:18:42+00:00","dateModified":"2018-11-09T22:35:18+00:00","description":"Creating New Replica Set Configuration","breadcrumb":{"@id":"https:\/\/dbtut.com\/index.php\/2018\/08\/10\/creating-new-replica-set-configuration\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dbtut.com\/index.php\/2018\/08\/10\/creating-new-replica-set-configuration\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/dbtut.com\/index.php\/2018\/08\/10\/creating-new-replica-set-configuration\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dbtut.com\/"},{"@type":"ListItem","position":2,"name":"Creating New Replica Set Configuration"}]},{"@type":"WebSite","@id":"https:\/\/dbtut.com\/#website","url":"https:\/\/dbtut.com\/","name":"Database Tutorials","description":"MSSQL, Oracle, PostgreSQL, MySQL, MariaDB, DB2, Sybase, Teradata, Big Data, NOSQL, MongoDB, Couchbase, Cassandra, Windows, Linux","publisher":{"@id":"https:\/\/dbtut.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dbtut.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/dbtut.com\/#organization","name":"dbtut","url":"https:\/\/dbtut.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/#\/schema\/logo\/image\/","url":"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg","contentUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg","width":223,"height":36,"caption":"dbtut"},"image":{"@id":"https:\/\/dbtut.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/dbtut.com\/#\/schema\/person\/19245ad317b06441475e67c4c7e8bf0e","name":"Bhushan Lipare","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ac02551171942f964435f57c629f15ea19a083cd10e310aa5acc79f58018a27a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ac02551171942f964435f57c629f15ea19a083cd10e310aa5acc79f58018a27a?s=96&d=mm&r=g","caption":"Bhushan Lipare"},"url":"https:\/\/dbtut.com\/index.php\/author\/bhushanlipare\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts\/1530","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/users\/112"}],"replies":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/comments?post=1530"}],"version-history":[{"count":0,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts\/1530\/revisions"}],"wp:attachment":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/media?parent=1530"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/categories?post=1530"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/tags?post=1530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}