2 Replies Latest reply on Mar 19, 2013 10:47 AM by crisb

    Is it possible to make server names less restrictive?

    crisb

      A server can only have 7 alpha characters.  This seems a bit restrictive, could it be more like the service name which is 128 alphanumeric?

        • 1. Re: Is it possible to make server names less restrictive?
          zhfeng

          we use the following codes to advertise an admin service which used in the core engine,

           

           char adm[XATMI_SERVICE_NAME_LENGTH + 1];
           ACE_OS::snprintf(adm, XATMI_SERVICE_NAME_LENGTH + 1, ".%s%d", server, serverid);
          

           

          the XATMI_SERVICE_NAME_LENGTH is 15 which is defined in the XATMI spec:

           

           

          The first 15 characters determine the service name.

          so the server name cannot use a number as the numbers are allocated by the core engine and the name can be determined by the portion of text between a period and a number. then we restricte its maxlength for 7 as we need to support 10^7 servers.

           

          hope this is clear !

          Thanks,

          Amos

          • 2. Re: Is it possible to make server names less restrictive?
            crisb

            thanks for the explanation!