code: def DbRenameServer(self, argin):
          
          self._log.debug("In DbRenameServer()")
  
          if len(argin) < 2:
              self.warn_stream("DataBase::DbRenameServer(): insufficient number of arguments ")
              th_exc(DB_IncorrectArguments,
                     "insufficient number of arguments (two required: old name and new name",
                     "DataBase::DbRenameServer")
  
          old_name = argin[0]
          new_name = argin[1]
  
          if ('/' not in argin[0]) or ('/' not in argin[1]):
              self.warn_stream("DataBase::DbRenameServer(): wrong syntax in command args ")
              th_exc(DB_IncorrectArguments,
                     "Wrong syntax in command args (ds_exec_name/inst_name)",
                     "DataBase::DbRenameServer")
  
          self.db.rename_server(old_name, new_name)
docs: Rename a device server process
  
          :param argin: str[0] = old device server name (exec/instance)
          str[1] =  new device server name (exec/instance)
          :type: tango.DevVarStringArray
          :return:
          :rtype: tango.DevVoid