Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:dedicated-server:tutorials:network:configure-rpn-san:esxi [2015/12/04 15:13]
jojo ↷ Page déplacée de en:serveur-dedie:tutoriel:rpn-san:esxi à en:dedicated-server:tutoriel:rpn-san:esxi
en:dedicated-server:tutorials:network:configure-rpn-san:esxi [2019/02/14 14:47] (current)
dedibox
Line 1: Line 1:
 ===== RPN-SAN : VMWare ESXi ===== ===== RPN-SAN : VMWare ESXi =====
  
 +
 +
 +<note tip> ​
 +**Requirements:​**
 +  * You have an account at [[https://​console.online.net|console.online.net]]\\
 +  * You have a [[https://​www.online.net/​fr/​serveur-dedie|Dedibox]] dedicated server
 +  * You have installed your server with VMware ESXi from the management console
 +</​note>​
 <note important>​This documentation covers the versions 5.0/​5.1/​5.5/​6.0 of VMWare ESXi</​note>​ <note important>​This documentation covers the versions 5.0/​5.1/​5.5/​6.0 of VMWare ESXi</​note>​
  
 ==== Configuration of VMWare ESXi for the usage of the RPN ==== ==== Configuration of VMWare ESXi for the usage of the RPN ====
  
-=== Activation of the ESXi console ​=== +=== Activation of SSH === 
-   Start the vSphere client +   Start the vSphere client; (1) click the Configuration tab, (2) click Security Profile in the Software panel. 
-   - Select the host, click the Configuration tab, and click Security Profile in the Software panel. +{{:​en:​dedicated-server:​tutorials:​network:​configure-rpn-san:​esxi-san-en-01.png|}} 
-   In the Services section, click Properties. +   In the Services section, click Properties. 
-   ​Select ESXi Shell and click Options. +{{:​en:​dedicated-server:​tutorials:​network:​configure-rpn-san:​esxi-san-en-02.png|}} 
-   Change the ESXi Shell options+   * (1) Select SSH; (2) click options; (3) Select "Start and stop manually";​ (4) Manually launch ​the service 
-   - To enable access permanently, ​click Start and stop with host. The change will take effect ​the next time you reboot the host. +{{:​en:​dedicated-server:​tutorials:​network:​configure-rpn-san:​esxi-san-en-03.png|}}
-   ​Click OK+
  
 === Configuration of ESXi to access the RPN network === === Configuration of ESXi to access the RPN network ===
  
 == In the ESXi interface == == In the ESXi interface ==
 +  * Go to "​Configuration"​ → "​Network configuration (1), then click on "​Properties"​
 +{{:​en:​dedicated-server:​tutorials:​network:​configure-rpn-san:​esxi-san-en-04.png|}}
  
-Create a new VMKernel named RPN” and bind it to the network card connected ​to the RPN. +  * Create a new VMKernel named "RPN" linked ​to the RPN interface 
-The network will go down because the virtual mac is not the same than the one of the physical card (for security reasons)+{{:​en:​dedicated-server:​tutorials:​network:​configure-rpn-san:​esxi-san-en-05.png|}} 
 +{{:​en:​dedicated-server:​tutorials:​network:​configure-rpn-san:​esxi-san-en-06.png|}} 
 +  * To continue select "​Assign IP automatically"​ and validate the windows 
 + 
 +<​note>​The network will go down because the MAC address ​is not correct.</​note>​
  
 == Set the MTU 9000 == == Set the MTU 9000 ==
 +  * Go to Configuration → Network settings → Properties... (of vSwitch1)
 +{{:​en:​dedicated-server:​tutorials:​network:​configure-rpn-san:​esxi-san-en-07.png|}}
 +  * Select the vSwitch (1) and change it (2)
 +{{:​en:​dedicated-server:​tutorials:​network:​configure-rpn-san:​esxi-san-en-08.png|}}
 +  * Enter the MTU 9000 and save the changes
 +{{:​en:​dedicated-server:​tutorials:​network:​configure-rpn-san:​esxi-san-en-09.png|}}
  
-  Configuration -Network settings -Properties... (of vSwitch1) +<note>Attention: There is a risk that it will not work, if the MTUs are not matching</​note>
-  vSwitch -> Modify -> MTU = 9000 -> OK +
-  RPN -> Modify -> MTU = 9000 -> OK+
  
-//​Attention:​ If the MTUs are not matching, there is a risk that it will not work// +== Prepare your ESXi ==
- +
-== In the console ​==+
  
 Edit the configuration file of ESXi Edit the configuration file of ESXi
Line 49: Line 64:
 Reboot the ESXi to take the changes into effect Reboot the ESXi to take the changes into effect
  
-[[en:serveur-dedie:tutoriel:rpn-by-online.net:​find-rpn-gateway|Find your RPN gateway]]+[[en:dedicated-server:tutorials:network:​find-rpn-gateway |Find your RPN gateway]]
  
-Add to route the subnet ​of the RPN the IP of its gateway +Add route for the RPN subnet ​via the IP of its gateway 
-  esxcfg-route -a 10.90.0.0/15 [PUT HERE YOUR RPN GATEWAY]+ 
 +  esxcfg-route -a 10.88.0.0/13 [PUT HERE YOUR RPN GATEWAY]
  
 //Attention : You need to add the route to /​etc/​rc.local to keep it after a reboot// //Attention : You need to add the route to /​etc/​rc.local to keep it after a reboot//
Line 67: Line 83:
  
 == In the ESXi interface == == In the ESXi interface ==
 +  * Go to the configuration tab, then select "​Storage controller"​ (1), then "​Add"​ (2)
 +{{:​en:​dedicated-server:​tutorials:​network:​configure-rpn-san:​esxi-san-en-10.png|}}
  
-Click on  +  * Select “Software iSCSI Adapter” ​then click OK 
- +{{:​en:​dedicated-server:​tutorials:​network:​configure-rpn-san:​esxi-san-en-11.png|}}
-  Configuration -> Storage adapters -> Add... +
- +
-Select +
- +
-  ​“Software iSCSI Adapter” ​-> OK +
- +
-Then click on  +
- +
-  Software Adapter (normally named vmhba32) +
-   +
-Click then, in the panel at the bottom, at  +
- +
-  Properties  +
- +
-Go to the tab //Dynamic discovery//,​ then click on+
  
-  ​Add...+  ​* Click on Software Adapter (normally named vmhba32) (1), then click on Properties (2) 
 +{{:​en:​dedicated-server:​tutorials:​network:​configure-rpn-san:​esxi-san-en-12.png|}}
  
-Enter the address of the RPN server in the textbox “iSCSI Server” ​(the address is available in your management console)+  * Go to the tab //Dynamic discovery// ​(1), then click on "​Add"​ (2)... 
 +{{:​en:​dedicated-server:​tutorials:​network:​configure-rpn-san:​esxi-san-en-13.png|}}
  
-Click on+  * Enter the address of the RPN server in the text box “iSCSI Server” (the address is available in your management console) 
 +{{:​en:​dedicated-server:​tutorials:​network:​configure-rpn-san:​esxi-san-en-14.png|}}
  
-  OK -> Fermer +  ​* Click on "OK" and Accept the proposed ​re-scanning. 
-   +{{:​en:​dedicated-server:​tutorials:​network:​configure-rpn-san:​esxi-san-en-15.png|}}
-Accept the proposed ​rescanning.+
  
-The IET disk will appear in the panel at the bottom +  * The IET disk will appear in the panel at the bottom 
-Now go to +  ​* ​Now go to Configuration → Storage (1) → Add storage (2) 
 +{{:​en:​dedicated-server:​tutorials:​network:​configure-rpn-san:​esxi-san-en-16.png|}} 
 +  * Select "​Disk/​LUN"​ 
 +{{:​en:​dedicated-server:​tutorials:​network:​configure-rpn-san:​esxi-san-en-17.png|}} 
 +  * Select your directory, then click on "​Next"​ 
 +{{:​en:​dedicated-server:​tutorials:​network:​configure-rpn-san:​esxi-san-en-18.png|}}
  
-  Configuration -> Storage -> Add storage... -> Disk/LUN -> Etc... +Your SAN is now mounted and usable in ESXi!
-   +
-to use the added storage+
  
 +<​note>​If VMFS5 causes problems, choose VMFS3 for your target. </​note>​