We run Server Express on Solaris 11.3 (sparc) and the process we follow to install Server express on each system is as follows:
Step1: # tar -xvf V75535-01.tar
Step2 : # export COBDIR=`pwd`
Step3: # sh ./install <- This install script invokes an interactive session where we answer a bunch of yes & no questions..
Step4: # cd /products/mf/mflmf-svrexp-5.1-wp11-64bit/
Step5: # sh ./mflmcmd <- This license script also invokes an interactive session where we enter the Serial/License numbers.
Step6: # cd $COBDIR/aslmf
Step7: # ./apptrack <- This "verify" program also invokes an interactive session where we enter new password and look at the installed licenses.
We are in the process of automating a lot of the components of our system builds.
Most of which has already been automated as part of the system build. However, Server Express installation on each build is still being done manually.
As you can see, step3/step5 and step6 are invoking an interactive shell session which we are unable to automate using a standard shell script.
I am writing to check if Server Express also provides some alternate commands which we can execute non-interactively to perform those 3 steps?
I understand we can use tools like "expect" to provide input to those interactive scripts but for reasons too complicated to go into, we can't go that route.
I would really appreciate if someone can provide us a way to automate this repeat task of installing Server Express on every system we build in a hands-off manner.