mgmt_profile1 = hmc01 5 8286-41A_212B8BW Cstate = ready for a NIM operation prev_state = ready for a NIM operation Mstate = currently running cpuid = 00FA2B8B4C00 

## Defining the Live Update configuration resource 

To use Live Update, you need a lvupdate.data  file. You have two options: 

GLYPH<SM590000> The file can be on the virtual client. 

GLYPH<SM590000> The file can be defined as a resource in NIM and used when triggering a Live Update. 

A template of this file can be found in /var/adm/ras/liveupdate/lvupdate.template  and can be used as a basis for the configuration of your lvupdate.data  file for the AIX LPAR on which you want to use Live Update. Details regarding Live Update configuration are available in 1.1, “Live Update function” on page 2. 

After you create your lvupdate.data  file, create the NIM resource by using the following command: 

nim -o define -t live_update_data -a location=<path to file> -a server=<server that hosts resource> 

Example 1-35 shows the creation of the Live Update data resource by using a configured lvupdate.data  file that is named aixlpar_lvupdate.data . 

# nim -o define -t live_update_data \ > -a location=/export/resources/aixlpar_lvupdate.data \ > -a server=master aixlpar_lvupdate_data # lsnim -l aixlpar_lvupdate_data aixlpar_lvupdate_data: class = resources type = live_update_data Rstate = ready for use prev_state = unavailable for use location = /export/resources/aixlpar_lvupdate.data alloc_count = 0 server = master 

## Performing Live Update 

After the required resources that are related to your virtual partition are defined in your NIM master server, you may use your lpp_source  resources to perform Live Update on your AIX partitions. These updates can be initiated either from the NIM client or from the NIM master. 

When you use the NIM master to do customization (by using nim -o cust -a live_update=yes ), it triggers the NIM client to initiate a Live Update-based installp . If you created a live_update_data  resource and want to use it for your NIM installation, specify the following command: 

nim -o cust -a live_update=yes live_update_data=lvupdate_data_resource 

