- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: SD across network?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2002 08:33 AM
09-12-2002 08:33 AM
How is that it is possible to do swlist over a network on to a box on which you do not even have an ID? Can someone please explain the mechanism?
Thanks
Joe.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2002 08:39 AM
09-12-2002 08:39 AM
Re: SD across network?
If you want to do a swlist over a network, the command to do it is
swlist @ boxname:/depotpath
But, now if you don't even have an id, you can however try this. Are you on the same network as that box.
This is tricky but try the command above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2002 08:39 AM
09-12-2002 08:39 AM
Re: SD across network?
Yes. You do NOT need an account/login to do this.
The sw command you invoke merely talks to the running swagentd daemon via a TCP port running on the remote server across the network.
You can see the daemon normally running on all HP servers;
ps -ef | grep swagentd
If the serverd daemon isnt running then you cant do any remote sw commands to it, otherwise it simply sites there listening on a particular TCP port for anyone to send sw commands to it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2002 08:41 AM
09-12-2002 08:41 AM
Re: SD across network?
Try the ip address
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2002 08:45 AM
09-12-2002 08:45 AM
Re: SD across network?
Ignore, completely misread the question
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2002 08:47 AM
09-12-2002 08:47 AM
Re: SD across network?
If you don't need a login as per other syad's listed here, the command i gave you should work fine.
Try it out....
And don't forget to assign points for answers which help you in the true sense
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2002 09:05 AM
09-12-2002 09:05 AM
Re: SD across network?
Try
swlist @remote_server_name:/
remote_server_name should be resolvable by your system.
If not use the remote server ip address in place of remote_server_name.
you can use the -l patch or other option with swlist command fore patch swlist or things like that.
Hope this helps.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2002 10:09 AM
09-12-2002 10:09 AM
Re: SD across network?
I guess i have to reframe the question.
how is that it is possible to do a swlist -l product @ remote-host-name even without having ID on that box? I mean to ask what is the mechanism behind.
Thanks
Joe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2002 12:47 PM
09-12-2002 12:47 PM
Re: SD across network?
A daemon listens to a port and acts on and responds to commands.
Rich
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2002 12:52 PM
09-12-2002 12:52 PM
Re: SD across network?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2002 12:59 PM
09-12-2002 12:59 PM
Re: SD across network?
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2002 09:57 PM
09-12-2002 09:57 PM
Re: SD across network?
SD depends on DNS. So, if you run swlist @ remote_host, the name will first get resolved. Just like if you run nslookup hostname and nslookup IP, both should show the same thing if DNS is configured properly.
Regards,
Mateja
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 08:13 AM
09-13-2002 08:13 AM
Re: SD across network?
"Software Distributor" uses the DCE Remote Procedure Calls, and does not need you to be logged in on the remote machine. You *do* need to have read-permission on the remote machine, but that is turned on by default. Check (on the remote machine) with:
swacl -l root @ /
It should show that "any_other" has "r" (and maybe "t") permission.
Then on that remote machine the so-called "depot" has to be "registered", which you can do with the followinf command:
swreg -l depot /your/local/depot/path
And on your local machine you can list the registered depots (but only those) with:
swlist -l depot @ remote-machine-address-or-hostname
And to install something from such a depot you have to use the option "-s remote-host:/remote/depot" with your "swinstall" command.
HTH,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 08:54 AM
09-13-2002 08:54 AM
SolutionThe answer given by Wodisch explains how the SD works (DCE RPC) but if you need to get an Information about a remote box say..
swlist -l patch -a state -a date @
then it reads the /var/adm/sw/security/secrets
file. It is actually shipped with default value and can be changed for site specific considerations. If you happen to change the default value then these commands would not work across the network.
Giri.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2002 08:04 AM
09-16-2002 08:04 AM
Re: SD across network?
Thanks. That answers my question. I changed that file and i am not able to swlist on a remote box.Great List. Thanks
Joe.