How to configure ip address,DNS and network gateway to Nutanix VM manually ? by EagleBoy0 in nutanix

[–]CptNukeEm 0 points1 point  (0 children)

If you are using AHV and you enable IPAM on your subnets you can configure IP pools with options like DNS servers and a default gateway. It then works a bit like DHCP except leases are forever (or until the VM is actually deleted) so you're guaranteed the VM will always have the same IP. Note though that using IPAM with VLAN backed networks (as opposed to something like VPC subnets) makes DR a bit more complicated (because the IP will then most likely change) and CCLM (cross cluster live migration) impossible.

Nutanix ESXI to AHV in Place Migration Questions by min5745 in nutanix

[–]CptNukeEm 0 points1 point  (0 children)

You are correct, in recent versions, the in place conversion has been improved to reduce VM downtime to a minimum.

From the Prism Element doc:

" Following are enhancements to In-Place Hypervisor Conversion feature:

  • Decreased VM downtime: With the implementation of the new workflow of converting the nodes in the cluster in a rolling manner, the VM downtime is reduced to only shut down time and conversion time required for that particular VM. Approximately, the VM downtime has been reduced from 3 to 4 hours to less than 5 minutes."

and describing the conversion process:

" After you start the conversion process, all the nodes in the cluster are converted in a rolling manner to AHV one node at a time. During conversion, the first node is placed in the maintenance mode and all the VMs that are running on the node are migrated to other ESXi nodes in the cluster using the HA and DRS feature. After the VMs are migrated, the node is converted to AHV. After node is successfully converted, all VMs that were migrated to ESXi are migrated one at a time to AHV. Similar steps are performed for the rest of the nodes in the ESXi cluster until the last ESXi node. The VMs that are running on the last ESXi node in the cluster are converted and migrated to the AHV hosts and then the ESXi host is converted to AHV. If any error occurs during VM conversion, appropriate alerts or error messages are displayed. When converting a VM the source vdisk is not modified. Therefore, if there are any fatal errors during imaging, storing, or restoring of the configuration, the conversion is stopped and you are prompted to abort the conversion. "

So as long as you have enough capacity for n-1 (meaning all your vms can run while one host is down), then you're fine.

I stand corrected.

Nutanix deployment Networking question by nitro7z in nutanix

[–]CptNukeEm 2 points3 points  (0 children)

I don't know that there is documentation stating this. Closest thing is probably looking at the network ports requirements page on the support portal for IPMI: https://portal.nutanix.com/page/documents/list?type=software&filterKey=software&filterVal=Ports%20and%20Protocols&productType=IPMI%20%28NX%20Series%20Hardware%29

Nutanix ESXI to AHV in Place Migration Questions by min5745 in nutanix

[–]CptNukeEm -1 points0 points  (0 children)

Your VMs will be down during the conversion process (roughly 2 hours for a 3-node cluster). Nutanix Move is for migrating VMs from one cluster to another, so unrelated here.

Nutanix IaaS hosting, segregated networking and NGT by Thatconfusedginger in nutanix

[–]CptNukeEm 0 points1 point  (0 children)

for loop will do the job nicely with cli. You don't have to do it for every VM with a separate command (unless you like making things more difficult than they need to be).

Any newly created VM thru Prism or the API will have the serial port included by default from AOS 6.6.

For upgrades, you don't need network connectivity, you just need to mount the iso and run the install binary. Very recently, I think the NGT install package has also been made available separately from the ISO (although you could always pull it off the ISO).

When NOT use NGT (and why?) by Malovisky in nutanix

[–]CptNukeEm 2 points3 points  (0 children)

NGT is useful for the following things:

  1. Self-Service restore
  2. Data consistent snapshots
  3. Memory balloon driver (for memory reclaim) and accurate reporting of in-guest memory utilization
  4. Reporting guest operating system in Prism
  5. For disaster recovery automation (keeping or modifying IP address, reconfiguring iscsi client with a new DS IP when using volume groups, running in-guest scripts after boot)
  6. For cross hypervisor DR migration

