I'm running SQL Anywhere 17.0.8.4046 and just upgraded my VPS from 2 vCPSs to 8vCPUs, but the database doesn't seem to be using the additional CPUs. sa_eng_properties() reports:
I have not specified any of the multiprogramming switches I wondered if there was a problem with the licence - the command $ dblic /opt/sqlanywhere17/bin64/dbsrv17.lic SQL Anywhere Server Licensing Utility Version 17.0.8.4046 License read successfully. Workgroup Edition Licensed nodes: 5 User: Terry Wilkinson Company: Driftscape Corp. Install key: xxxxx-xxxxx-xxxxx-xxxxx-xxxxx I believe this means we have a 'per named-user' licence (5) which I understand is good for up to 8 cores (see this link The report from dblic reports I must confess I find the licensing model confusing. Am I missing a setting somewhere? Have I applied the licence incorrectly? Or failed to do so? I would appreciate any help. |
I share the impression that the licensing situation is quite confusing - possibly the question "Core / Processor License Confusion may help...
Note, the first link you provided is not an official SAP link, I'd point you to this official one...
That being said, what does the console log say when the database server is started? It should list the available via licensed cores,something like
The console log is this:
It seems that the installation is not using the licence I think we have purchased. Is there a way to check that?
In case you are certain that the registered license count does not fit your actual license, dblic with the -u option is your friend...
...until you re-read the question and notice the docs don't really tell how to modify the number of cores/processors when the license is not based on them...
Thanks Volker. I'm still suspicious of the reference to "Workgroup Edition" so I decided to try my luck with SAP chat, got redirected to my account exec, and we'll see how that goes. I maybe don't have the license I think I have. :-(
To me, it looks like you have a v16 Workgroup Edition licence which appears to be limited, as your console messages say, to 2 physical processors (sockets) but with no limit to the number of cores or threads on each physical processor. Since your VM only presents one core per socket, you end up only using 2 logical processors.
I'm sure we purchased the Edge Edition with the per-named-user license - if I go to the SAP ONE Support Launchpad under License Keys, I see "7018417 SAP SQL Anywhere, Edge Edition (user)". The page at https://wiki.scn.sap.com/wiki/display/SQLANY/SAP+SQL+Anywhere+Editions seems to imply that I can have 8 cores with the Edge edition. How would I go about installing that license?