Installation of Cisco Transport Controller (CTC) was quite easier on my previous Windows 10 laptop than my MacOS Sierra (10.12+). Since, I started using MacOS very recently, it was tricky for me to find a solution to install CTC. Hence, I’d like to write about it here.
CTC is a complex java applet ran through a browser that requires access to the $HOME directory of the user. It creates a .ctc directory in the $HOME directory and stores various .jar files.
In our DWDM network, we have CISCO ONS 15454 boxes and we use CTC to monitor and manage the nodes and circuits. Hence, running CTC in my laptop is a must.
Here goes CTC installation steps I followed for my MacOS:
First, create a directory with the name .ctc in your home directory.
Download LAUNCHERin .ctc directory from ONS shelf using its IP address. In my case, the ONS shelf has IP 10.50.32.38
Now, run the LAUNCHER.jar
This will start downloading the other needed jar files from the node into the .ctc directory in your $HOME directory. This can take awhile if not directly connected to the ONS device. Once the necessary jar files are downloaded you’ll be presented with the typical CTC login screen.
You will then be presented with the CTC software and able to view your nodes as normal.
All of the files should now be downloaded. If you connect to a different network running a different software version you’ll see that you start downloading more files with different version numbers.
Instead of running LAUNCHER.jar I prefer using LAUNCHER_[version].jar
If the CTC launch with smaller heap size like 128m. You have to manually specify the heap size in the java command. I prefer 512m in most cases.
Sometimes, my Java still plays with me and gets hang. In those cases, CTC doesn’t response which is wired and annoying. In those cases I got the following errors in my MacOS terminal.
In those cases, I prefer specifying the PermSize (128m), MaxPermSize (256m) and increasing the HeapSize (1024m) with the following command. Now, Java and CTC works absolutely fine. However, it might take a while to load all your nodes fully.
“Java version 6 with update 37 works for all CTC versions” according to a statement mentioned here: https://www.cisco.com/c/en/us/support/docs/optical-networking/ons-15454-series-multiservice-provisioning-platforms/116642-technote-ctc-00.html
If you need to tune your Java versions in MacOS, read my article on this issue.