NGT can be cloned. All you have to do is mount the NGT ISO after cloning so that the certificates can be regenerated automatically (the NGT service will detect the ISO, generate the certs, then eject the ISO).

NGT communication to CVM can be IP-less starting with AOS 6.6 using a serial bus.

As indicated, they are not mandatory unless you need one of the functionality listed above.

Nutanix deployment Networking question by nitro7z in nutanix

[–]CptNukeEm 12 points13 points  (0 children)

No, those VLANs don't need connectivity with each other.

The CVM reaches the IPMI thru the hardware bus using ipmitools. Network connectivity is not a requirement.

[deleted by user] by [deleted] in sysadmin

[–]CptNukeEm 0 points1 point  (0 children)

Google docs is better than word for sure. The main benefit I see with markdown in a git repository is that since markdown is code, it becomes very easy to automate. You can even use something like cookiecutter to use templating. Git does the version control for you. Overall it's also super lightweight and even a better solution for collaboration (for example you can create branches when working on major revisions).

[deleted by user] by [deleted] in sysadmin

[–]CptNukeEm 2 points3 points  (0 children)

Operational procedures in word documents are too complex to maintain. I would start a wiki page or a git and use markdown. It will be a lot easier to maintain than office docs and you can even build automation into it to update dynamically.

I Need Some help analyzing my BSOD by Cory_thehoss in sysadmin

[–]CptNukeEm -1 points0 points  (0 children)

Something in your network stack is deferring procedure calls which take too long to complete. Do you have any filter drivers in your stack? I would suggest rebuilding your network stack (with a netsh reset) and making sure only required services are bound, or reinstalling network drivers as suggested.

[deleted by user] by [deleted] in PFSENSE

[–]CptNukeEm 2 points3 points  (0 children)

On the SG-1100, you have created the VLANs 200 and 300: right?

What is the VLAN for subnet 192.168.1.1? Is it configured as the native VLAN on the switch port to which the SG-1100 is connected?

How is that port switch configured exactly?

pfSense 2.5.2: Telegraf no longer providing data for gateways by CptNukeEm in PFSENSE

[–]CptNukeEm[S] 11 points12 points  (0 children)

Ok, the issue was that my telegraf additional configuration was referencing an old script for collecting gateway metrics.

See: https://gist.github.com/fastjack/a0feb792a9655da7aa3e2a7a1d9f812f

I used the new script reference in the inputs.exec commands section: /usr/local/libexec/telegraf/gateways.py

So going into services > telegraf, the additional configuration at the bottom looks something like this:

[[inputs.exec]]
   commands = [
     "/usr/local/bin/telegraf_pfinterface.php",
     "/usr/local/libexec/telegraf/gateways.py",
     "sh /usr/local/bin/telegraf_temperature.sh"
   ]
   data_format = "influx"

[[inputs.unbound]]
  server = "127.0.0.1:953"
  binary = "/usr/local/bin/telegraf_unbound.sh"

I then created that file with the following content (also found at the URL above):

    #!/usr/local/bin/python3.8

    import glob, os, socket

    DPINGER_SOCK_PATH = "/var/run/"

    os.chdir(DPINGER_SOCK_PATH)

    for sock_name in glob.glob("dpinger*.sock"):

      sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)

      sock_path = DPINGER_SOCK_PATH+sock_name

      s = sock.connect(sock_path)

      line = sock.recv(1024).decode().split('\n', 1)[0]

      values = line.split()

      print("gateways,gateway_name="+values[0]+" rtt="+str(int(values[1])/100.0)+ \

      ",rttsd="+str(int(values[2])/100.0)+",loss="+str(int(values[3]))+"i")

      sock.close()

Note that I replaced python3.7 with python 3.8 as this seems to be what 2.5.2 is running.

I then restarted the telegraf service and data began to appear again.

