Push
InfoPrint Manager to a remote system (unattended)
Important: The
pushinstallation method can seriously compromise network security if you are including principal passwords in the response files. If network security is a concern for you and if passwords are required to install InfoPrint on your systems, you should use
PullInfoPrint Manager to a remote system (unattended).
- You must be authorized to execute commands remotely for a "push" installation to work properly.
- The rshd and rexecd daemons must be running on the remote system to execute the remote installation scripts.
- Configuring the rshd and rexecd daemons requires a system administrator and might impact your network security.
To perform an unattended remote push
installation:
- Set up the InfoPrint Manager software server by following the instructions in Configuring the InfoPrint Manager software server.
- You must have the authority to open remote shells on each remote or target system.
The
rootuser must appear in the.rhostsfile in root's home directory on each remote system (entercd ~to discover root's home directory). You might have to create the.rhostsfile. If a.rhostsfile already exists, make sure that it contains host information like 2.2 below, and then go to step 3. To create the.rhostsfile, make sure that you are in root's home directory on the remote system and do this:- Create the file in VI :
vi .rhosts - Add this line to the file:
hostname usernamewherehostnameis the name of the InfoPrint Manager software server from which you are accessing the remote system, andusernameis your user name on the InfoPrint Manager software server. For example, if the InfoPrint Manager software server's name is linus, and you log on as root, you would enter:linusroot - Save the file:
- Press the
Escapekey to clear VI's mode. - Type
:wqand pressEnter. This will save the file and exit VI.
- Press the
- Create the file in VI :
- From the InfoPrint Manager software server from which you want to
push
the software:- Update the
.netrcfile in root's home directory (entercd ~to discover root's home directory). You might have to create this file (see the VI example above to create this file). The.netrcfile should contain this:machineremote_target_serverloginuseridpasswordpasswordwhere remote_target_server is the remote or target AIX server to which you want to push the software. Supply the userid of
rootand root's password. - From root's home directory on the InfoPrint Manager software server, specify this at the AIX command line to set the necessary permissions
on the
.netrcfile:chmod 700 .netrc
- Copy the
/ipin_responsefile from the/ip_remote/templatesdirectory to the/ip_remote/autodirectory by specifying this command:cp /ip_remote/templates/ipin_response /ip_remote/auto/remote_target_server
whereremote_target_serveris the name of the target server. Do this once for each machine that you want to configure.For example, assume
/ip_remote/autohas these contents:/ip_remote/auto/server1 /ip_remote/auto/linus.east /ip_remote/auto/node5
Note: The response file names above are just examples. The response files can have any file name that you want.
- Modify the first line of the response files to reflect the correct host names. Change
hostname=ipmserver tohostname=remote_target_server, where remote_target_server is the name of the remote system to which you want to push the installation. For the purposes of our example, theserver1response file host name line would becomehostname=server1.
- Update the
- Log in to the remote or target system as
root.- Create the
/ip_remotedirectory on the target system:mkdir /ip_remote. - Mount the InfoPrint Manager software server as an NFS file system:
mount Infoprint_Manager_software_server_hostname:/ip_remote /ip_remote
- Create the
- Initiate a concurrent remote unattended install on your target systems by specifying
this command:
/ip_remote/remote_install -m
If you have elected to give the/ip_remotefile system a different mount point, you must use the optional -s flag to identify it.
Note: For troubleshooting information about the installation process, refer to the specific
/var/log/pd/install/*.wlog files.