Permalink
Browse files

Fixed list and code blocks

  • Loading branch information...
1 parent 5370393 commit 72755d82330af82a411cf3bbd6d117d1514c5d5f @calvinbui committed Nov 24, 2016
@@ -39,43 +39,48 @@ Here is my current setup and what I have:
For this, I used the Windows vSphere client instead of the web client
-1. Connect directly to your ESXi host instead of vCenter
-2. Unzip the unlock-all-v130.zip file
-3. Open a datastore (Configuration > Hardware > Storage) by right-clicking it and selecting 'Browse Datastore...'
+**1.** Connect directly to your ESXi host instead of vCenter
+**2.** Unzip the unlock-all-v130.zip file
+**3.** Open a datastore (Configuration > Hardware > Storage) by right-clicking it and selecting 'Browse Datastore...'
- ![1](/images/{{page.images}}/11.png)
+![1](/images/{{page.images}}/11.png)
-4. Copy the 'esxi' folder to the datastore by selecting 'Upload Folder' making note of the warning of replacing any existing folders you may have with the same name
-5. Enable and connect to SSH on the host (Configuration > Software > Security Profile > Services > Properties > SSH > Options > Start > OK)
+**4.** Copy the 'esxi' folder to the datastore by selecting 'Upload Folder' making note of the warning of replacing any existing folders you may have with the same name
+**5.** Enable and connect to SSH on the host (Configuration > Software > Security Profile > Services > Properties > SSH > Options > Start > OK)
- [![2](/images/{{page.images}}/21.png)](/images/{{page.images}}/21.png)
+[![2](/images/{{page.images}}/21.png)](/images/{{page.images}}/21.png)
+
+**6.** Change directory over to your VMFS datastore
-6. Change directory over to your VMFS datastore
```terminal
$ cd /vmfs/volumes/[datastore]/
```
-7. I recommend changing the name of the unlocker's folder to something else such as osx_unlocker
+**7.** I recommend changing the name of the unlocker's folder to something else such as osx_unlocker
+
```terminal
$ mv esxi osx_unlocker
```
-8. Go into the unlocker folder afterwards
+**8.** Go into the unlocker folder afterwards
+
```terminal
$ cd osx_unlocker
```
-9. Make the install and uninstall file executable
+**9.** Make the install and uninstall file executable
+
```terminal
$ chmod +x *
```
-10. Run the install script file
+**10.** Run the install script file
+
```terminal
$ ./install.sh
```
-11. Reboot your ESXi host
+**11.** Reboot your ESXi host
## Create the ISO image
@@ -45,32 +45,42 @@ First thing to do is enable jumbo frames. Typically, networks set their 'maximum
To enable jumbo frames on Solaris 11, Oracle provides a [very easy guide](https://docs.oracle.com/cd/E19120-01/open.solaris/819-6990/ggtwf/index.html) to this:
-1. Select the interface to enable jumbo frames on, list it using the command:
+**1.** Select the interface to enable jumbo frames on, list it using the command:
+
```terminal
$ dladm show-phys
LINK MEDIA STATE SPEED DUPLEX DEVICE
vmxnet3s0 Ethernet up 10000 full vmxnet3s0
```
-2. See the current MTU, replacing vmxnet3s0 with your interface
+
+**2.** See the current MTU, replacing vmxnet3s0 with your interface
+
```terminal
$ dladm show-linkprop -p mtu vmxnet3s0
LINK PROPERTY PERM VALUE DEFAULT POSSIBLE
vmxnet3s0 mtu rw 1500 1500 60-9000
```
-3. Turn off the interface to configure it
+**3.** Turn off the interface to configure it
+
```terminal
$ ifconfig vmxnet3s0 unplumb
```
-4. Set MTU to 9000
+
+**4.** Set MTU to 9000
+
```terminal
$ dladm set-linkprop -p mtu=9000 vmxnet3s0
```
-5. Re-enable the interface
+
+**5.** Re-enable the interface
+
```terminal
$ ifconfig vmxnet3s0 plumb 10.0.0.5/24 up
```
-6. Check if it has updated
+
+**6.** Check if it has updated
+
```terminal
$ dladm show-link vmxnet3s0
LINK CLASS MTU STATE BRIDGE OVER
@@ -103,61 +113,18 @@ Of course this depends on the hardware you are using so I can't help much here.
LSO or Large Segment Offload is a technology to reduce CPU while having better network performance through segmentation. Segmentation however is not required if we are using an MTU of 9000 however.
-1. Run the following command to disable LSO though Solaris
-
- # ndd -set /dev/ip ip_lso_outbound 0
-
-2. Disable LSO through the VMXNET3 driver. Edit /kernel/drv/vmxnet3s.conf. I changed EnableLSO and MTU.
-
-
- # Driver.conf(4) file for VMware Vmxnet Generation 3 adapters.
-
- # TxRingSize --
- #
- # Tx ring size for each vmxnet3s# adapter. Must be a multiple of 32.
- #
- # Minimum value: 32
- # Maximum value: 4096
- #
- TxRingSize=256,256,256,256,256,256,256,256,256,256;
-
- # RxRingSize --
- #
- # Rx ring size for each vmxnet3s# adapter. Must be a multiple of 32.
- #
- # Minimum value: 32
- # Maximum value: 4096
- #
- RxRingSize=256,256,256,256,256,256,256,256,256,256;
-
- # RxBufPoolLimit --
- #
- # Limit the number of Rx buffers cached for each vmxnet3s# adapter.
- # Increasing the limit might improve performance but increases the
- # memory footprint.
- #
- # Minimum value: 0
- # Maximum value: RxRingSize * 10
- #
- RxBufPoolLimit=512,512,512,512,512,512,512,512,512,512;
-
- # EnableLSO --
- #
- # Enable or disable LSO for each vmxnet3s# adapter.
- #
- # Minimum value: 0
- # Maximum value: 1
- #
- EnableLSO=0,0,0,0,0,0,0,0,0,0;
-
- # MTU --
- #
- # Set MTU for each vmxnet3s# adapter.
- #
- # Minimum value: 60
- # Maximum value: 9000
- #
- MTU=9000,9000,9000,9000,9000,9000,9000,9000,9000,9000;
+**1.** Run the following command to disable LSO though Solaris
+
+```terminal
+$ ndd -set /dev/ip ip_lso_outbound 0
+```
+
+**2.** Disable LSO through the VMXNET3 driver. Edit /kernel/drv/vmxnet3s.conf. I changed EnableLSO and MTU near the bottom of the file.
+
+```config
+EnableLSO=0,0,0,0,0,0,0,0,0,0;
+MTU=9000,9000,9000,9000,9000,9000,9000,9000,9000,9000;
+```
## Tuning

0 comments on commit 72755d8

Please sign in to comment.