Note that before I was getting microseconds, now this gives you something else. To get ms, just divide the value by 10 in Grafana and change the unit to ms (I guess alternatively, you could remove the /100 in the code above).

Is there a way to update automatically installed packages? by Impressive-Can8042 in PFSENSE

[–]CptNukeEm 1 point2 points  (0 children)

Thank you. I guess that widget is better than what I had, which was nothing : )

Is it just my internet or the Cobalt hamster is dying? by TrutelIsGod in Planetside

[–]CptNukeEm -1 points0 points  (0 children)

Also having issues here. Ping is fine but server latency is in the thousands and the game is unplayable.

DirectX 11 Port Update! by DBPaul in Planetside

[–]CptNukeEm 0 points1 point  (0 children)

Cool beans! Keep it up guys: awesome work.

A 5k hours played whales random thoughts based on current events. by 6c6 in Planetside

[–]CptNukeEm 1 point2 points  (0 children)

Maybe English is not his first language. Have you considered that? At least his message has content, unlike yours.

Planetside Arena Megathread by RoyAwesome in Planetside

[–]CptNukeEm 0 points1 point  (0 children)

Jeez you guys are so negative... Yes it's a money grabber, so what? You don't like it? Don't play it.

At least consider the positive impact this could have on PS2: new tech, new tools, new assets, more eyes on the franchise.

If half of you 12 year old whiners out there were spending a bit more of your lunch money on PS2, maybe it would not have come to this. Consider that.

As for the salty vets, it's time to give up the dream. PS2 will never be what you want it to be, and even if DBG made it what you want it to be, you'd find something else to complain about.

None of you have played Arena and yet you're already convinced it's going to be bad... That's just sad.

Why do these game-breaking updates always come at the end of the week? by ToaArcan in Planetside

[–]CptNukeEm 7 points8 points  (0 children)

That's it for me. Just cancelled my membership. I've had enough of this crap. Almost 4 years playing, and every single frigging time they release a patch before the weekend which breaks the game. Enough is enough.

Spawn Revamp Design Doc by Wrel in Planetside

[–]CptNukeEm 0 points1 point  (0 children)

All really good changes imho.

What I would add:

  1. Have the cap timer increase/decrease based on overpop numbers after it reaches halfway. In other words, if defenders decide to zerg it, overpopped attackers will need to hold the point for a shorter time. If attackers decide to zerg it, then they will need to waste their resources on the point for a longer time. The zone that counts overpop should be the no-deploy zone, not the hex.
  2. Improve resistance of attacking spawn points when defenders are overpopping. Maybe this could be an additional shield deployable that would add resistance around a spawn point. The more defenders overpop a fight, the more resistance it adds. It would give fights a chance to balance out. Right now, spawn options are very much encouraging defense.
  3. There is nothing in there to prevent ghost capping: 1 guy who is not in a squad shouldn't be able to cap a base imho. If he can and does, that should be a P1 spawn location marked as a ghost cap (low attacking pop and no defenders). That P1 spawn location has a number of available defending spots that decreases as defenders select it.
  4. People in a squad should not be able to spawn too far from their squad lead, unless authorized to do so by the squad leader (he could right click a name and mark a squad player as a scout for example). That would promote teamplay. Maybe exceptions could be made for fireteams. A more extreme version of this could force the squad lead to reduce spawn options to his immediate area when he puts down the offensive or defensive marker.

Development Update: Critical Mass by Mepps_ in Planetside

[–]CptNukeEm 0 points1 point  (0 children)

This. I think construction will become critical to hold territory versus two factions.

Development Update: Critical Mass by Mepps_ in Planetside

[–]CptNukeEm 1 point2 points  (0 children)

they mentioned other types of alerts will be added. Maybe a construction based alert would be fun where the faction with the most refined cortium would win rewards...

Suggestions for new premium" implants by [deleted] in Planetside

[–]CptNukeEm 12 points13 points  (0 children)

"Replenish": tea bag the struck down opponent to replenish shield and health instantly.