Carl Erhard | Authorization bundles do not limit installation to a single blade. For example, an authorization bundle for an NME blade will allow the application to be installed on any NME-APPRE-302-K9, NME-APPRE-502-K9, and NME-APPRE-522-K9 platforms. There are 2 possibilities for allowing your application to start on 1 blade that I can think of: The first is using the MAC address. If you run "ifconfig" from within your application, you should be able to parse out the MAC address of the ethernet card. If the address matches the machine you want to run on, allow your application to start. If not, do not allow your application to start. The second is to use the CLI "show license udi." This is how each blade can be uniquely identified. From within your application, you can run the following command: > appreapi --mode exec "show license udi" This will give you a UDI which is unique to your blade. Your startup script can parse the output from one of the solutions above and determine if the application should start or not. Once the application has been debugged, you might want to be careful about allowing console access to the application because if you do the startup script could be modified to omit this check. There may be other ways to limit to the machine you're running on, these are just a couple of suggestions I thought of. I hope it helps. -Carl |
| Please sign in to flag this as inappropriate. |