Published on

vSphere Build

Authors
  • Name
    Jackson Chen

How to manully install vSphere ESXi on Hitachi Servers

How to configure Hitach BMC IP address
# Configure the Hitachi server BMC IP address
    BMC - Baseboard Management Controller
1. Power on the Hitachi server
    The boot process takes about 2 minutes to complete, and powers onto the Petitboot bootloader menu
    When Petitlboot loads, the monitor activates. Press any key to interrupt the boot process.
2. On selection options
    F12     Network Boot
    F11     BBS Popup menu      # Boot option
    F2 (DEL)    # Enter Setup

    Press F2 or DEL, to enter setup
3. In Aptio Setup window, navigate and select "Server Mgt"
    Main
    Advanced
    Platform Configuration
    Socket Configuration
    Server Mgmt     <--- Select
    Security
    Boot
    Save & Exit
4. Navigate to BMC netowrk configuration
    a. Select or enable static IP address
    b. Enter IP address
    c. Enter subnet mask
    d. Enter default gateway
5. Select F10 to "Save & Exit"
    Note:
    The server will reboot
How to install vSphere on Hitachi using remote BMC connection
1. Access BMC console using Chrome browser
    https://<BMC-IP>
2. Navigate to Remote Console, and open as HTML5
3. On the newly popup HTML5 console, on the top right, click browse and select the Hitachi vSphere ISO file, then
    click "Start Media"     # This will mount the ISO
4. From Power, and reboot the server
5. When the monitor activates when boot, press F11  (BBS POPUP menu)
    # This will enter to boot option
6. Select the virtual CD ROM
7. On the Welcome to the VMware xxx Installation window, press ENTER
8. On EULA - End User License Agreement, press F11  (Accept and Confirm)
9. Select the required NVMe disk
10. If the server has previously installed vSphere, then select
    Install ESXi, overwrite VMFS datastore, and press ENTER
11. Follow the installation process to finish the installation

vSphere quick configuration of management and vMotion kernel ports

When doing quick VM migration to the migration server, and then vMotion to another vCenter, we can quickly build a temporary migration vSphere server, and run the bash script to configure the vSphere management and vMotion kernel port.

1. Install vSphere required version on the physical ESXi host
2. Run the bash script to configure vmk0 and vmk1 (vMotion)
Create the bash script in the local datastore
/vmfs/volumes/ds-local/source-network.sh    # Source Network

#!/bin/sh
# Configure ESXi hosts vmk0 for source network
esxcli network ip interface ipv4 set -i vmk0 -t static -I <mgmt-source-netowrk-ip> -N <subnet-mask>
esxcfg-route <default-gateway>
esxcli network vswitch standard portgroup set -p "Management Network" --vlan-id <mgmt-vlan-id>

# Configure ESXi hosts vmk1 vMotion for source network 
esxcli network ip interface ipv4 set -i vmk1 -t static -I <vMotion-source-netowrk-ip> -N <subnet-mask>
esxcfg-route <default-gateway>
esxcli network vswitch standard portgroup set -p "Management Network" --vlan-id <vmotion-vlan-id>


/vmfs/volumes/ds-local/dest-network.sh  # destination network

#!/bin/sh
# Configure ESXi hosts vmk0 for source network
esxcli network ip interface ipv4 set -i vmk0 -t static -I <mgmt-dest-netowrk-ip> -N <subnet-mask>
esxcfg-route <default-gateway>
# If the port is an untag port or access port, there is no vlan id set, then use "0"
esxcli network vswitch standard portgroup set -p "Management Network" --vlan-id 0

# Configure ESXi hosts vmk1 vMotion for source network 
esxcli network ip interface ipv4 set -i vmk1 -t static -I <vMotion-dest-netowrk-ip> -N <subnet-mask>
esxcfg-route <default-gateway>
esxcli network vswitch standard portgroup set -p "Management Network" --vlan-id 0