Ignite-UX

Can swlist options be changed in ignite installation?

 
SOLVED
Go to solution
Godfrey Zhang
Advisor

Can swlist options be changed in ignite installation?

I'm to move a non-vpar box (L2000-44, no vpar software installed) onto a vpar. The nPar has three vpars, and the other two vpars are up and running.

I have been trying to use this Lclass's make net recovery archive, plus ParMgr and vParsoftware as to ignite the vpar via network. The vPar software always was analysed before ParMgr, making it excluded, thus vpar software never installed, so the vpar couldn't boot up.

I was wondering if there is a way to change the "enforce_dependencies" to false in ignite installation, so that I can install the vpar software?

6 REPLIES 6
Adisuria Wangsadinata_1
Honored Contributor
Solution

Re: Can swlist options be changed in ignite installation?

Hi,

For swinstall, you can use '-x option=value'. Check the man page of swinstall for more details :

# man swinstall

============================================
enforce_dependencies=true
Requires that all dependencies specified by the software_selections be resolved either in the specified source, or at the target_selections themselves.

The swinstall and swcopy commands will not proceed unless the dependencies have also been selected or already exist at the target in the correct state (INSTALLED or AVAILABLE). This prevents unusable software from being installed on the system. It also ensures that depots contain usable sets of software.

If set to false, dependencies are still checked, but not enforced. Corequisite dependencies, if not enforced, may keep the selected software from working properly. Prerequisite dependencies, if not enforced, may cause the installation or configuration to fail.
============================================

Hope this information can help you.

Cheers,
AW
now working, next not working ... that's unix
Godfrey Zhang
Advisor

Re: Can swlist options be changed in ignite installation?

In this case, "make_depots" is used to copy the nPar/vPar software onto the ignite server, and a config file generated for the installation purpose. Thus no chance to use command swinstall.

Sivakumar TS
Honored Contributor

Re: Can swlist options be changed in ignite installation?

Hi,

check this thread...

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=938468

Hope it has the right info for you,

Siva.
Nothing is Impossible !
Godfrey Zhang
Advisor

Re: Can swlist options be changed in ignite installation?

Thanks for the quick thread.

As I'm getting this:
ERROR: The dependencies for fileset
"PartitionManager.PARMGR-RUN,r=B.11.11.02.00.05.03" cannot be
resolved (see previous lines).
You must resolve the above dependencies before operating on
this fileset or change the "enforce_dependencies" option to
"false".
* Executing preDSA command.

I was wondering if there is a way to set the options for swinstall. Even I set on the ignite server /var/adm/sw/defaults:
swconfig.enforce_dependencies = false
swcopy.enforce_dependencies = false
swinstall.enforce_dependencies= false
swremove.enforce_dependencies = false
swverify.enforce_dependencies = false

and restarted swagentd, still geting this ERROR.
Arunvijai_4
Honored Contributor

Re: Can swlist options be changed in ignite installation?

Hello,

Just a quick check, how did you restart swagentd ?
A better way to do this,

# /sbin/init.d/swagentd stop
# /sbin/init.d/swagentd start

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Godfrey Zhang
Advisor

Re: Can swlist options be changed in ignite installation?

I did as SD suggested "/usr/sbin/swagentd -r".

I will do a stop/start to see what happens. Thanks.