User Tools

Site Tools


aix:nim_command

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
aix:nim_command [2023/02/14 13:31]
manu
aix:nim_command [2024/06/18 14:20] (current)
manu
Line 71: Line 71:
 <cli prompt='#'>​ <cli prompt='#'>​
 # nim -o cust -a fixes=update_all -a lpp_source=aix7100-05-08-2114 spot_7100-05-06-2028 # nim -o cust -a fixes=update_all -a lpp_source=aix7100-05-08-2114 spot_7100-05-06-2028
 +</​cli>​
 +
 +- **Define a SPOT from a directory that previously had a SPOT installed in it**
 +<cli prompt='#'>​
 +# /​usr/​lpp/​bos.sysmgt/​nim/​methods/​m_mkspot -o -a server=server -a location=location -a source=no ​ spotname
 </​cli>​ </​cli>​
  
Line 265: Line 270:
    ​cpuid ​              = 00FB43B94C00    ​cpuid ​              = 00FB43B94C00
 </​cli>​ </​cli>​
 +
 +===== Automaticaly restore AIX LPAR =====
 +
 +==== Steps to install mksysb from NIM ====
 +
 +=== On the NIM server ===
 +
 +Allocate required resource ​
 +<cli prompt='#'>​
 +# nim -o reset -a force=yes $CLIENT_NAME
 +# nim -Fo deallocate -a subclass=all $CLIENT_NAME
 +# nim -o bos_inst -a source=mksysb ​ -a mksysb=$MKSYSB -a spot=$SPOT -a accept_licenses=yes -a fb_script=$SCRIPTFB -a bosinst_data=$BOSINST_DATA -a boot_client=no $CLIENT_NAME
 +</​cli>​
 +
 +Monitoring
 +<cli prompt='#'>​
 +# nim -o showlog -a log_type=boot $CLIENT_NAME > $LOG
 +</​cli>​
 +
 +=== On the HMC ===
 +
 +Now boot the partition using a specific IP, and also give the NIM server IP to boot
 +<cli prompt='#'>​
 +# Syntax
 +To retrieve a MAC address:
 +lpar_netboot -M -n [-v] [-x] [-f] [-i] [-A] -t ent [-D -s Speed-d Duplex -S Server -G Gateway -C Client -K
 +subnetmask] partition name partition profile manage system
 +
 +To perform a network boot:
 +lpar_netboot [-v[-x] [-f] [-i] [-g args] [-A -D | [-D] -l phys_loc | [-D] -m maddress] -t ent [-D -s Speed-d
 +Duplex -S Server -G Gateway -C Client -K subnetmask partition_name partition_profile manage_system
 +
 +</​cli>​
 +
 +
aix/nim_command.1676377875.txt.gz ยท Last modified: 2023/02/14 13:31 by manu