Skip to content

Instantly share code, notes, and snippets.

@ebirn
Last active November 21, 2016 13:37
Show Gist options
  • Save ebirn/868a5ca69390c1fb4b3f5cfd4f7c6c92 to your computer and use it in GitHub Desktop.
Save ebirn/868a5ca69390c1fb4b3f5cfd4f7c6c92 to your computer and use it in GitHub Desktop.
NetApp OnCommand Performance and Unified Manager
#!/bin/sh
echo ""
echo "to uninstall everything: yum erase 'netapp-*' 'ocie-*'i ocf-server"
echo ""
echo " prerequisites"
cat << EOF
ocie-serverbase >= 1.4.0
java-1.8.0-oracle >= 1.8.0.1 OR public JDK should also work?
rrdtool >= 1.3.8
p7zip >= 9.20.1
bc
mysql-community-server >= 5.6.28
mysql-community-client >= 5.6.28
mysql-community-libs >= 5.6.28
mysql-community-common >= 5.6.28
EOF
echo "Centos: installing EPEL release"
yum install -y epel-release
echo "downloading mysql community repo"
wget http://repo.mysql.com/yum/mysql-5.6-community/el/7/x86_64/mysql-community-release-el7-5.noarch.rpm
yum install -y mysql-community-release-el7-5.noarch.rpm
echo "installing system dependencies"
echo "yum install -y rrdtool p7zip mysql-community-server mysql-community-client mysql-community-libs mysql-community-common bind-utils rsync bc"
echo ""
set -x
yum install -y ocie-serverbase-1.4.0-2016.09.J2286.x86_64.rpm
rpm -i --nodeps netapp-application-server-1.4.0-2016.09.J2286.x86_64.rpm
rpm -i --nodeps netapp-platform-base-1.4.0-2016.09.J2286.el7.x86_64.rpm
yum install -y ocf-server-1.4.0-2016.09.J2323.x86_64.rpm ocie-server-1.4.0-2016.08.J2307.x86_64.rpm ocie-au-1.4.0-2016.08.J2307.x86_64.rpm netapp-opm-7.0.0.2016.08.N160929.1955.x86_64.rpm
#!/bin/sh
echo ""
echo "to uninstall everything: yum erase 'netapp-*' 'ocie-*'"
echo ""
echo " prerequisites"
cat << EOF
ocie-serverbase >= 1.4.0
java-1.8.0-oracle >= 1.8.0.1 OR public JDK should also work?
rrdtool >= 1.3.8
p7zip >= 9.20.1
mysql-community-server >= 5.6.28
mysql-community-client >= 5.6.28
mysql-community-libs >= 5.6.28
mysql-community-common >= 5.6.28
EOF
echo "Centos: installing EPEL release"
yum install -y epel-release
echo "downloading mysql community repo"
wget http://repo.mysql.com/yum/mysql-5.6-community/el/7/x86_64/mysql-community-release-el7-5.noarch.rpm
yum install -y mysql-community-release-el7-5.noarch.rpm
echo "installing system dependencies"
echo "yum install rrdtool p7zip mysql-community-server mysql-community-client mysql-community-libs mysql-community-common bind-utils"
echo ""
set -x
yum install -y ocie-serverbase-1.4.0-2016.09.J2286.x86_64.rpm
rpm -i --nodeps netapp-application-server-1.4.0-2016.09.J2286.x86_64.rpm
rpm -i --nodeps netapp-platform-base-1.4.0-2016.09.J2286.el7.x86_64.rpm
yum install -y ocie-server-1.4.0-2016.08.J2307.x86_64.rpm ocie-au-1.4.0-2016.08.J2307.x86_64.rpm node.x86_64.rpm rp.x86_64.rpm netapp-ocum-7.0-x86_64.rpm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment