2014년 4월 15일 화요일

아바마 스케쥴 export 후 import 하는 방법

Symptoms
Customer wants to migrate specific group and its settings (name, domain, encryption method, and so forth)  and assigned policy objects (dataset, schedule and retention policy) from one grid to another grid.
Resolution
Starting with 4.1.2-33, the mccli group export and mccli mcs import commands allows this functionality. Information is exported into xml format.  Note that the data exported in this matter will not contain the list of client members. Data exported from 4.1.2-33 grid can be imported into 5.x grids.
To export:
The group TestGroup exists in /clients domain on source grid.

mccli group export --file=<path_to_exported_file> --domain=<name_of_domain> --name=<group_selected_for_export>

example:
mccli group export --file=/home/admin/test.xml --domain=/clients --name=TestGroup

0,23000,CLI command completed successfully.
Using ascii transfer mode, transfer the newly created xml file (test.xml)to the new Avamar grid.
Once the file is on the target grid
To import:

mccli mcs import --file=<path_of_imported_xml>

example:
mccli group import --file=/home/admin/test.xml
MCS data XML file /data01/home/admin/test.xml created by MASSAMAR411 on 2010-02-04 00:15:55.302
0,23000,CLI command completed successfully.
You can use the command to verify the import worked.
mccli group show --domain=/<domain_where_group_was_imported>
mccli client add --name=/clients/user-pc ----------------- ADD는 되나 activity는 되지 않음.

SuSE MAC 변경 방법

SuSE MAC 변경 방법

/etc/init.d/boot.local파일을 열어
해당하는 eth*의 mac변경 값을 넣어 준후 저장하고 나온다.

/sbin/ifconfig eth0 down
/sbin/ifconfig eth0 hw ether AA:50:8D:61:C4:AA
/sbin/ifconfig eth0 up


sync;sync;sync


reboot

Avamar Client move 방법

root@avamar:/data01/#: mccli client move --name=/clients/test/csk00000-pc --new-domain=/clients
0,22515,Client was moved.
Attribute Value
--------- ---------------------------------------------------------------------------------------------------------------------------------------
client    <appdircomponent contact="" domain="/clients/test" email="" id="24a4b6a5caa6b294322c41256bb3b982598abd5c" name="csk00000-pc" phone=""/>