Използване на DBprofile върху Integrity сървъри

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Преди известно време ми се наложи да бърникам по EFI шела на една такава машинка за да мога да направя нов профил и да стартирам Ignite Restore от един отдалечен сървър. Тъй като наскоро трябваше да си припомня как точно става процедурата и се рових доста време из стари бележки – реших да я споделя тук.

Създаване на профил:

Shell> dbprofile -dn ignite -cip 10.132.79.88 -sip 10.132.71.236 -m 255.255.252.0 -gip 10.132.79.1 -b /opt/ignite/boot/nbp.efi

За да видим профила който сме създали можем да изпилзваме командата „dbprofile“ в EFI шела:

Shell> dbprofile
Profile List
Ignite-UX server IP address (-sip)
10.132.71.236
Ignite client IP address (-cip)
10.132.79.88
Gateway IP address (-gip)
10.132.79.1
Network mask (-m)
255.255.252.0
Boot file name (-b)
/opt/ignite/boot/nbp.efi
 
Profile Name: ignite
Network Type: IPv4
Client IP address: 10.132.79.88
Gateway IP address: 10.132.79.1
Subnet Mask: 255.255.252.0
Server IP address: 10.132.71.236
Boot File:/opt/ignite/boot/nbp.efi
Optional Data:

След което вече можем да стартираме системата от нашия Ignite сървър:

Shell> lanboot -dn ignite
 
Client MAC Address: 00 17 A4 51 74 90
Client IP Address: 10.132.72.88
Subnet Mask: 255.255.252.0
BOOTP Server IP Address: 10.132.73.236
DHCP Server IP Address: 0.0.0.0
Boot file name: /opt/ignite/boot/nbp.efi
 
