To view the license MAC, you need to install the system first (CUCM, UCCX, CUPS, etc.). Then use the "show status" command.
This is somehow inconvenient:
I personally prefer to get everything ready before starting the installation, such as IP address, hostname, password, license file, installation media, etc. You could run into lots of surprises when trying to get the license file.
2) When the system parameter was changed, the license file yield invalid.
For example, you add/change DNS server settings on the system, which is pretty common during system integration.
It would be better if you could dictate what license MAC the system use. You may also use some schema like: AABBCCDDEEFF, where AA is the product code, BB is the site code, CC is the node number, DD is the version number, etc.
In the example above, the "License MAC" was changed to "abcdef123456".
Since you can use whatever License MAC you like, you may:
- Get the license file before the system was installed
- Keep using the same license file after system parameters was changed (such as DNS)
FinalString=`expr substr "$SHA1sum" 1 12`
to
FinalString="abcdef123456"
In newer versions, you might have to change the /etc/selinux/config file so that selinux runs in permissive mode.
In newer versions, you might have to change the /etc/selinux/config file so that selinux runs in permissive mode.
Reminder: Don't be evil. ;)
Cisco has updated the Answer File Generator (http://www.cisco.com/web/cuc_afg/) to give you the license MAC based on your provided install values. You have to fill in the values EXACTLY as you would during the install, or else the license MAC will be different. But, it's another option besides having to wait til after installation to get the license MAC.
ReplyDeleteYes, we all know about the Answer File Generator. There's another reason to temper the License MAC, which I cannot explicitly state here. :)
ReplyDeleteI noticed that on CUCM 8.6.x Selinux is running in enforcement mode, so the LicenseMac.sh file will not be run after editing it. I had to change the /etc/selinux/config file so that selinux runs in permissive mode. After a reboot the MAC address was set correctly.
ReplyDeleteecho 0 > /selinux/enforce
ReplyDeleteFor some reason mine shows UNKNOWN... Any idea why? Its a UCCX 8.5
ReplyDeleteHow are you supposed to get root access???
ReplyDeleteMove the mouse over "root access".
ReplyDeleteHi,
ReplyDeleteWhen I install CUCM 8.6 on 7825H3 following error did not find Bios version file for 7825H3-2133 in
Who can help??
It works but I always get a database communication error and all the services are down after changing the License MAC. Anyone know what's wrong?
ReplyDeleteIt works on CUCM 8.6.2, I takes me some time to find the config file on /mnt/sysimage/partB directory.
ReplyDeleteThanks anyway, very helpful for my testing environment.
This is helpful for upgrades so you don't have to rehost during a bridged upgrade.
ReplyDeleteI'm going to change hardware Cisco MCS 7800 to another Cisco MCS 7800 exact model running CUCM 8.5.1.
ReplyDeleteCan I just change something simple in the license files I have 2 of them.