Veritas-bu

Re: [Veritas-bu] help in pushing to a MAC server.

2009-02-05 19:12:31
Subject: Re: [Veritas-bu] help in pushing to a MAC server.
From: "Dustin Damour" <dustind AT plateautel DOT com>
To: <judy_hinchcliffe AT administaff DOT com>, <VERITAS-BU AT mailman.eng.auburn DOT edu>
Date: Thu, 5 Feb 2009 16:48:18 -0700

Judy,

 

I had a similar case when trying to push to Solaris 9 servers. It appears that the push requires rsh or rlogin by default. Remote shell is unsecure it is disabled by default on most modern UNIX installs. If you go to /usr/openv/netbackup/bin there is a file called install_client_files with different install usage options such as:

 

usage:   ./install_client_files ftp client_name|ALL user_name

                ./install_client_files sftp client_name|ALL user_name

                ./install_client_files rsh client_name|ALL

                ./install_client_files ssh client_name|ALL

 

Since SSH is the preferred way make sure that from the AIX server that you can ssh to the Mac Server as root. The install script requires root access to install the client files. If you cannot SSH to the Mac Server make sure that in /etc/ssh/sshd_config that PermitRootLogin is set to yes. Example:

 

#cat /etc/ssh/sshd_config

 

# Are root logins permitted using sshd.

# Note that sshd uses pam_authenticate(3PAM) so the root (or any other) user

# maybe denied access by a PAM module regardless of this setting.

# Valid options are yes, without-password, no.

PermitRootLogin yes

 

Then back on the client make sure you run as root to generate an SSH public key for public key authentication.

 

#ssh-keygen –t dsa

 

You will be prompted for location, default is fine so press enter. The it will ask for passphrase. Since, this is to be used by the installer leave it blank since this will be used for automated tasks (the client installer script). After it is generated run the following to copy to the server:

 

#cat ~/.ssh/id_dsa.pub | ssh user@server “cat >> ~/.ssh/authorized_keys”

 

If that doesn’t work you can always copy the output in id_dsa.pub and manually put it in authorized_keys with vi.

 

To test it just ssh to the server and you shouldn’t need a password since it is authenticating by public key.

 

Then on the AIX server run the installer script:

 

#/usr/openv/netbackup/bin/install_client_files ssh client_name

 

Client_name is either the hostname of the client or the IP, whichever way it is listed in the NetBackup client configuratoin database. If the name is incorrect it will notify you by the following error:

 

Client harkonnen was not found in the configuration database.

The client files were not installed on harkonnen.

 

I usually set up a public key both ways just in case I’m on the client server and I have to connect to the master node to get to the storage array.  

 

 

 

Dustin D'Amour

Wireless Switch Technician

Plateau Wireless

575.389.4189 - office

575.309.6372 - cell

dustind AT plateautel DOT com

 

From: veritas-bu-bounces AT mailman.eng.auburn DOT edu [mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of judy_hinchcliffe AT administaff DOT com
Sent: Thursday, February 05, 2009 3:10 PM
To: VERITAS-BU AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] help in pushing to a MAC server.

 

Yes I am unix, but unfortunately I am not the person setting up the MAC’s.

I don’t even know the root password to MAC

 

My master is aix and I open up the java console and I go and push my updates to my unix clients.( I was able to push to all my aix servers ok)

 

1)      am I able to push  to a MAC like this?

2)      When I try to push I get the following output

--------------------------------------------------------

02/05/2009 16:01:42

Installing software on Macserver...

Software installation on Macserver failed.

Software installation messages:

       Macserver ...

Client Macserver -- MACINTOSH hardware running MacOSX10.4

Installing NetBackup software on Macserver

Macserver.company.com: A remote host refused an attempted connect operation.

Client Macserver is not responding.

       Macserver install failed

 

 

I can go to client properties and open up the mac (currently at 6.5).

And I see it, but I am unable to push the 6.5.3 to it.

 

The admin says that SSH is enabled.

 

Anybody know what I have wrong?

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
<Prev in Thread] Current Thread [Next in Thread>