Retrieving File Size.
Retrieving File (TFTP).
@(#) HP-UX IA64 Network Bootstrap Program Revision 1.0
Downloading HPUX bootloader
Starting HPUX bootloader
Obtaining size of fpswa.efi (328192 bytes)
Downloading file fpswa.efi (328192 bytes)
 
(C) Copyright 1999-2006 Hewlett-Packard Development Company, L.P.
All rights reserved
 
HP-UX Boot Loader for IPF -- Revision 2.028
 
Booting from Lan
Obtaining size of AUTO (26 bytes)
Downloading file AUTO (26 bytes)
Press Any Key to interrupt Autoboot
AUTO ==> boot Rel_B.11.23/IINSTALL
Seconds left till autoboot - 0
AUTOBOOTING...Obtaining size of Rel_B.11.23/IINSTALL (22186598 bytes)
Downloading file Rel_B.11.23/IINSTALL (22186598 bytes)
> System Memory = 8161 MB
loading section 0
.................................................................... (complete)
loading section 1
.............. (complete)
loading symbol table
Obtaining size of Rel_B.11.23/IINSTALLFS (44957696 bytes)
Downloading file Rel_B.11.23/IINSTALLFS (44957696 bytes)
loading ram disk file (Rel_B.11.23/IINSTALLFS).
......................................................................................
(complete)
Launching Rel_B.11.23/IINSTALL
SIZE: Text:34425K + Data:7099K + BSS:8501K = Total:50026K
 
Console is on a Serial Device
Booting kernel...
 
Memory Class Setup
-------------------------------------------------------------------------
Class Physmem Lockmem Swapmem
-------------------------------------------------------------------------
System : 8161 MB 8161 MB 8161 MB
Kernel : 8161 MB 8161 MB 8161 MB
User : 7490 MB 6526 MB 6551 MB
-------------------------------------------------------------------------
 
Loaded ACPI revision 2.0 tables.
krs_read_mfs: Error 5 opening MFS.
WARNING: GIO: read_ioconfig_file(): /stand/ioconfig read error.
ioconfig = NULL
NOTICE: cachefs_link(): File system was registered at index 5.
NOTICE: nfs3_link(): File system was registered at index 8.
NOTICE: USB device attached. Identification String:
Devices/Device/USB/Standard/hp/Multibay/0_a1
<2.1.3.10.1008.294.161>
NOTICE: USB device attached. Identification String:
Devices/MassStorage-SCSI/USB/BulkOnly/hp/Multibay/0_a1
<2.310.3.150.1008.294.161>
NOTICE: USB device attached. Identification String:
Devices/ScsiControllerAdaptor/USB/BulkOnly/hp/Multibay
<2.1000.3.150.1008.294>
sasd: [ALERT] Driver detected a software downgrade.
sasd: The current driver version is unsupported
sasd: for the Serial SCSI HBA at hw path 0/4/1/0.
sasd: Please install the latest SerialSCSI-00 depot ASAP.
 
System Console is on the Built-In Serial Interface
iether2: INITIALIZING HP AB352-60003 PCI/PCI-X 1000Base-T Dual-port Core at hardware path 0/4/2/0
iether0: INITIALIZING HP A7012-60601 PCI/PCI-X 1000Base-T Dual-port Adapter at hardware path 0/2/1/0
iether1: INITIALIZING HP A7012-60601 PCI/PCI-X 1000Base-T Dual-port Adapter at hardware path 0/2/1/1
iether3: INITIALIZING HP AB352-60003 PCI/PCI-X 1000Base-T Dual-port Core at hardware path 0/4/2/1
iether4: INITIALIZING HP A7012-60601 PCI/PCI-X 1000Base-T Dual-port Adapter at hardware path 0/5/1/0
iether5: INITIALIZING HP A7012-60601 PCI/PCI-X 1000Base-T Dual-port Adapter at hardware path 0/5/1/1
Swap device table: (start & size given in 512-byte blocks)
entry 0 - auto-configured on root device; ignored - no room
WARNING: no swap device configured, so dump cannot be defaulted to primary swap.
WARNING: No dump devices are configured. Dump is disabled.
Starting the STREAMS daemons-phase 1
execve("/sbin/sh") failed, errno 0xffffffff
execve("/bin/sh") failed, errno 0xffffffff
Create STCP device files
Starting the STREAMS daemons-phase 2
$Revision: vmunix: B11.23_LR FLAVOR=perf Fri Aug 29 22:35:38 PDT 2003 $
Memory Information:
physical page size = 4096 bytes, logical page size = 4096 bytes
Physical: 8357256 Kbytes, lockable: 6072312 Kbytes, available: 7105348 Kbytes
 
======= 02/25/08 04:49:48 EST HP-UX Installation Initialization. (Mon Feb 25
04:49:48 EST 2008)
@(#)Ignite-UX Revision C.6.9.150
@(#)ignite/init (opt) $Revision: 10.526 $ $Date: 2006/06/20 22:26:23 $
version 5 layout
32768 sectors, 32768 blocks of size 1024, log size 1024 blocks
unlimited inodes, largefiles not supported
32768 data blocks, 31672 free data blocks
1 allocation units of 32768 blocks, 32768 data blocks
* SAS (Serial Attached SCSI) disk devices (LUNs) found = 4.
* Reorder SAS disks/LUNs to physical order, swap:
0/4/1/0.0.0.3.0 (SAS:ENC01:BAY07 0x500000e013d3f5a2.0x0) < =>
0/4/1/0.0.0.2.0 (SAS:ENC01:BAY08 0x500000e013cffa42.0x0)
* Current SAS disk/LUN status:
* 0/4/1/0.0.0.0.0 0x500000e013ca8552.0x0 SAS:ENC01:BAY05 "HP
DG072A9BB7 "
* 0/4/1/0.0.0.1.0 0x500000e013ca87f2.0x0 SAS:ENC01:BAY06 "HP
DG072A9BB7 "
* 0/4/1/0.0.0.2.0 0x500000e013d3f5a2.0x0 SAS:ENC01:BAY07 "HP
DG072A9BB7 "
* 0/4/1/0.0.0.3.0 0x500000e013cffa42.0x0 SAS:ENC01:BAY08 "HP
DG072A9BB7 "
* Scanning system for IO devices...
* Querying disk device: 0/4/1/0.0.0.0.0 ...
* Querying disk device: 0/4/1/0.0.0.1.0 ...
* Querying disk device: 0/4/1/0.0.0.2.0 ...
* Querying disk device: 0/4/1/0.0.0.3.0 ...
* Setting keyboard language.
 
Welcome to Ignite-UX!
 
Use the key to navigate between fields, and the arrow keys
within fields. Use the key to select an item.
Use the or to pop-up a choices list. If the
menus are not clear, select the "Help" item for more information.
 
Hardware Summary: System Model: ia64 hp server rx6600
+---------------------+----------------+-------------------+ [ Scan Again ]
| Disks: 4 (273.5GB) | Floppies: 0 | LAN cards: 6 |
| CD/DVDs: 1 | Tapes: 1 | Memory: 8161Mb |
| Graphics Ports: 0 | IO Buses: 4 | CPUs: 4 | [ H/W Details ]
+---------------------+----------------+-------------------+
 
[ Install HP-UX ]
 
[ Run a Recovery Shell ]
 
[ Advanced Options ]
 
[ Reboot ] [ Help ]

Надявам се че на някого това е било полезно.

За melkor

Дългогодишен UNIX/Linux потребител. В момента работи като Senior UNIX Administrator в HP GDBC.
Публикувано в HPUX. Постоянна връзка.

This site uses Akismet to reduce spam. Learn how your comment data is processed.