val() + "/data");
	    			$("#storePathCommitLog").val($("#dir").val() + "/data/commitlog");
	    			
	    			$('input[name="brokerRole"]').each(function(){
	    				if($(this).val() == 'ASYNC_MASTER' || $(this).val() == 'SYNC_MASTER'){
	    					$(this).next().remove();
	    					$(this).remove();
	    				} else {
	    					$(this).attr("checked", "checked");
	    				}
	    			});
	    		} else {
	    			$("#brokerId").attr("readonly","readonly");
	    			$('input[name="brokerRole"]').each(function(){
	 