1)
Find ILO of machine which you want to configure
#nmap -sP 100.214.122.64/27
* 100.214.122.64/27 --> ILO network
2)
Goto ILO Web Interface of the machine
https://100.214.122.93/
3)
How to do ILO Reset to get new ILO IP from DHCP Server (isc-dhcp-server) running on UC ?
Ans:
Goto ILO Web Interface of the machine
https://100.214.122.93/
Then Select "Network" --> iLO Dedicated Network Port --> IPv4 --> Select "Enable DHCPv4" ---> Then "Submit" and "Reset".
4)
How to Check Storage ?
Ans:
Goto ILO Web Interface of the machine
https://100.214.122.93/
Then Select "Information" --> System Information --> Storage
5)
How to Enable "Network Boot" for "NIC-4" or "em4" ?
a)
First Open Remote Console::
Goto ILO Web Interface of the machine
https://100.214.122.93/
Then Select "Remote Console" --> "Remote Console" --> "Java Integrated Remote Console (Java IRC)" --> launch
b)
Then Reboot::
Select "Power Switch" --> "Cold Boot"
c)
Then Goto BIOS Setup and Enable "Network Boot" for "NIC-4" ?
F9 --> Enter --> Wait for ROM Utility --> Select "System Options" --> "Embedded NICs" --> "NIC 4 Boots Options" --> Press "Enter" --> Select "Network Boot"
OR
F11 --> Enter --> F9 ---> Wait for ROM Utility --> Select "System Options" --> "Embedded NICs" --> "NIC 4 Boots Options" --> Press "Enter" --> Select "Network Boot"
d)
Then Goto BIOS Setup and Disable "Network Boot" for "NIC 1", "NIC 2" and "NIC 3".
6)
RAID Array Configuraion
a)
Open RAID Array Configuraion Interface
Reboot --> Then press "F9" --> Then press "F5"
b)
Create "RAID 1" for Compute Node.
Select "RAID Array Configuraion (Slot 1)" --> "Configure" --> "Create Array" --> Select All HDDs --> "Create Array" --> "RAID 1" --> "Create Logical Drive" --> Finish
b1)
Set Bootable Logical Drive/Volume.
"Set Bootable Logical Drive/Volume" --> "Local - Logical Drive 1" --> Select "Primary Bootable Logical Drive/Volume" --> OK --> Finish
c)
Create "RAID 0" for Storage Node.
Select "RAID Array Configuraion (Slot 1)" --> "Configure" --> "Create Array" --> Select All HDDs --> "Create Array" --> "RAID 0" --> "Create Logical Drive" --> Finish
c1)
Set Bootable Logical Drive/Volume.
"Set Bootable Logical Drive/Volume" --> "Local - Logical Drive 1" --> Select "Primary Bootable Logical Drive/Volume" --> OK --> Finish
7)
Register that machine "100.214.122.93" to ironic.
a)
Goto UC and source "openrc_admin".
b)
Check nodes which are already registered to ironic.
root@uc1:~#ironic node-list
c)
Register the node "100.214.122.93" to ironic.
root@uc1:~#/usr/bin/python2.7 -m jiocloud.enroll --ilo_username myusername --ilo_password mypassword --os_username admin --os_tenant openstack --os_password mypassword --os_auth_url https://identity-uc.mycloud.com:5000/v2.0 --nic 4 --ilo_address 100.214.122.93
d)
Check newly registered node
root@uc1:~#ironic node-list
8)
Configure the ironic node.
a)
Configure for compute (based on requirement).
root@uc1:~#ironic node-update 2d32d1dd-5363-47d4-a5d6-dc3a1fe7f496xx replace properties/cpu_arch=x86_64.g1.compute
* 2d32d1dd-5363-47d4-a5d6-dc3a1fe7f496xx --> form $ironic node-list
b)
Configure for storage (based on requirement).
root@uc1:~#ironic node-update 2d32d1dd-5363-47d4-a5d6-dc3a1fe7f496xx replace properties/cpu_arch=x86_64.g1.storage
c)
Set "maintenance" to False
root@uc1:~#ironic node-update 2d32d1dd-5363-47d4-a5d6-dc3a1fe7f496xx replace maintenance=False
d)
Verify updated configurations
root@uc1:~#ironic node-show 2d32d1dd-5363-47d4-a5d6-dc3a1fe7f496xx
9)
Test node provision:
a)
Power off the node:
root@uc1:~#ironic node-set-power-state 2d32d1dd-5363-47d4-a5d6-dc3a1fe7f496xx off
b)
provision the node:
For Compute Node:
root@uc1:~#nova boot --flavor g1.compute --image Ubuntu-trusty --key-name mykey1 --nic net-id=f6e86850-32e9-4366-a03b-2b2a9ac481f0 compute-node1
* Right now, we can't provision VM on a specific ironic node with option "--availability-zone nova:xxxx"
For Storage Node:
root@uc1:~#nova boot --flavor g1.storage --image Ubuntu-trusty --key-name mykey1 --nic net-id=f6e86850-32e9-4366-a03b-2b2a9ac481f0 storage-node1
c)
Verify:
root@uc1:~#nova list
root@uc1:~#ironic node-list
10)
Power Off/On (Optional):
root@uc1:~#ironic node-set-power-state 2d32d1dd-5363-47d4-a5d6-dc3a1fe7f496xx off
root@uc1:~#ironic node-set-power-state 2d32d1dd-5363-47d4-a5d6-dc3a1fe7f496xx on
11)
Validate
#ironic node-validate [node-id]
12)
How to Delete nova vm and ironic node
$nova delete [vm-id]
$ironic node-set-provision-state [node-id] deleted
$ironic node-delete [node-id]
Register quanta node
#################
1)
Create chassis
#ironic chassis-create
2)
Create node
#ironic help node-create
#ironic node-create -d pxe_ipmitool -c 2c860c23-20ef-4b21-bbf3-656047beb85c -i ipmi_address=100.234.122.92 -i ipmi_username=admin -i ipmi_password=admin -i ipmi_terminal_port=0 -p cpus=16 -p memory_mb=131072 -p local_gb=678 -p cpu_arch=x86_64
#ironic node-list
3)
Create port
3a)
Find MAC address
a)
Open ILO web interface.
Then Open Remote console
Then reboot the system via ILO web interface "Remote Control" --> Server Power control --> Reset Server --> Click on "Perform action"
Then Press "F11 or F12", then "Ctrl + S" to enter into setup menu (Bios)
b)
Enable PXE boot (Network boot)
"Advanced" --> "OnBoard Device Configuration" --> "Onboard LAN Port" --> "Enable with PXE"
3b)
#ironic help port-create
#ironic port-create -a 2C:60:0C:28:3B:92 -n 0aa9238b-39ed-45a6-a803-f20755748882
#Ironic port update, if you want to change the MAC address
#ironic port-update 18580aeb-81e0-4936-baab-d23a36e3c01a replace address=2c:60:0c:28:3b:91
4)
Ironic node Update
#ironic node-update 0aa9238b-39ed-45a6-a803-f20755748882 replace properties/cpu_arch=x86_64.g1.compute
#ironic node-update 0aa9238b-39ed-45a6-a803-f20755748882 replace maintenance=False
5)
Power-off the system
#ironic node-set-power-state 0aa9238b-39ed-45a6-a803-f20755748882 off
6)
Test nova boot
#nova boot --flavor g1.compute --image Ubuntu-trusty --key-name mykey1 --nic net-id=f6e86850-32e9-4366-a03b-2b2a9ac481f0 compute-node1-quanta
#nova list
#ironic port-list
Find ILO of machine which you want to configure
#nmap -sP 100.214.122.64/27
* 100.214.122.64/27 --> ILO network
2)
Goto ILO Web Interface of the machine
https://100.214.122.93/
3)
How to do ILO Reset to get new ILO IP from DHCP Server (isc-dhcp-server) running on UC ?
Ans:
Goto ILO Web Interface of the machine
https://100.214.122.93/
Then Select "Network" --> iLO Dedicated Network Port --> IPv4 --> Select "Enable DHCPv4" ---> Then "Submit" and "Reset".
4)
How to Check Storage ?
Ans:
Goto ILO Web Interface of the machine
https://100.214.122.93/
Then Select "Information" --> System Information --> Storage
5)
How to Enable "Network Boot" for "NIC-4" or "em4" ?
a)
First Open Remote Console::
Goto ILO Web Interface of the machine
https://100.214.122.93/
Then Select "Remote Console" --> "Remote Console" --> "Java Integrated Remote Console (Java IRC)" --> launch
b)
Then Reboot::
Select "Power Switch" --> "Cold Boot"
c)
Then Goto BIOS Setup and Enable "Network Boot" for "NIC-4" ?
F9 --> Enter --> Wait for ROM Utility --> Select "System Options" --> "Embedded NICs" --> "NIC 4 Boots Options" --> Press "Enter" --> Select "Network Boot"
OR
F11 --> Enter --> F9 ---> Wait for ROM Utility --> Select "System Options" --> "Embedded NICs" --> "NIC 4 Boots Options" --> Press "Enter" --> Select "Network Boot"
d)
Then Goto BIOS Setup and Disable "Network Boot" for "NIC 1", "NIC 2" and "NIC 3".
6)
RAID Array Configuraion
a)
Open RAID Array Configuraion Interface
Reboot --> Then press "F9" --> Then press "F5"
b)
Create "RAID 1" for Compute Node.
Select "RAID Array Configuraion (Slot 1)" --> "Configure" --> "Create Array" --> Select All HDDs --> "Create Array" --> "RAID 1" --> "Create Logical Drive" --> Finish
b1)
Set Bootable Logical Drive/Volume.
"Set Bootable Logical Drive/Volume" --> "Local - Logical Drive 1" --> Select "Primary Bootable Logical Drive/Volume" --> OK --> Finish
c)
Create "RAID 0" for Storage Node.
Select "RAID Array Configuraion (Slot 1)" --> "Configure" --> "Create Array" --> Select All HDDs --> "Create Array" --> "RAID 0" --> "Create Logical Drive" --> Finish
c1)
Set Bootable Logical Drive/Volume.
"Set Bootable Logical Drive/Volume" --> "Local - Logical Drive 1" --> Select "Primary Bootable Logical Drive/Volume" --> OK --> Finish
7)
Register that machine "100.214.122.93" to ironic.
a)
Goto UC and source "openrc_admin".
b)
Check nodes which are already registered to ironic.
root@uc1:~#ironic node-list
c)
Register the node "100.214.122.93" to ironic.
root@uc1:~#/usr/bin/python2.7 -m jiocloud.enroll --ilo_username myusername --ilo_password mypassword --os_username admin --os_tenant openstack --os_password mypassword --os_auth_url https://identity-uc.mycloud.com:5000/v2.0 --nic 4 --ilo_address 100.214.122.93
d)
Check newly registered node
root@uc1:~#ironic node-list
8)
Configure the ironic node.
a)
Configure for compute (based on requirement).
root@uc1:~#ironic node-update 2d32d1dd-5363-47d4-a5d6-dc3a1fe7f496xx replace properties/cpu_arch=x86_64.g1.compute
* 2d32d1dd-5363-47d4-a5d6-dc3a1fe7f496xx --> form $ironic node-list
b)
Configure for storage (based on requirement).
root@uc1:~#ironic node-update 2d32d1dd-5363-47d4-a5d6-dc3a1fe7f496xx replace properties/cpu_arch=x86_64.g1.storage
c)
Set "maintenance" to False
root@uc1:~#ironic node-update 2d32d1dd-5363-47d4-a5d6-dc3a1fe7f496xx replace maintenance=False
d)
Verify updated configurations
root@uc1:~#ironic node-show 2d32d1dd-5363-47d4-a5d6-dc3a1fe7f496xx
9)
Test node provision:
a)
Power off the node:
root@uc1:~#ironic node-set-power-state 2d32d1dd-5363-47d4-a5d6-dc3a1fe7f496xx off
b)
provision the node:
For Compute Node:
root@uc1:~#nova boot --flavor g1.compute --image Ubuntu-trusty --key-name mykey1 --nic net-id=f6e86850-32e9-4366-a03b-2b2a9ac481f0 compute-node1
* Right now, we can't provision VM on a specific ironic node with option "--availability-zone nova:xxxx"
For Storage Node:
root@uc1:~#nova boot --flavor g1.storage --image Ubuntu-trusty --key-name mykey1 --nic net-id=f6e86850-32e9-4366-a03b-2b2a9ac481f0 storage-node1
c)
Verify:
root@uc1:~#nova list
root@uc1:~#ironic node-list
10)
Power Off/On (Optional):
root@uc1:~#ironic node-set-power-state 2d32d1dd-5363-47d4-a5d6-dc3a1fe7f496xx off
root@uc1:~#ironic node-set-power-state 2d32d1dd-5363-47d4-a5d6-dc3a1fe7f496xx on
11)
Validate
#ironic node-validate [node-id]
12)
How to Delete nova vm and ironic node
$nova delete [vm-id]
$ironic node-set-provision-state [node-id] deleted
$ironic node-delete [node-id]
Register quanta node
#################
1)
Create chassis
#ironic chassis-create
2)
Create node
#ironic help node-create
#ironic node-create -d pxe_ipmitool -c 2c860c23-20ef-4b21-bbf3-656047beb85c -i ipmi_address=100.234.122.92 -i ipmi_username=admin -i ipmi_password=admin -i ipmi_terminal_port=0 -p cpus=16 -p memory_mb=131072 -p local_gb=678 -p cpu_arch=x86_64
#ironic node-list
3)
Create port
3a)
Find MAC address
a)
Open ILO web interface.
Then Open Remote console
Then reboot the system via ILO web interface "Remote Control" --> Server Power control --> Reset Server --> Click on "Perform action"
Then Press "F11 or F12", then "Ctrl + S" to enter into setup menu (Bios)
b)
Enable PXE boot (Network boot)
"Advanced" --> "OnBoard Device Configuration" --> "Onboard LAN Port" --> "Enable with PXE"
3b)
#ironic help port-create
#ironic port-create -a 2C:60:0C:28:3B:92 -n 0aa9238b-39ed-45a6-a803-f20755748882
#Ironic port update, if you want to change the MAC address
#ironic port-update 18580aeb-81e0-4936-baab-d23a36e3c01a replace address=2c:60:0c:28:3b:91
4)
Ironic node Update
#ironic node-update 0aa9238b-39ed-45a6-a803-f20755748882 replace properties/cpu_arch=x86_64.g1.compute
#ironic node-update 0aa9238b-39ed-45a6-a803-f20755748882 replace maintenance=False
5)
Power-off the system
#ironic node-set-power-state 0aa9238b-39ed-45a6-a803-f20755748882 off
6)
Test nova boot
#nova boot --flavor g1.compute --image Ubuntu-trusty --key-name mykey1 --nic net-id=f6e86850-32e9-4366-a03b-2b2a9ac481f0 compute-node1-quanta
#nova list
#ironic port-list
No comments:
Post a Comment