Wednesday, September 6, 2017

Remove a host from vSAN cluster

1. Run 'esxcli vsan cluster get' and note the number of hosts it sees in the cluster.
2. Place host in maintenance mode and select full data migration option. 3.3.
3. Remove the disk group.
4. Take it out of the cluster.
5. Run 'esxcli vsan cluster get' again and note the number of hosts it sees in the cluster. Should be one less.

Netapp Filer shutdown procedures

Power OFF:

1. SSH into Netapp Filer's BMC at 192.168.0.1
2. Login with username: naroot password: <password db - nb-nas1a>
3. Type the following at SP shell -> system console then press enter twice
4. At the login prompt username:root password: <password db>
5. Type the following at the Netapp> options autosupport.doit "Planned Outage"
6. Type the following at the Netapp>
7. cf disable
8. halt -t 0
9. Type the following at the dn-nas1b>
10. halt -t 0

*** After the halt commands are issued, wait for it to reboot into a LOADER> prompt. You can then poweroff the switches once it's at the LOADER> prompt.


Power ON:
1. Power-on the power switches to the disk shelf. (Wait 3 minutes for the disks to spin-up and settle)
2. Power-on the power switches to the controllers (Wait 10 minutes for the OS to boot-up)
3. SSH into the Netapp's BMC at 192.168.0.1
4. Login with username: naroot password: <password>
5. Type the following at SP shell -> system console then press enter twice
6. At the login prompt username:root password: <password>
7. Type the following at the Netapp> cf enable
8. Test access of CIFS shares from a computer via Windows Explorer.


Command if netapp does not boot up.
boot_ontap

Add local printer via powershell

add-printerport -name 'hn-check' -printerhostaddress '192.168.0.1'

add-printerdriver -Name 'HP LaserJet 4200/4300 PCL6 Class Driver'

add-printer -Name 'hn-check' -DriverName 'HP LaserJet 4200/4300 PCL6 Class Driver' -PortName 'hn-check'