<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://tech.uvoo.io/index.php?action=history&amp;feed=atom&amp;title=F5_Big-IP_Licensing_BIGIQ</id>
	<title>F5 Big-IP Licensing BIGIQ - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://tech.uvoo.io/index.php?action=history&amp;feed=atom&amp;title=F5_Big-IP_Licensing_BIGIQ"/>
	<link rel="alternate" type="text/html" href="https://tech.uvoo.io/index.php?title=F5_Big-IP_Licensing_BIGIQ&amp;action=history"/>
	<updated>2026-04-06T07:07:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://tech.uvoo.io/index.php?title=F5_Big-IP_Licensing_BIGIQ&amp;diff=4557&amp;oldid=prev</id>
		<title>Busk: Created page with &quot;It appears you need to have a local admin user account due to the need to reboot before applying new license so make sure you have that. You can run some of these commands usi...&quot;</title>
		<link rel="alternate" type="text/html" href="https://tech.uvoo.io/index.php?title=F5_Big-IP_Licensing_BIGIQ&amp;diff=4557&amp;oldid=prev"/>
		<updated>2023-09-29T16:10:17Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;It appears you need to have a local admin user account due to the need to reboot before applying new license so make sure you have that. You can run some of these commands usi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;It appears you need to have a local admin user account due to the need to reboot before applying new license so make sure you have that. You can run some of these commands using your LDAP/AD/SSO user but for simplicity we will just use the admin user.&lt;br /&gt;
&lt;br /&gt;
Also, you can use gui to do reboot or license apply but this will have command line commands via ssh bash.&lt;br /&gt;
&lt;br /&gt;
Get your list of hosts in format like so: Use your license and status for each host.&lt;br /&gt;
lb01.example.com YYYYY-YYYYY--YYYYY-XXXXXXX status:standby&lt;br /&gt;
lb02.example.com ZZZZZ-YYYYY--YYYYY-XXXXXXX status:active&lt;br /&gt;
&lt;br /&gt;
## Steps&lt;br /&gt;
Send all the stand-by hosts for BigIQ removal&lt;br /&gt;
- BIG-IQ GUI: &lt;br /&gt;
 - Licenses-&amp;gt; &amp;lt;Select Device&amp;gt; &amp;lt;click&amp;gt; Revoke&lt;br /&gt;
 - BIG-IP Devices -&amp;gt; &amp;lt;Select device&amp;gt; &amp;lt;click&amp;gt; Remove all Services&lt;br /&gt;
&lt;br /&gt;
You then must&lt;br /&gt;
1. reboot your host:&lt;br /&gt;
  - ssh admin@lb01.example.com&lt;br /&gt;
  - reboot&lt;br /&gt;
2. When host comes up apply license:&lt;br /&gt;
 - ssh admin@lb01.example.com&lt;br /&gt;
 - tmsh install /sys license registration-key YYYYY-YYYYY--YYYYY-XXXXXXX&lt;br /&gt;
- reboot&lt;br /&gt;
- ssh admin@lb01.example.com&lt;br /&gt;
- tmsh show /sys license&lt;br /&gt;
3. When license is applied and you've validated host is working correctly force stand-by on BigIP Active host so you can upgrade it.&lt;br /&gt;
 - ssh admin@lb01.example.com&lt;br /&gt;
 - tmsh run /sys failover standby&lt;br /&gt;
 * send host to ATOS so they can remove&lt;br /&gt;
 - reboot&lt;br /&gt;
 - ssh admin@lb02.example.com&lt;br /&gt;
 - tmsh install /sys license registration-key ZZZZZ-YYYYY--YYYYY-XXXXXXX&lt;br /&gt;
- reboot&lt;br /&gt;
- ssh admin@lb02.example.com&lt;br /&gt;
- tmsh show /cm sync-status&lt;br /&gt;
- tmsh show /sys license&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Script&lt;br /&gt;
Here is an example script to get status of each host. You obviously parse this int csv or sqldb but this is just quick and dirty I wrote today. You could use &amp;quot;tmsh show /sys license&amp;quot; command to validate licenses after you are done as well&lt;br /&gt;
&lt;br /&gt;
get-licenses.sh&lt;br /&gt;
```&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
set -eu&lt;br /&gt;
&lt;br /&gt;
F5_USER=&amp;quot;$YOUR_USER&amp;quot;&lt;br /&gt;
F5_PASS=&amp;quot;$YOUR_PASS&amp;quot;&lt;br /&gt;
&lt;br /&gt;
hosts=(&lt;br /&gt;
&amp;quot;lb01.example.com&amp;quot;&lt;br /&gt;
&amp;quot;lb02.example.com&amp;quot;&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ssh_cmd(){&lt;br /&gt;
  ssh_host=&amp;quot;$1&amp;quot;&lt;br /&gt;
  cmd=$2&lt;br /&gt;
  sshpass -p &amp;quot;$F5_PASS&amp;quot; ssh $F5_USER@$ssh_host &amp;quot;$cmd&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
for host in &amp;quot;${hosts[@]}&amp;quot;; do&lt;br /&gt;
  #out=$(ssh_cmd &amp;quot;$host&amp;quot; &amp;quot;show /cm failover-status&amp;quot; | grep &amp;quot;^Status&amp;quot;)&lt;br /&gt;
  out=$(ssh_cmd &amp;quot;$host&amp;quot; &amp;quot;show /sys license&amp;quot; | grep &amp;quot;^Platform&amp;quot;)&lt;br /&gt;
  # out=$(ssh_cmd &amp;quot;$host&amp;quot; &amp;quot;show /cm sync-status&amp;quot; | grep &amp;quot;^Status&amp;quot;)&lt;br /&gt;
  echo $host $out&lt;br /&gt;
done&lt;br /&gt;
```&lt;/div&gt;</summary>
		<author><name>Busk</name></author>
	</entry>
</feed>