nimol_backup Command

Purpose

Création de ressources d'installation NIMOL depuis un client AIX.

Syntax

nimol_backup -c client_hostname [-t directory] [-m remote_access_method] [-L label] [-D]

Description

The nimol_backup command creates NIMOL install resources from a configured NIMOL client using the specified remote access method, which is /usr/bin/rsh by default, to call the nimol_mk_resources method on the client. When configuring a NIMOL server using thenimol_config command, the user can set the default remote access method to something other than /usr/bin/rsh, such as/usr/bin/ssh. A machine is considered a NIMOL client when it has been installed using the nimol_install command without the -n flag.

The command creates the target directory and label on the NIMOL server. The directory is then exported. The default label is default. For example, if the command is passed -t /export/aix -L aix530, then the command creates the /export/aix/aix530 directory on the NIMOL server.

The command then uses the remote access method to run the nimol_mk_resources command. The nimol_mk_resources command creates the necessary install resources in the target directory.

Flags

ItemDescription
-c client_hostname Specifies the NIMOL client hostname on which to execute the geninstall command.
-D Runs the command in debug mode.
-L label Specifies the label or name to create for the created resources.
-m remote_access_method Specifies the remote access method to use to run the geninstall command. The default/usr/bin/rsh. Another option is /usr/bin/ssh.
-t directory Specifies the target directory where the AIX install resources will be created from the NIMOL client. The default directory is /export/aix.

Exit Status

ItemDescription
0 The command completed successfully.
> 0 Error returned.

Security

To run the nimol_backup command on a NIMOL client, the client must provide remote access permissions to the NIMOL server. Using/usr/bin/ssh is a more secure remote acces method than /usr/bin/rsh.

Examples

  1. To create install resources from client myclient in the /export/aix directory and named 530, type:
    nimol_backup -c myclient -L 530 -t /export/aix
  2. To execute nimol_mk_resources using ssh, type:
    nimol_backup -c myclient -m ssh

Location

/usr/sbin/nimol_backup

Files

ItemDescription
/etc/nimol.conf Stores configuration information for the command.

 

icon phone
Téléphone/Whatsapp : +33 (0)6 83 84 85 74
icon phone