Skip to main content

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.

 




#Automate
#hands-off
#ServerExpress
#solaris
#Installation
#Automation
#COBOL
#install

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.

 




#Automate
#hands-off
#ServerExpress
#solaris
#Installation
#Automation
#COBOL
#install
The server express install script unfortunately does not have any silent install option.

I created a script a while ago which automated this process call "ServerExpressSilentInstaller.sh"

Is there a way I could send it to you?

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.

 




#Automate
#hands-off
#ServerExpress
#solaris
#Installation
#Automation
#COBOL
#install
That would be wonderful.. Thank You.. I just PM'ed you my email id..

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.

 




#Automate
#hands-off
#ServerExpress
#solaris
#Installation
#Automation
#COBOL
#install
That would be wonderful.. Thank You.. I just PM'ed you my email id..

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.

 




#Automate
#hands-off
#ServerExpress
#solaris
#Installation
#Automation
#COBOL
#install
Hi, All. I have passed a copy of the ServerExpressSilentInstaller.sh to Support Line so they can make it available to any one in a similar situation.

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.

 




#Automate
#hands-off
#ServerExpress
#solaris
#Installation
#Automation
#COBOL
#install
Hello Stephen,

I just defined a new variable in the script:

TAR_FILE="sx51_wp11_sun_sparc_dev.tar"

and replaced all the "server.tar" in the script with "$TAR_FILE"

I also provided the value for all the required variables on top of the script:

INSTDIR="/opt/cobol/sx51_wp11_new"

DEVEXT=""

DEPLOYEXT=""

Bits="64"

TAR_FILE="sx51_wp11_sun_sparc_dev.tar".

Then I placed the script in the same directory as the TAR file and executed it but it looks like its' hanging:

./ServerExpressSilentInstaller.sh



-=-============================================================-=-
Installing Deployment product...
-=-============================================================-=-
pwd is /opt/cobol/sx51_wp11_new


It's sitting there for past 10-15 minutes not doing anything..

The log file it generated also shows the same text as the standard output.

It indeed created the /opt/cobol/sx51_wp11_new directory and apparently untar that tar file in it (i see the data in there).

Not sure what its doing now.. I see there's a "debug" function but not sure how to use it.

Should i just pass it as an argument to the script and it may throw some verbose messages?

Thank you again...

-S

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.

 




#Automate
#hands-off
#ServerExpress
#solaris
#Installation
#Automation
#COBOL
#install
I just ran the script in its original form after renaming the tarball to "server.tar" but it still behaves the same way.. and when i try to interrupt the script with a Ctrl C it throws below continuous error:
Which kinda tells me that it executed ./install script but didn't really got the "64" response it was looking for.

Invalid response, please enter either 32 or 64.
Invalid response, please enter either 32 or 64.
Invalid response, please enter either 32 or 64.
Invalid response, please enter either 32 or 64.
Invalid response, please enter either 32 or 64.
Invalid response, please enter either 32 or 64.

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.

 




#Automate
#hands-off
#ServerExpress
#solaris
#Installation
#Automation
#COBOL
#install
I just ran the script in its original form after renaming the tarball to "server.tar" but it still behaves the same way.. and when i try to interrupt the script with a Ctrl C it throws below continuous error:
Which kinda tells me that it executed ./install script but didn't really got the "64" response it was looking for.

Invalid response, please enter either 32 or 64.
Invalid response, please enter either 32 or 64.
Invalid response, please enter either 32 or 64.
Invalid response, please enter either 32 or 64.
Invalid response, please enter either 32 or 64.
Invalid response, please enter either 32 or 64.

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.

 




#Automate
#hands-off
#ServerExpress
#solaris
#Installation
#Automation
#COBOL
#install
I just ran the script in its original form after renaming the tarball to "server.tar" but it still behaves the same way.. and when i try to interrupt the script with a Ctrl C it throws below continuous error:
Which kinda tells me that it executed ./install script but didn't really got the "64" response it was looking for.

