cancel
Showing results for 
Search instead for 
Did you mean: 

swinstall and swacl problem

DeafFrog
Valued Contributor

swinstall and swacl problem

Dear Gurus ,

After copying depot to a server1 and running swinstall , it get somwthing like the attchment,i.e i do not get the depot listing but only hostname and root . however i have installed and tested the same way on another servers.As i can recall i had run some swreg and swacl commands long time back on this server.could it be because of this ? how to get the normal swinstall window . Pardon me if this is duplicate posting , as i am not able to search same in ITRC.

FrogIsDeaf
15 REPLIES
Nido
Trusted Contributor

Re: swinstall and swacl problem

Hi,

Check registered depot with: swlist -l depot

If registered depot not showing, remove the required depot entry and follow the steps:

If you want to create new softwre depot:
1)Create a Directory:
mkdir /newdir/depot
2)swpackage -s -d /newdir/depot
Register your new depot on the sd-ux:
3) swreg -l depot /newdir/depot

Copy any other depot available:
4)swcopy -s `pwd`/ABC.depot @ /newdir/depot

Check registered depot with: swlist -l depot


Thanks,
" Let Villagers Be Happy!! "
DeafFrog
Valued Contributor

Re: swinstall and swacl problem

Hi Ganesh ,

# swlist -l depot
# Initializing...
# Target "withheld" has the following depot(s):
/home/tech/patch_4_oracle/depot
/var/WAS_128.1.150.18/ibmcd2/GSKit/gsk7bas64

I have unregistered the depot with
#swreg -l depot -u
But here my problem is that i am still not able to see this new depot entry in server when swinstall -s , i have copied dependencies and test the same on other server and it worked fine.

FrogIsDeaf
Dennis Handly
Acclaimed Contributor

Re: swinstall and swacl problem

>ganesh: If you want to create new software depot:
>2)swpackage -s -d /newdir/depot

If your depot already exists, you should use swcopy as in 4). The only time you should use swpackage is when you are packaging depots or want to create a tape depot.
Dennis Handly
Acclaimed Contributor

Re: swinstall and swacl problem

>After copying depot to a server1

How did you do this? swcopy?

>I have unregistered the depot with

Did you reregister it?

>how to get the normal swinstall window?

Why would you want want a window? Do everything from the command line.

# swinstall -s $PWD/depot \*

This will install everything.
DeafFrog
Valued Contributor

Re: swinstall and swacl problem

Hi Dennis ,

Thanks for the reply.This is what i am trying to install :
# swlist -d @ /tmp/DP*
# Initializing...
# Contacting target "withheld"...
#
# Target: withheld:/tmp/DP_A0600_UXia64.sd_depot
#

#
# Bundle(s):
#

B6960MA A.06.00 HP OpenView Storage Data Protector

I have copied this with cp , not swcopy, as i did for the other server2 and server3 whereit had worked fine.
In server2/3 i simply did swinstall -s /tmp/DP* and it worked fine.Now on the server1 i am getting the attachment that i have posted in initation thread

How did you do this? swcopy? No

Did you reregister it? I should be able to install without registering.

Why would you want want a window? I am able to install with swinstall -s /tmp/DP_A0600_UXia64.sd_depot \*
I need a window for other product which will be installed with swinstall.
Once again thanks for the help.
FrogIsDeaf
smatador
Honored Contributor

Re: swinstall and swacl problem

Hi,

I don't understand, what's happen when you do only
# swinstall -s /tmp/DP_A0600_UXia64.sd_depot
do you have something to highlight, if yes enter in the depot and after that you could select under the depot.
Other think, why you don't use the omnisetup script?

Hope it helps
DeafFrog
Valued Contributor

Re: swinstall and swacl problem

Hi Smatador,

I did't use omnisetup script as it exited every time after unpacking only , without installing anything . i had use this command with omnisetup
# ./omnisetup.sh -install da -server and it did't worked,
so i copied only the DP_A0600_UXia64.sd_depot and installed it , it worked fine on server2/3.
However the problem here is "hosatname root in swinstall " in server1 and not the "Specify Source" selection window.Please let me know if you want some o/p.
FrogIsDeaf
Bart Paulusse
Respected Contributor

Re: swinstall and swacl problem

Hi DeafFrog,

have you tried restarting swagentd?
# swagentd -r

Bart
DeafFrog
Valued Contributor

Re: swinstall and swacl problem

Hello Bart ,

yes i did tried that , it didn't helped .after giving swagentd -r , and then swinstall showed the same thing ,could it have something to do with swacl ,not sure.
FrogIsDeaf
smatador
Honored Contributor

Re: swinstall and swacl problem

Hi,
Could you please post the swagentd.log/swagent.log and swinstall.log?
Dennis Handly
Acclaimed Contributor

Re: swinstall and swacl problem

>This is what i am trying to install: # swlist -d @ /tmp/DP*

I would suggest you not fall into the SD trap of having N ways to do things. Just use:
swlist -s /tmp/DP_A0600_UXia64.sd_depot

Note: swlist doesn't take wildcards. While it works for you to select the one file, using "*" in your thread will confuse us.

>I have copied this with cp, not swcopy, as I did for the other server2 and server3 where it had worked fine.

You can copy tape depots with cp but it won't register them.

>I am able to install with swinstall -s /tmp/DP_A0600_UXia64.sd_depot \*

On this server?

>I need a window for other product which will be installed with swinstall.

Again why? If you know the product name, you can use the command. Also the command may give better error messages, messages that you can cut&paste.
DeafFrog
Valued Contributor

Re: swinstall and swacl problem

Hello Dennis ,

>Yes on this server(server1) i was been able to with swinstall -s /tmp/DP_A0600_UXia64.sd_depot \* . But again i removed it as , it was not able to connect with omni server , while other servers were able to.

>I install by command line , but the problem is that other senior are sure that this swinstall problem has something to do with me :>(.
FrogIsDeaf
DeafFrog
Valued Contributor

Re: swinstall and swacl problem

Hello Smatador ,

soory for delay , pls find the file attached.Please open this with Text pad.
FrogIsDeaf
DeafFrog
Valued Contributor

Re: swinstall and swacl problem

Dear All ,

Thanks for the support. Wish ITRc had some ways so that points could have been redeemed.
Solution :
recreated the swacl with
1. swacl -l host > /tmp/new_acl
2. vi /tmp/new_acl
3. swacl -l host -F /tmp/new_acl

and then deleted the /var/adm/sw/.sdkey file!!
FrogIsDeaf
smatador
Honored Contributor

Re: swinstall and swacl problem

Hi,

On the swinstall.log, all it's installed
"Execution phase succeeded"
If you do
#swinstall -s /tmp/DP_A0600_UXia64.sd_depot \*
you are going to install all, that is done
if you just do
#swinstall -s /tmp/DP_A0600_UXia64.sd_depot
you will have a GUI and you are about to choose [ mark ] under the depot, the different fileset like core, da etc. in your case just DA I think.

If you just want to be a client DP, you have to modify in the config directory the cell info server, and after that on your Cell Manager import this server as a simple client. I think your CM is windows, because you do the install directly not by pushing the client directly. You don't have an Installation Server hpux/linux.

For me you don't have a problem with swinstall, just a config problem with DP.

Hope it helps