Quantcast
Channel: VMware Communities : Unanswered Discussions - vCenter™ Server
Viewing all articles
Browse latest Browse all 3506

How to calculate Esxi Host FQDN when iterator type is ALPHA ?

$
0
0

At emc, we use a tool called PEQ(Pre Engagement Questionnaire) which calculates the complete FQDN for Esxi Host. I provide below the image.

Capture.PNG

As per my requirement, I need to calculate the FQDN when iterator is ALPHA.

I have written the code which does exactly like the PEQ as shown in the image. Recently I got to know that PEQ is calculating wrongly.

As per the above tool PEQ if we enter values like 26, 27, we get the following output.

 

26 -> aa

27 -> ab

 

But got to know from PDMs and Field engineers that it should be like this.

 

26 - ba

27 - bb

 

Somehow I have derived the logic to calcuate as per PEQ. Please suggest whether PEQ is calculating wrongly or not.

If PEQ is calculating wrongly what is the correct one. Is there any algorithm to calculate the FQDN based on iterator type ALPHA ?

Could please provide me the algorithm details about how to calcuate FQDN if the iterator is ALPHA.

Is there any tool which calculates correctly so that while writing code I can validate FQDN against that tool ?

Please help in this regard.


Viewing all articles
Browse latest Browse all 3506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>