nimol_update Command

Purpose

Runs geninstall on a NIMOL client to perform software maintenance.

Syntax

nimol_update -c client_hostname [ -L label ] [ -f geninstall_flags ] [ -m remote_access_method ] [ -p package_list ] [-D]

Description

The nimol_update command executes the geninstall command on a configured NIMOL client using the specified remote access method, which is /usr/bin/rsh by default. When configuring a NIMOL server using the nimol_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 runs the geninstall command with -acgX as the default flags. Use the -f flag to specify geninstall command flags. The software packages to pass the geninstall command are specified with the -p flag.

When installing filesets using the nimol_update command, you must specify a resource label that has an lpp_source. Run nimol_config -l -L label to determine if a resource label contains an lpp_source. The command will export the resource label directory if it is not already globally exported. The client will mount the directory and use it as the source directory during an installation.

Flags

ItemDescription
-c client_hostname Specifies the NIMOL client hostname on which to execute the geninstall command.
-D Runs the command in debug mode.
-f geninstall_flags Specifies the flags to pass to the geninstall command. The default flags are -acgX.
-L label Specifies the name of the resource label that will be used as the source for install images.
-m remote_access_method Specifies the remote access method to use to run the geninstall command. The default is/usr/bin/rsh. Another option is /usr/bin/ssh.
-p package_list Specifies the name of software packages to pass to the geninstall command. The default is all.

Exit Status

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

Security

To run the nimol_update 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 access method than /usr/bin/rsh.

Examples

  1. To install all packages in resource label 530 to client myclient, type:
    nimol_update -c myclient -L 530
  2. To apply an update for bos.games on client myclient, type:
    nimol_update -c myclient -L 530 -f "-a" -p "bos.games"
  3. To remove bos.games from client myclient, type:
    nimol_update -c myclient -f "-u" -p "bos.games"
  4. To execute the geninstall command using ssh, type:
    nimol_update -c myclient -L 530 -m ssh

Location

/usr/sbin/nimol_update

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