1846377 Members
3157 Online
110256 Solutions
New Discussion

SAM and SMH

 
SOLVED
Go to solution
haimi
Frequent Advisor

SAM and SMH

Hello ITRC folks,

Im trying to get my hands on the non-CLI way of doing admin tasks by using tools like SAM and SMH but can't find a good document with graphical illustrations of those tools.

Anyone can provide me a link or document on this?

Thanks
6 REPLIES 6
Tim Nelson
Honored Contributor
Solution

Re: SAM and SMH

You may have trouble finding them because there are NONE...

Anything SAM/SMH can do a real admin can do better via command line..

What would you like to do ?? Maybe we can help.

BTW, You are getting really far behind on awarding points. (you never know, a good points giver just might get more responses ;)

Just click on your name to see links to all your previous posts, spend 10 minutes to get caught up..
haimi
Frequent Advisor

Re: SAM and SMH

Yup ... overlooked on that ;)

Well actually I just wanna know the comparison between these 2 tools.

Which one is better out of these 2 .. of course CLI is the best SA tool ... no doubt bout that :)

OK ... an example task would be creating NFS. Would you be able to show how to perform NFS in SAM and SMH?

Thanks
Tim Nelson
Honored Contributor

Re: SAM and SMH

SAM has been obsoleted in 11.31 and replaced by SMH.

What version of HPUX are you running, 11.31 ?

As far as an NFS mount if using 11.31.

Assuming you already have a filesystem/directory created that you wish to share with another server.

edit /etc/dfs/dfstab
create an entry like the below to share a directory called /my/directory to server1 and server2 and allow root access from same.
(feel free to modify the access as you deem appropriate for your environment) "man share_nfs" for more info

share -F nfs -o anon=2,access=server1:server2,root=server1:server2 -d "Decscription" /my/directory


execute shareall


As far as showing how in SAM/SMH, just follow the menu options for NFS.
Nithin-PB
Advisor

Re: SAM and SMH

I agree with both of you that CLI is the best way but SMH will be useful if you are not aware of the commands or if you want to delegate a particular set of tasks to someone else in the organization.

As far as NFS creation is concerned,
If you have a 11.31 machine, you can follow these steps

1. Open a web browser and access SMH using https://:2381 or http://:2301

2. Once you login, click on "Tools -> File Systems" (Under Disks and file Systems).

3. Click on ">> Add NFS ..."

4. Enter your mount point, remote server, the directory to be mounted and other details.

5. Click on "Preview" if you want to see the "Commands" that will be run in the back-end.

6. Click on New NFS to have your mount ready or to see the result.

I hope this will be helpful. I will upload the images of the steps that I just mentioned, if you need it.
Gokul Chandola
Trusted Contributor

Re: SAM and SMH

Hi,

Please read the following document.

"SAMâ HP SMH Cross Reference Guide"
http://docs.hp.com/en/5992-2899/5992-2899.pdf

Regards,
Gokul Chandola
There is always some scope for improvment.
haimi
Frequent Advisor

Re: SAM and SMH

Yah Nithin, you are absolutely right! Newbies might prefer the GUI tools especially SMH. SMH can also be a learning tool as it provides you with the corresponding HPUX commands for a particular tasks.

Nice link Gokul. I wonder where u got that from ;)

Nithin, if you can provide me the images for the NFS, it would be nice.

Thanks guys for the help.