Invalid response, please enter either 32 or 64.
Invalid response, please enter either 32 or 64.
Invalid response, please enter either 32 or 64.
Invalid response, please enter either 32 or 64.
Invalid response, please enter either 32 or 64.
Invalid response, please enter either 32 or 64.

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.

 




#Automate
#hands-off
#ServerExpress
#solaris
#Installation
#Automation
#COBOL
#install
Hi.
The enable debug output in the script look for "DEBUG=0" and change to "DEBUG=1"

I suspect the script is hanging due to the prompt responses given to the script not match what the script is asking.
In the location were the tar files are should be "pkg_install.res" file.
This will show the responses passed into the script.

If you view this file and then run the "install" script manually and following the file it should show you were its falling over.

I will try the script on tomorrow on one of your Solaris SPARC machines and see if I can reproduce the issue. It may be the script needs updating.

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.

 




#Automate
#hands-off
#ServerExpress
#solaris
#Installation
#Automation
#COBOL
#install

yup, here's what the "pkg_install.res" file shows:

=============================

# more pkg_es_install.res

y

y

y

n

64

y

n

n

root

/var/mfcobol/es

n

===========================

But when I run ./install manually, there are far more prompts needing a response and maybe in somewhat different order.

Here's what the ./install script prompts for along with my responses in Red:

PROMPT_1: Do you wish to continue (y/n): y

PROMPT_2: Do you agree to the terms of the License Agreement? (y/n):y

PROMPT_3: Please press return when you are ready:    (Here I press Enter.. Not sure how your script handles this)

PROMPT_4: --More--(1%)       (Here I just press 'q' to go to the next prompt)

PROMPT_5: Please confirm your understanding of the above reference environment details (y/n):y

PROMPT_6: Do you want to make use of COBOL and Java working together? (y/n):y

PROMPT_7: Please make a selection:  (Here I am selecting the Java version)

PROMPT_8: Would you like to install LMF now? (y/n): y

PROMPT_9:(Press Enter for default directory /opt/microfocus/mflmf) /opt/cobol/mflmf

PROMPT_10: do you wish to create it ? (y/n) y

PROMPT_11: Do you want only superuser to be able to access the License Admin System? (y/n) y

PROMPT_12: Do you want license manager to be automatically started at boot time? (y/n) y

PROMPT_13: Please enter either 32 or 64 to set the system default mode: 64

PROMPT_14: Do you wish to configure Enterprise Server now? (y/n):y

PROMPT_15: Do you want the Enterprise Server License Manager to be automatically
started at boot time? (y/n): y

PROMPT_16: Press 'q' to quit or return to continue: (Here I press Enter)

PROMPT_17:Do you want error/warning messages to be displayed via the
syslog daemon? (y/n):y

PROMPT_18:Enter the alphanumeric user ID of the Enterprise Server System
Administrator.: root

PROMPT_19:Press return to use /var/mfcobol/es (Here I press Enter)

This completes the Installation...

So to line-up all the responses in the right order, I guess we need:

=======================

Y

Y

<ENTER>

q (Without a return)

y

y

1

y

/opt/cobol/mflmf

y

y

y

64

y

y

<ENTER>

y

root

<ENTER>

==============

Any ideas, how do i get your script to send those responses to those 19 Prompts?


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.

 




#Automate
#hands-off
#ServerExpress
#solaris
#Installation
#Automation
#COBOL
#install

yup, here's what the "pkg_install.res" file shows:

=============================

# more pkg_es_install.res

y

y

y

n

64

y

n

n

root

/var/mfcobol/es

n

===========================

But when I run ./install manually, there are far more prompts needing a response and maybe in somewhat different order.

Here's what the ./install script prompts for along with my responses in Red:

PROMPT_1: Do you wish to continue (y/n): y

PROMPT_2: Do you agree to the terms of the License Agreement? (y/n):y

PROMPT_3: Please press return when you are ready:    (Here I press Enter.. Not sure how your script handles this)

PROMPT_4: --More--(1%)       (Here I just press 'q' to go to the next prompt)

