You should just re-license the servers just like you did when you first licensed them. Not sure what your setup is over there, but that would eiher involve the manual process (getlic, obtain license from customer portal, and then putlic) or the automated one (via autoloic).
Our licensing is smart enough not to charge you an additional license if you're only re-licensing.
It may help if you describe the problem you are having when you try to license the servers.
The problem is that we have not licensed the servers in the first place. The temporary licence has expired after 14 days. We use the manual getlic process to licence the servers. Therefore we cannot launch NSH as the SW is not present on the server, only the RSCD agent SW is installed. From the apps server if we select Custom Commands/NSH Here and:
• Getlic getlic - the system reports “software not licensed”
Additionally I have attempted to install NSH on the unlicensed server via downloading NSH621-SOLSPARC.SH. However this only upgraded the agent without installing NSH. Furthermore Robin Spinks reports that to install NSH we will need to uninstall the reinstall the agent, which I would like to avoid.
I've asked around a bit and found a suggestion.
After you start NSH, run the command cd on its own so that the nsh prompt goes back to the console server.
Try again from there.
Another suggestion was to try cd //@ but that should do the same as cd on its own.
I'm a little confused. You need to launch NSH from a server with NSH installed: your desktop or the application server. But, it sounds as if you are trying to launch it on the remote server. This is unnecessary, otherwise we'd have to install NSH and the agent on all servers.
If you launch NSH on the appserver or on your desktop and type: getlic , then you should have no problems generating a license.raw file.
Is this not working?
To simplify, try the following and report if it does not work:
- Connect to your app server using RDP, ssh, VNC, etc...
- Run nsh
- At the nsh prompt, type getlic
Robin, Brad, Andrew,
Thank for help with this issue. I have now managed to licence the servers. However I need a technical explanation. This is what happened:
• Launched NSH from the apps server and entered > getlic (hostname) – the system reported “command can only be run on the local host”
• Launched NSH from the apps server, ran the command cd on its own so that the nsh prompt goes back to the console server and entered > getlic (hostname) – command ran successfully
• Connected to the apps server via SSH, entered > getlic (hostname) – command ran successfully
Robin, I know we have discussed this issue before however it would good to get a definitive technical statement which we can cascade to the core BladeLogic team at Capgemini. I understand this issue is related to where NSH runs, security and permissions. I believe we will get similar issues with BLCLI and the script utility.
If you launch nsh on the app-server and then cd over to another licensed machine ( cd //server1 ) you will be in that server's context and cannot run getlic until you cd back to the app-server's context with just "cd" or "cd //@". You can tell what your current context is by running "pwd".
I do not have any non-licensed agents at the moment, but you will probably not be able to cd to a server that is not licensed.
I think you're OK as long as you run getlic on the server where you are running NSH.
When you choose 'NSH Here' in Configuration Manager, you will have an NSH session on the console server, which has been cd'd to the host that you clicked 'NSH Here' on. You should then run 'cd' or 'cd //@' to get back to the console server.
I thought that getlic required the correct role:user authentication settings, which is why I was telling you to use 'NSH Here', but it obviously doesn't if you can getlic by running up NSH on the appserver.
Can servers be added to RBAC after the temporary license has expired?
The appserver should still detect the unlicensed agent shouldn't it if the rscd daemon running and it is still listening on the correct port...?
Yes, you can add servers to RBAC even if they're not licensed.
The agent status will show "agent is not licensed" in the properties dialog.
And the RSCD_DIR property will not be set.