January 3, 20179 yr NetMRI doesn't upgrade like a typical Infoblox appliance does so I figured I'd walk you through it for reference. Confirm what version you are currently running by logging into the GUI on NetMRI and from the Dashboard look on the far top right you will see a gear that represents Settings, click on that which will bring up a new window. On the right side you will see User Admin Setup Issue Analysis Notifications General Settings Database Settings Click on Setup and under that click on Settings Summary which will show you the Network Automation Version. In my case its version 7.1.1.84812 The Release Notes say: Quote For customers with systems that do not connect to the Internet/AutoUpdate server, you will need to download the upgrade image file and SCP it to the admin users’ directory on the appliance. Then run the standard AutoUpdate utility from the NetMRI Admin Shell to perform the 7.1.2 upgrade. Open a browser and cruise on over to https://support.infoblox.com and login with your account and go to downloads, select NetMRI and check to see if a newer version exists and in my case the current version as of this writing is: 7.1.2.85823 and when you download the file it will be a gpg file and around 800MB Transfer the gpg file over to the NetMRI box (SCP) Note: after typing the following command this process will make NetMRI inaccessbile for possibly an hour. I have never had it take less than 40min. at the prompt type: autoupdate ib_network_automation-7.1.2.85823.gpg autoupdate has the following options N003> autoupdate ? usage: autoupdate [ auto [ force-major ] ] | [filename ...] Updates system either from update server or from specified files. If no arguments are specified at command line then it runs update from server in interactive mode. Options: auto - updates system like in 'Automatic' UI mode. Update runs in non-interactive mode. Hotfixes will be downloaded and installed. Major updates will be downloaded only. Has optional flag: force-major - major updates will be installed. Mode is non-interactive still. Here is some output of running command. This is what happens if your NetMRI doesn't have access to the internet to pull down updates N003> autoupdate ib_network_automation-7.1.2.85823.gpg auto NOTICE: The inactivity timeout is being disabled temporarily while autoupdate is run. +++ Downloading List of Network Automation Updates from techdata.infoblox.com ... ssh: connect to host techdata.infoblox.com port 22: Connection timed out *** Transmission Error: *** Here is a successfuly update N003> autoupdate ib_network_automation-7.1.2.85823.gpg NOTICE: The inactivity timeout is being disabled temporarily while autoupdate is run. +++ Processing Upgrade File ib_network_automation-7.1.2.85823.gpg +++ Checking Digital Signature +++ Unpacking Upgrade File ****************************************************************** * * * Infoblox recommends making a backup of the existing network * * database before proceeding with the upgrade * * * ****************************************************************** Do you want to create a network backup? (y/n) [y]: y Do you want to put backup on local or remote host? (local/remote) [local]: Please, choose one of the following (local/remote) [local]: Please, choose one of the following (local/remote) [local]: local Do you want to run this update in the background? (y/n) [y]: y +++ Performing Upgrade Use "show updatelog" to check status After you run the command it throws you back at the prompt with the last thing it said was to check the status of the upgrade run show updatelog, so here is the output of a show updatelog Quote 2017-01-03 09:55:28 ********** AutoUpdate Started ********** 2017-01-03 09:55:28 Maintenance is currently valid. Expiration date of '2017-06-29'. 2017-01-03 09:55:28 +++ Processing Upgrade File ib_network_automation-7.1.2.85823.gpg 2017-01-03 09:55:30 +++ Checking Digital Signature 2017-01-03 09:55:45 +++ Unpacking Upgrade File 2017-01-03 09:55:59 Upgrade Name = ib_network_automation-7.1.2.85823 2017-01-03 09:55:59 2017-01-03 09:55:59 There currently is no network database backup. 2017-01-03 09:56:53 2017-01-03 09:56:53 ***** User selected local 2017-01-03 09:56:53 backup 2017-01-03 09:56:59 +++ Performing Upgrade 2017-01-03 09:59:39 SerialNo : 0012345678900009 2017-01-03 09:59:39 Network : theZAh 2017-01-03 09:59:39 ServerName: N003 2017-01-03 09:59:39 Checking for unfinished yum transactions... 2017-01-03 09:59:40 Check completed successfully. 2017-01-03 09:59:40 Checking Database (this may take several minutes) ... 2017-01-03 09:59:40 Stopping database server, attempt 1 of 128 ... 2017-01-03 09:59:48 Starting MySQL Database Server ... 2017-01-03 09:59:57 MySql is running 2017-01-03 09:59:57 Completed Database Check 2017-01-03 10:00:04 Starting Database Backup. This will take a while. 2017-01-03 10:00:04 /tools/skipjack/app/WEB-INF/transaction/netmri/config/database/archiveSystem.pl theZAh 2017-01-03 10:00:05 +++ Pruning old archive /var/local/netmri/archive/AllyFS_4850201603100009-20170101.tgz 2017-01-03 10:00:05 +++ Clearing System Cache 2017-01-03 10:00:16 +++ Filesystem Size Used Avail Use% Mounted on 2017-01-03 10:00:16 +++ rootfs 1.1T 39G 1.1T 4% / 2017-01-03 10:00:16 +++ devtmpfs 32G 0 32G 0% /dev 2017-01-03 10:00:16 +++ tmpfs 32G 28K 32G 1% /dev/shm 2017-01-03 10:00:16 +++ tmpfs 32G 1.5M 32G 1% /run 2017-01-03 10:00:16 +++ /dev/mapper/NetMRI-netmrisys 1.1T 39G 1.1T 4% / 2017-01-03 10:00:16 +++ tmpfs 32G 0 32G 0% /sys/fs/cgroup 2017-01-03 10:00:16 +++ tmpfs 32G 1.5M 32G 1% /var/run 2017-01-03 10:00:16 +++ tmpfs 32G 0 32G 0% /media 2017-01-03 10:00:16 +++ /dev/sda1 180M 51M 120M 30% /boot 2017-01-03 10:00:16 +++ /dev/loop0 1.9G 3.2M 1.8G 1% /var/local/netmri/sandbox/shareroot/data 2017-01-03 10:00:16 +++ /dev/loop0 1.9G 3.2M 1.8G 1% /var/home/admin/chroot-home/Backup/Sandbox 2017-01-03 10:00:16 +++ Creating Archive Directory ... 2017-01-03 10:00:16 +++ Archiving /var/local/netmri/sandbox/shareroot/lib 2017-01-03 10:00:17 +++ Archiving /var/local/netmri/system 2017-01-03 10:00:17 +++ Using 'archive' method for database backup ... 2017-01-03 10:00:19 +++ Preparing backup query... 2017-01-03 10:00:19 +++ Executing backup query... 2017-01-03 10:12:59 +++ Saving db schema... 2017-01-03 10:12:59 +++ Moving packed databases... 2017-01-03 10:12:59 +++ Copying Archive database... 2017-01-03 10:13:06 +++ Database backup complete... 2017-01-03 10:13:06 +++ Archiving admin keys ... 2017-01-03 10:13:06 +++ Archiving /var/local/netmri/cvsclient 2017-01-03 10:13:08 +++ Archiving /var/local/netmri/cvs 2017-01-03 10:13:09 +++ Archiving /var/local/netmri/license 2017-01-03 10:13:09 +++ Archiving /var/local/netmri/certs 2017-01-03 10:13:09 +++ Archiving /var/local/netmri/reports 2017-01-03 10:13:09 +++ Archiving cron schedules ... 2017-01-03 10:13:09 +++ Archiving /var/local/netmri/dsb 2017-01-03 10:13:09 +++ Archiving /var/local/netmri/config 2017-01-03 10:13:11 +++ Archiving /home/admin/Backup/IssueHelp 2017-01-03 10:13:11 +++ Generating MANIFEST 2017-01-03 10:13:11 +++ Calculating md5 sum 2017-01-03 10:13:16 +++ Filesystem Size Used Avail Use% Mounted on 2017-01-03 10:13:16 +++ rootfs 1.1T 41G 1.1T 4% / 2017-01-03 10:13:16 +++ devtmpfs 32G 0 32G 0% /dev 2017-01-03 10:13:16 +++ tmpfs 32G 28K 32G 1% /dev/shm 2017-01-03 10:13:16 +++ tmpfs 32G 1.5M 32G 1% /run 2017-01-03 10:13:16 +++ /dev/mapper/NetMRI-netmrisys 1.1T 41G 1.1T 4% / 2017-01-03 10:13:16 +++ tmpfs 32G 0 32G 0% /sys/fs/cgroup 2017-01-03 10:13:16 +++ tmpfs 32G 1.5M 32G 1% /var/run 2017-01-03 10:13:16 +++ tmpfs 32G 0 32G 0% /media 2017-01-03 10:13:16 +++ /dev/sda1 180M 51M 120M 30% /boot 2017-01-03 10:13:16 +++ /dev/loop0 1.9G 3.2M 1.8G 1% /var/local/netmri/sandbox/shareroot/data 2017-01-03 10:13:16 +++ /dev/loop0 1.9G 3.2M 1.8G 1% /var/home/admin/chroot-home/Backup/Sandbox 2017-01-03 10:13:16 +++ Packing Archive Directory ... 2017-01-03 10:13:16 Using multithreaded compression method... 2017-01-03 10:13:25 +++ Archive AllyFS_4850201603100009-20170103.tgz was created (1644703583 bytes) ... 2017-01-03 10:13:25 +++ Filesystem Size Used Avail Use% Mounted on 2017-01-03 10:13:25 +++ rootfs 1.1T 41G 1.1T 4% / 2017-01-03 10:13:25 +++ devtmpfs 32G 0 32G 0% /dev 2017-01-03 10:13:25 +++ tmpfs 32G 28K 32G 1% /dev/shm 2017-01-03 10:13:25 +++ tmpfs 32G 1.5M 32G 1% /run 2017-01-03 10:13:25 +++ /dev/mapper/NetMRI-netmrisys 1.1T 41G 1.1T 4% / 2017-01-03 10:13:25 +++ tmpfs 32G 0 32G 0% /sys/fs/cgroup 2017-01-03 10:13:25 +++ tmpfs 32G 1.5M 32G 1% /var/run 2017-01-03 10:13:25 +++ tmpfs 32G 0 32G 0% /media 2017-01-03 10:13:25 +++ /dev/sda1 180M 51M 120M 30% /boot 2017-01-03 10:13:25 +++ /dev/loop0 1.9G 3.2M 1.8G 1% /var/local/netmri/sandbox/shareroot/data 2017-01-03 10:13:25 +++ /dev/loop0 1.9G 3.2M 1.8G 1% /var/home/admin/chroot-home/Backup/Sandbox 2017-01-03 10:13:25 +++ Clearing System Cache 2017-01-03 10:13:28 /bin/tar xvfz skipjack.tar.gz './bin/ConfigureResources.pl' 2017-01-03 10:13:28 ./bin/ConfigureResources.pl 2017-01-03 10:13:30 ./bin/ConfigureResources.pl 2017-01-03 10:13:32 + Checking hardware... 2017-01-03 10:13:32 ++ System Memory: 62.5 GB 2017-01-03 10:13:32 ++ Clock Speed: 2.6 GHz 2017-01-03 10:13:32 ++ CPU Cores: 16 2017-01-03 10:13:32 + Determining hardware platform... 2017-01-03 10:13:32 Model: NT4000 2017-01-03 10:13:32 VTPresent: 1 2017-01-03 10:13:32 PCIType: APIC 2017-01-03 10:13:32 Memory: 65544960 2017-01-03 10:13:32 Starting ipmi (via systemctl): [ OK ] 2017-01-03 10:13:33 ILO Firmware: 1.32 2017-01-03 10:13:33 RAID Firmware: 5.42 2017-01-03 10:13:33 License Effective Date: 2017-01-03 2017-01-03 10:13:33 Model: NT4000 2017-01-03 10:13:33 Mode: standalone 2017-01-03 10:13:33 Licensed Modules: Full 2017-01-03 10:13:33 DisplayPlatformLimits: on 2017-01-03 10:13:33 PlatformDeviceLicenseLimit: 7500 2017-01-03 10:13:33 PlatformSAMLicenseLimit: 0 2017-01-03 10:13:33 PlatformSPMLicenseLimit: 7500 2017-01-03 10:13:33 PlatformInterfaceLimit: 375000 2017-01-03 10:13:33 PlatformTotalDeviceLimit: 375000 2017-01-03 10:13:33 PlatformSPMEndHostLimit: 375000 2017-01-03 10:13:33 + Determining proper config settings for hardware... 2017-01-03 10:13:33 innodb_thread_concurrency: 36 2017-01-03 10:13:33 innodb_concurrency_tickets: 5000 2017-01-03 10:13:33 innodb_buffer_pool_instances: 6 2017-01-03 10:13:33 innodb_io_capacity: 800 2017-01-03 10:13:33 mysql-key_buffer_size: 800 2017-01-03 10:13:33 mysql-tmp_table_size: 192 2017-01-03 10:13:33 max_connections: 1004 2017-01-03 10:13:33 innodb_buffer_pool_size: 22G 2017-01-03 10:13:33 innodb_log_file_size: 2146435072 2017-01-03 10:13:33 mysql-max_heap_table_size: 192 2017-01-03 10:13:33 mysql-thread_cache_size: 71 2017-01-03 10:13:33 innodb_old_blocks_time: 1000 2017-01-03 10:13:33 httpd-proc_priority: -4 2017-01-03 10:13:33 ulimit: 4096 2017-01-03 10:13:33 max-memory: 600 2017-01-03 10:13:33 report-memory: 1500 2017-01-03 10:13:33 config-memory: 2048 2017-01-03 10:13:33 collector-path: 8 2017-01-03 10:13:33 collector-fingerprint: 8 2017-01-03 10:13:33 collector-dns 7 2017-01-03 10:13:33 collector-Config: 10 2017-01-03 10:13:33 collector-HTTP: 5 2017-01-03 10:13:33 collector-SSH: 5 2017-01-03 10:13:33 collector-Telnet: 5 2017-01-03 10:13:33 collector-CCS: 40 2017-01-03 10:13:33 collector-CLIDefaultCheckSSH: 5 2017-01-03 10:13:33 collector-CLIDefaultCheckTelnet: 5 2017-01-03 10:13:33 collector-Comm: 1 2017-01-03 10:13:33 passenger-max_requests 4000 2017-01-03 10:13:33 passenger-pool_idle_time: 1000 2017-01-03 10:13:33 passenger-max_pool_size: 46 2017-01-03 10:13:33 jdbc-maxSize: 86 2017-01-03 10:13:33 scheduler: deadline 2017-01-03 10:13:33 nr_requests: 0 2017-01-03 10:13:33 cacheratio: 0/100 2017-01-03 10:13:33 +++ Checking database triggers. 2017-01-03 10:13:33 +++ Triggers check complete. 2017-01-03 10:13:33 + Setting config settings... 2017-01-03 10:13:33 ++ Updating NetMRI tomcat memory. 2017-01-03 10:13:33 ++ Updating Platform Limits. 2017-01-03 10:13:33 ++ Updating MySQL configuration. 2017-01-03 10:13:40 +++ Restarting database 2017-01-03 10:13:45 +++ Reconnecting to database 2017-01-03 10:13:45 ++ Updating config and report heap sizes. 2017-01-03 10:13:45 ++ Updating apache config. 2017-01-03 10:13:45 +++ Updating apache process priority to -4. 2017-01-03 10:13:45 +++ Updating passenger settings: 2017-01-03 10:13:45 Pool size: 46 2017-01-03 10:13:45 Max requests: 4000 2017-01-03 10:13:45 Idle time: 1000 2017-01-03 10:13:45 ++ Updating collector thread counts. 2017-01-03 10:13:45 +++ Updating dns processor thread count to 7. 2017-01-03 10:13:45 + Finished! 2017-01-03 10:13:45 ./UpgradeNetMRI6.9.pl /tools/skipjack LOTS OF MESSAGES in between 2017-01-03 10:32:53 +++ Successfully Upgraded From Version 7.1.1.84812 to 7.1.2.85823 +++ 2017-01-03 10:35:01 +++ Starting NetMRI processes 2017-01-03 10:37:42 Following the completion of the upgrade, please note that data 2017-01-03 10:37:42 conversion will continue in the background for several hours during 2017-01-03 10:37:42 which certain pieces of data will not be accessible until completion. 2017-01-03 10:37:42 Please consult the release notes for further details. 2017-01-03 10:37:42 Fixing filesystem permissions 2017-01-03 10:37:42 Restarting redis 2017-01-03 10:37:43 UpgradeNetMRI Completed 2017-01-03 10:37:43 Checking DeviceGroup Limit 2017-01-03 10:37:43 +++ Extended Device Group Limit: 250 2017-01-03 10:37:43 +++ Detected Device Groups: 21 2017-01-03 10:37:43 /bin/touch /var/run/netmri/disable.txt 2017-01-03 10:37:43 /bin/cp /root/InstallNetMRI.log /home/admin/Backup || : 2017-01-03 10:37:43 +++ Cleaning up... 2017-01-03 10:37:45 Removing motd file 2017-01-03 10:37:45 Removing pid file 2017-01-03 10:37:45 ++++ Verifying running kernel is the latest installed (3.14.25.osib.7.1.0.20160929) ... 2017-01-03 10:37:45 ++++ Found new kernel, updating boot loader from; 3.14.25.osib.7.1.0.20160406 to 3.14.25.osib.7.1.0.20160929 2017-01-03 10:37:45 ++++ Removing old kernels... 2017-01-03 10:37:45 ++++ Removing vmlinuz-3.3.7-13.ib.osib.7.0.0.11.x86_64 2017-01-03 10:37:45 ++++ Boot loader updated 2017-01-03 10:37:45 +++ Rebooting... Broadcast message from root@N003 (Tue, 03 Jan 2017 10:37:45 -0600): The system is going down for reboot NOW! Timing could be completly different for your setup (based on what version you are upgrading from, hardware running on, how big your database is, etc.)
Create an account or sign in to comment