# 6/30 Build image and deploy on server ### Open MDS (右上角三個button) 1. Press refesh PMC file button 2. Generate Configuration Output 3. Generate SDR record 4. Generate Sensor Monitoring code ### Build image * go to BonitoBase to build image ```shell= sudo ./build.sh -p A5A -c full ``` 3. copy image to tftpboot ```shell= cp ipmi/BonitoBase/build/private/workspace/Build/output/rom.ima ~/tftpboot ``` 1. login remote server Lab2 telnet console server ```shell= telnet 10.10.12.238 5033 ``` ``` Login: administrator Password: password ``` ``` Login: sysadmin Password: superuser ``` When restarting server, pressing "Enter" to enter UBOOT * Sent cold reset command to MC ```shell= ipmitool -H 10.10.15.210 -U admin -P admin mc reset cold ``` ```shell= dhcp; set bootfile rom.ima; set serverip 10.10.15.45; ping ${serverip} ``` * A5A reset 10.10.15.210 / A5R reset 10.10.11.39 ```shell= tftp 82000000; protect off all;erase 20050000 21ffffff; cp.b 82050000 20050000 1fb0000; reset; ``` * C19 reset * C16 reset 10.10.15.35 (telnet 10.10.12.238 5031) ```shell= tftp 82000000; protect off all; erase 20050000 23ffffff; cp.b 82050000 20050000 3fb0000; reset; ``` ```shell= tftp 82000000; protect off all; erase 20000000 23ffffff; cp.b 82000000 20000000 4000000; reset; ``` reset ``` ### sdr elist 觀看是否有更改成功 ```shell= ipmitool -H 10.10.15.210 -U admin -P admin sdr elist ```