PROMPT_5: Please confirm your understanding of the above reference environment details (y/n):y

PROMPT_6: Do you want to make use of COBOL and Java working together? (y/n):y

PROMPT_7: Please make a selection:  (Here I am selecting the Java version)

PROMPT_8: Would you like to install LMF now? (y/n): y

PROMPT_9:(Press Enter for default directory /opt/microfocus/mflmf) /opt/cobol/mflmf

PROMPT_10: do you wish to create it ? (y/n) y

PROMPT_11: Do you want only superuser to be able to access the License Admin System? (y/n) y

PROMPT_12: Do you want license manager to be automatically started at boot time? (y/n) y

PROMPT_13: Please enter either 32 or 64 to set the system default mode: 64

PROMPT_14: Do you wish to configure Enterprise Server now? (y/n):y

PROMPT_15: Do you want the Enterprise Server License Manager to be automatically
started at boot time? (y/n): y

PROMPT_16: Press 'q' to quit or return to continue: (Here I press Enter)

PROMPT_17:Do you want error/warning messages to be displayed via the
syslog daemon? (y/n):y

PROMPT_18:Enter the alphanumeric user ID of the Enterprise Server System
Administrator.: root

PROMPT_19:Press return to use /var/mfcobol/es (Here I press Enter)

This completes the Installation...

So to line-up all the responses in the right order, I guess we need:

=======================

Y

Y

<ENTER>

q (Without a return)

y

y

1

y

/opt/cobol/mflmf

y

y

y

64

y

y

<ENTER>

y

root

<ENTER>

==============

Any ideas, how do i get your script to send those responses to those 19 Prompts?


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.

 




#Automate
#hands-off
#ServerExpress
#solaris
#Installation
#Automation
#COBOL
#install
Hi.

I have as a look at this and updated the silent install script to resolve some of the issues you are seeing.
When the installer runs the "q (Without a return)" is not needed as it replaced the more command to output the release note file with a cat command so this prompt does not happen.

I see you want to setup Java during the install, I have updated the script so simply the setting of LIBCOBJVM_RESPONSE.
You will need to find this in the code and change it from LIBCOBJVM_RESPONSE="n\\n" to "LIBCOBJVM_RESPONSE="y\\n1\\n" were "1" is the menu number displayed.

I see you are also installing LMF licencing. By default this is set to no as depending on the LMF setup on the machine you get a different set of responses. If license manager is running or the install destination exists you get a different set of prompts and the script does not cope with this.

If you are installing on a clean machine where LMF has never been installed and the license daemon is not running then you can update the script with the following setting.

LMF_INSTALL_RESPONSE="y\\n/opt/cobol/mflmf\\ny\\ny\\ny\\n"

If you are installing on a machine that may have LMF already installed, its better to say "n\\n" for the above setting and then run the $COBDIR/lmf/lmfinstall manually once install is complete.

I will email you the latest version of the script which I have tweaked to make it a little more helpful.
Tar files names now set at the top of the scripts.
The script now outputs to the screen whats happening, so if it starts to loop and get stuck you can see whats happening.

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.

 




#Automate
#hands-off
#ServerExpress
#solaris
#Installation
#Automation
#COBOL
#install

Thank you..

On ver2 script, I set the variables to:

INSTDIR="/opt/cobol/sx51wp11"

DEVEXT=""

DEPLOYEXT=""

Bits="64"

DEVTAR="sx51_wp11_sun_sparc_dev.tar"

DEPLOYTAR="sx51_wp11_sun_sparc_dev.tar"

And set these below Variables at their respective locations:

############################################

        # This will setup Java JVM support

        LIBCOBJVM_RESPONSE="y\\n1\\n"

        # This will skip Java JVM support setup.

        #LIBCOBJVM_RESPONSE="n\\n"

############################################

     # Say No to installing LMF/ASLMF.

        LMF_INSTALL_RESPONSE="y\\n/opt/cobol/mflmf\\ny\\ny\\ny\\n"

        #LMF_INSTALL_RESPONSE="n\\n"

