Changes

Jump to navigation Jump to search
m
Line 112: Line 112:  
1. log into the 'affabox' and copy the config helper script
 
1. log into the 'affabox' and copy the config helper script
 
  cp -a /usr/lib/affa/jobconfig-esxi-sample.pl /root/esxi-myvm-job.pl
 
  cp -a /usr/lib/affa/jobconfig-esxi-sample.pl /root/esxi-myvm-job.pl
2. edit /root/esxi-myvm-job.pl and set
+
2. edit <tt>/root/esxi-myvm-job.pl</tt> and set
 
  my $jobname='esxi-myvm';
 
  my $jobname='esxi-myvm';
 
and
 
and
 
  'remoteHostName‘=>'10.200.48.5',
 
  'remoteHostName‘=>'10.200.48.5',
3. set the VM name
+
3. tell Affa that this job backups a ESXi virtual machine
 +
'ESXi' => 'yes',
 +
4. set the VM name
 
  'ESXiVMName' => 'myvm',
 
  'ESXiVMName' => 'myvm',
4. set the username and password (this is the ESXi User with restricted Permissions created above)
+
5. set the username and password (this is the ESXi User with restricted permissions created above)
 
  'ESXiUsername' => 'affa',
 
  'ESXiUsername' => 'affa',
 
  'ESXiPassword' => 'secret',
 
  'ESXiPassword' => 'secret',
5. save, then run it
+
6. save the script, then run it
 
  /root/esxi-myvm-job.pl
 
  /root/esxi-myvm-job.pl
6. send the public key
+
7. send the public key
 
  affa --send-key esxi-myvm
 
  affa --send-key esxi-myvm
7. run the job manually
+
8. run the job manually
 
  affa --run esxi-myvm
 
  affa --run esxi-myvm
  
501

edits

Navigation menu