Operating System - HP-UX
1753862 Members
7457 Online
108809 Solutions
New Discussion юеВ

Possible to Add SD Depot (HBA driver) during an Ignite Restore?

 
Alzhy
Honored Contributor

Possible to Add SD Depot (HBA driver) during an Ignite Restore?

MigZ...
'Been years since I've actively performed Ignites. And here's my situiation - I am cloning a system via Ignite to a new similar frame but with different Combo Network and Gig-HBAs. Install/Ignite works fine but on first boot after the ignite - I am getting VFS mount errors (NEED DRIVERS?)... And I think Ive narrowed it down to my OS image not having the updated IETTHER-00 filesets. Ignite_UX does not have a problem recognizing the HBAs since my Igniet_UX is farily new..

So my question is -- is it possible to have the installation of the driver as part of a post ignite-UX script? And how is it set up?


Thanks.
Hakuna Matata.
10 REPLIES 10
TwoProc
Honored Contributor

Re: Possible to Add SD Depot (HBA driver) during an Ignite Restore?

Nelson,

It's not quite the answer you're looking for but:

This should work - just add the filesets to the machine you're cloning from. Even if you're not using them, they'll be there to land on the new server.

John
We are the people our parents warned us about --Jimmy Buffett
Alzhy
Honored Contributor

Re: Possible to Add SD Depot (HBA driver) during an Ignite Restore?

How? I really am after the HOW...
where in the various files do I add my swinstall line?
Hakuna Matata.
TwoProc
Honored Contributor

Re: Possible to Add SD Depot (HBA driver) during an Ignite Restore?

Nelson - I believe that if you add them to the sourced machine, then make a new ignite tape from the source machine - you're automagically adding them to the new ignite tape you'll create.

Thus, when you do the ignite install on the destination server - they are there all ready in the ignite tape. No post ignite-Ux script necessary.
We are the people our parents warned us about --Jimmy Buffett
Alzhy
Honored Contributor

Re: Possible to Add SD Depot (HBA driver) during an Ignite Restore?

Yeah that is the easy route.. But no can do. I can't install the driver on the source server (and take an ignite backup) as I wil not be able to get downtime in a few weeks. The HBA driver install requiers a reboot.
Hakuna Matata.
TwoProc
Honored Contributor

Re: Possible to Add SD Depot (HBA driver) during an Ignite Restore?

Ok - I hear you.

Two ideas presented below:

What about installing the driver, but leaving it in the unconfigured state?

So, here's an idea:

Isn't there a way to swinstall a package, but not have it configured?

Option 1:

From reading the man page - it says that *swcopy* does the same thing as swinstall - except it won't perform any install(s). So the question becomes: Can you just swcopy the driver into the root depot?

Conceptually, this would not install the driver, but it *could possibly* put your driver in your generated ignite tape...


Option 2:

If swcopy doesn't work - how about this section from the man pages of swinstall:

--------man swinstall excerpt -------------
defer_configure=false
(Applies only to swinstall.) Causes swinstall to
automatically run configure scripts for the
software_selections after they are installed.
(Alternate root directories are not configured.)

When set to true, swinstall does not run configure
scripts. If you want to configure the software later,
you must run the swconfig command.

--------end of man swinstall excerpt -------------

So, I think
$> swinstall -s < source > -x defer_configure=true

would probably work for you.

Good luck with this one.

John
We are the people our parents warned us about --Jimmy Buffett
TwoProc
Honored Contributor

Re: Possible to Add SD Depot (HBA driver) during an Ignite Restore?

Well Nelson,

Apparently, you can do exactly what you're asking about:

http://docs.hp.com/en/B2355-90772/ch08s01.html

The example here describes how to add a printer to /var/opt/ignite which will show up in the "advanced" tab when you install.

So, it looks like you'd put your script, as well as the patch under the /var/opt/ignite directory, and make your new tape.

The script in /var/opt/ignite would look like:
#!/sbin/sh
swinstall -s /var/opt/ignite/

You may have to include the full path to where swinstall is going to land - possibly in /sbin as well.
We are the people our parents warned us about --Jimmy Buffett
Alzhy
Honored Contributor

Re: Possible to Add SD Depot (HBA driver) during an Ignite Restore?

Thanks Two_Proc,

I am hot on the steps described on page 64 and 65 of http://www.docs.hp.com/en/5992-3336/5992-3336.pdf.

I have inserted a CFG file (out of make_config and manage_index) for my net_recovery CFG entry as follows:

cfg "2008-05-30,04:00 Recovery Archive" {
description "NET Recovery 05-30-08"
"recovery/2008-05-30,04:00/system_cfg"
"recovery/2008-05-30,04:00/control_cfg"
"recovery/2008-05-30,04:00/archive_cfg"
"/var/opt/ignite/data/Rel_B.11.11/iether_cfg"
}=TRUE

The iether_cfg is the software cfg that I am after that I am hoping will post load after the OS Archive is loaded.

Hakuna Matata.
TwoProc
Honored Contributor

Re: Possible to Add SD Depot (HBA driver) during an Ignite Restore?

Looks more direct than my approach. Lots of ways to skin that cat.

John
We are the people our parents warned us about --Jimmy Buffett
Alzhy
Honored Contributor

Re: Possible to Add SD Depot (HBA driver) during an Ignite Restore?

Thanks for keepin' me company man... It was lonely out here for a while... ;^)
Hakuna Matata.