반응형

1. 고려사항

  • 이 문서는 기존에 NIM Server / Client 구성이 되어있다는 가정하에 작성된 문서입니다.
  • NIM Master에 백업하고자하는 Client의 Machine 등록 및 네트워크 통신이 정상적인 상태라는 가정.

2. NIM 서버를 이용한 Non-rootvg 백업 - SMIT

  • NIM Machine 등록확인 및 상태체크
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[NIM_Master:root] /export/lpar10] lsnim -l lpar10
lpar10:
   class           = machines
   type            = standalone
   installed_image = 71_mksysb
   current_master  = NIM_Master
   connect         = shell
   sync_required   = yes
   platform        = chrp
   netboot_kernel  = 64
   if1             = net-pri lpar10 0
   cable_type1     = tp
   Cstate          = ready for a NIM operation
   prev_state      = not running
   Mstate          = currently running
   cpuid           = 00C48B554C00
   Cstate_result   = success
 

          º Cstate 는 NIM Client의 상태를 나타내며, 현재 상태는 "ready 상태"이므로, 바로, Backup이 가능하다.

 

  • NIM Client인 "lpar10" 의 testvg 백업.

          º #smitty nim_mkres > savevg

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
                                                         Define a Resource
 
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
 
                                                        [Entry Fields]
* Resource Name                                      [lpar10_savevg_test] << savevg 리소스이름
* Resource Type                                       savevg
* Server of Resource                                 [master]
* Location of Resource                               [/export/lpar10/testvg] << 저장위치 [/export/lpar10에 해당하는 디렉토리는 반드시 있어야한다.]
  NFS Client Security Method                         []
  NFS Version Access                                 []
  Use exclude_packing.rootvg file?                    no
  Comments                                           []
  
  Source for Replication                             []
                  -OR-                                                                                                              
  System Backup Image Creation Options:
    CREATE volume group backup image?                 yes
   NIM CLIENT containing volume group to backup     [lpar10] << 백업받고자하는 클라이언트 이름
   VOLUME GROUP to backup                           [testvg] << 해당클라이언트의 VG Name
    PREVIEW only?                                     no
    IGNORE space requirements?                        no 
    EXPAND /tmp if needed?                            no
    Backup extended attributes?                       yes
    Generate new VG.DATA file?                        yes
    Create MAP files?                                 no
    Number of BLOCKS to write in a single output     []
     (leave blank to use system default)                                                                                            
    Use local EXCLUDE file?                           no
     (specify no to include all files in backup)                                                                                    
                  -OR-                                                                                                              
    EXCLUDE_FILES resource                           []
     (leave blank to include all files in backup)                                                                                   
  Back up Volume Group information files only?        no
   Create backup using snapshots?                     yes
    Backup encrypted files?                           yes
    Backup DMAPI filesystem files?                    yes
  Disable software packing of backup?                 no
 
 

 

  • "lpar10"의 testvg 백업 완료.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
                                                           COMMAND STATUS
 
Command: OK            stdout: yes           stderr: no
 
Before command completion, additional instructions may appear below.
 
 
+---------------------------------------------------------------------+
                System Backup Image Space Information
              (Sizes are displayed in 1024-byte blocks.)
+---------------------------------------------------------------------+
 
Required = 493 (1 MB)    Available = 88264352 (86196 MB)
 
 
 
Creating information file for volume group testvg.
 
Creating snapshots.
 
Creating list of files to back up.
.
Backing up 9 files
 
9 of 9 files (100%)
0512-038 savevg: Backup Completed Successfully.
 

 

  • 완료된 savevg resource 확인
1
2
3
4
[NIM_Master:root] /] lsnim -c resources |grep -i savevg
savevg_test            resources       savevg
test_savevg            resources       savevg
lpar10_savevg_test     resources       savevg << 생성됨.
 

 

 

반응형

'NIM > NIM Backup_Restore' 카테고리의 다른 글

[AIX, NIM] NIM 백업/복구 실패 [0042-172]  (0) 2024.07.31
NIM Mksysb backup  (0) 2021.03.22
NIM 서버에서 Non-rootvg Restore  (0) 2021.03.14
Posted by 정병욱