Your environment runs fine, all hosts are up and running. You install the latest updates but then you have to install a few iManager NPMs or you need new/updated designer modules.

Normally you do not allow your iManager/Designer to connect to the internet. So you have to reconfigure them to use the proxy, maybe set a rule at the proxy … and afterwards switch it back to secure.

On the other hand, you can use the script below put it into your SMT-Server and configure them to use the local URL.

#! /bin/bash
#
# Script downloads the iManager-Plugins, store them locally and edit the XML-File.
#
# (This is the bash3 version)
#
# by thopp, Maintainet AG (c)
# April 2017
# Version: b1-0.01
#

trap cleanup EXIT  

# Create temporary File which contain the XML-data after downloads and 
TMPXML=$(mktemp -p /tmp/ tmpXXX)
URLLST=$(mktemp -p /tmp/ tmpXXX)
STOREPATH=/srv/www/htdocs
PSTORE=/repo/install/imanplugin
URLNEW=http://<Your SMT-Server here>$PSTORE
NEWXML="$STOREPATH$PSTORE/local_iman_mod_desc.xml"

# Cleanup 
cleanup() {
  # Delete TMP-File
  rm -r $TMPXML
  rm -r $URLLST
}

# Get the XML-File from Novell:
wget -O $TMPXML http://www.novell.com/products/consoles/imanager/iman_mod_desc.xml

# Extract the download URLs 
grep "http://" $TMPXML | cut -f 3 -d [ | cut -f 1 -d ] | sort | uniq > $URLLST


# Download the NPMs an store them incl. Path 
while read URL ; do
  wget -nH -x -P $STOREPATH$PSTORE $URL
done < $URLLST

# Edit the XML-File
sed "s|http://cdn.novell.com/|$URLNEW/|g" $TMPXML > $NEWXML

exit 0

If you want to use this script do the following:

Copy and paste it in a file. Name it e.g. dlimanplugin.sh. Put this file to your SMT-Server into the directory /usr/local/bin.

Set the Owner to root and the rights to R/O.

#chown root:root /usr/local/bin/dlimanplugin.sh
#chmod 500 /usr/local/bin/dlimanplugin.sh

Edit at least the Variable URLNEW.

Create a cronjob for a regular run. (E.g. once a week)

Good luck

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Loading...

Disclaimer: As with everything else at NetIQ Cool Solutions, this content is definitely not supported by NetIQ, so Customer Support will not be able to help you if it has any adverse effect on your environment.  It just worked for at least one person, and perhaps it will be useful for you too.  Be sure to test in a non-production environment.

Leave a Reply

No Comments
Mar 31, 2017
3:30 pm
Reads:
410
Score:
Unrated
Active Directory Authentication Automation Cloud Computing Cloud Security Configuration Customizing Data Breach DirXML Drivers End User Management Identity Manager Importing-Exporting / ICE/ LDIF Intelligent Workload Management Knowledge Depot LDAP Monitoring Open Enterprise Server Passwords Reporting Secure Access Sentinel Supported Troubleshooting Workflow