############################################

and then ran the ver2 script on a clean system without any LMF installation....

But looks like it again went into a loop throwing below messages at the end:

--------------------------------------------------------------------------------

This product can be used in either 32-bit or 64-bit modes.

Please enter either 32 or 64 to set the system default mode: Invalid response, please enter either 32 or 64.

Invalid response, please enter either 32 or 64.

--------------------------------------------------------------------------------

I've sent you the below log file over an email which shows all the output:

ServerExpressSilentInstaller.sh.es.18166

Also, here's the contents of pkg_es_install.res with ver2 script:

--------------------------------------------------------------------------------

# cat pkg_es_install.res
y
y

y
y
1
64
y
n

n
root
/var/mfcobol/es
n

 

--------------------------------------------------------------------------------

It does not look like it contains all the prompts i listed in my previous post.


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.

 




#Automate
#hands-off
#ServerExpress
#solaris
#Installation
#Automation
#COBOL
#install
If you have both the development and deployment tar files in the current directory them you need to set DEVEXT="" and DEPLOYEXT="" or the deployment product will overwrite the location of the development product.

With the above settings the development product installed to "/opt/cobol/sx51wp11" will get moved to "/opt/cobol/sx51wp11.old" when the deployment product is installed.

Settings these to
DEVEXT="dev"
DEPLOYEXT="deploy"

Will ensure development product does not get moved post install.

Looking at the log file you sent I see the installer has detected LMF is already installed. The script does not cope with this situation. It expected a clean machine each time. I would strongly recommend setting this to the no install setting for LMF and test out your deployment. If it works then we narrow the issue down.

If you require LMF to be installed as part of the product install I would recommend performing the following actions before running the install.

o. Check the LMF install directory does not exist. /opt/cobol/mflmf
o. If it does move to this location and run [ as root ] lmfgetpv k
o. Remove [ as root ] rm -rf /opt/cobol/mflmf

This will then allow the canned install responses to work for LMF. If LMF is already installed then no need to re-install.
Its not changed in a while so does not need updating.


Run the following as root to remove LMF before running install.

------------------------- start------------------------------
#!/bin/sh

LMFDIR=$HOME/mflmf

if [ -d $LMFDIR ]
then
echo "LMF found."
cd $LMFDIR
echo "Stop LMF daemon"
lmfgetpv k
cd $HOME
echo "Remove LMF area."
rm -rf $LMFDIR
fi
------------------------- end------------------------------

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.

 




#Automate
#hands-off
#ServerExpress
#solaris
#Installation
#Automation
#COBOL
#install
I just built another completely new system with only the OS on it.. No LMF or anything.. I sent you an output of that installation over an email.. It looks like the install succeeded but there's more issues... Please look at my email to see the details..

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.

 




#Automate
#hands-off
#ServerExpress
#solaris
#Installation
#Automation
#COBOL
#install
I just built another completely new system with only the OS on it.. No LMF or anything.. I sent you an output of that installation over an email.. It looks like the install succeeded but there's more issues... Please look at my email to see the details..

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.

 




#Automate
#hands-off
#ServerExpress
#solaris
#Installation
#Automation
#COBOL
#install
I just built another completely new system with only the OS on it.. No LMF or anything.. I sent you an output of that installation over an email.. It looks like the install succeeded but there's more issues... Please look at my email to see the details..

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.

 




#Automate
#hands-off
#ServerExpress
#solaris
#Installation
#Automation
#COBOL
#install
I'm looking to automate this as well, only on RHEL/OEL. Is this script available to download? Can I help with testing and documentation?

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.

 




#Automate
#hands-off
#ServerExpress
#solaris
#Installation
#Automation
#COBOL
#install
I'm looking to automate this as well, only on RHEL/OEL. Is this script available to download? Can I help with testing and documentation?

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.

 




#Automate
#hands-off
#ServerExpress
#solaris
#Installation
#Automation
#COBOL
#install
Can you pass me on the script and i need to do silent install as well