How to add a parameter in VMWare WorkStation - vmware

I am trying to add the parameter disk.EnableUUID=true.
I am doing these steps that I found:
Click VM Options tab, and select Advanced.
Click Edit Configuration in Configuration Parameters.
Click Add parameter.
In the Key column, type disk.EnableUUID.
In the Value column, type TRUE.
Click OK and click Save.
I don't see the option to add a new parameter.
Is there another way to add parameters?
I use VMware Workstation 15 Pro.

Related

how do i create a keyboard shortcut to upload a specific lambda function in vsCode?

I'm new to vsCode and want to streamline some basic workflows related to Lambda functions. For example, I want to create a keyboard shortcut to update "TestFunction." To do this today I have to:
Select the AWS Explorer extension in the left bar
Navigate in the Explorer bar to "TestFunction"
Right click "FirstFunction"
Select "Upload Lambda."
This brings me to a dialog to "select upload type" and allows me to choose between 'ZIP Archive' and 'Directory.' I want to select 'Directory'
This brings up a Finder dialog. I then navigate to the folder that holds the files for "TestFunction" and select this folder
This brings up a dialog that asks me to "Build Directory?" I select No
This brings up a confirmation dialog that says "This will immediately publish the selected code as the $LATEST version of Lambda: firstFunction. Continue?" I select yes
After going through these steps, the Lambda function is uploaded and deployed. I'd like to do this with a simple keyboard shortcut. Thanks in advance!

AWS Sagemaker Cant train my Keras model - ErrorMemoryError: Unable to allocate 20 GiB for an array with shape and data type

it's my very first time using AWS Sagemaker, so I'm trying to fit my keras model and get this error the whole time. I don't know how can I solve it , I tried doing echo 1 > /proc/sys/vm/overcommit_memory but then kernel died. I was using the most basic and cheapest version for Sagemaker, I think it has 4GB ,may it be the problem?
But I dont really know with this configuration I can fit this model in my own computer, so that means that Sagemaker has less power than my computer?
Thanks.
For a model that requires a 20GB array to be stored, you'd probably want to use something like an ml.t3.2xlarge or ml.m5.8xlarge instance, which have 32GB of memory available.
There are two ways to solve this problem:
Method 1
You can select this from the SageMaker Studio environment if you're using the SM Studio IDE, via the "Switch instance type" button at the top of your notebook tab.
Once you've done this, the instance list will appear in a pop up, and you need to click on the "Fast launch only" selector button, so that you can see all available instance types.
Method 2
Alternatively, if you're using a "traditional" SageMaker Jupyter notebook without the SageMaker Studio IDE:
Goto the main SageMaker console.
Click on Notebook -> Notebook Instances.
Click on the hyperlink of the notebook you want to change the instance type for.
This will take you to the "Notebook instance settings" page.
Click on the "Edit" button (top right).
Select your new, larger instance type from the "Notebook instance type" drop down list.
Scroll down to the bottom of the page and click on the "Update notebook instance" button.
This will take you back to your list of notebook instances.
Note that the list will contain the word "Updating", with a clock icon next to it in the Status column.
If this hasn't refreshed after a few minute, click on your browser refresh button.
The instance should now show as being available/In Service, with the new instance size/type listed in the "Instance" column.
If it's not started, click on the "Start" link in the "Actions" column and it should start with the new instance type.

How to restore an accidentally deleted GPO. Please advise

I have deleted one GPO from DC (Windows server 2012 R2). How do i restore it back. Domain Function level is 2008 R2. Is there any option.? Please advise. Thanks
To restore a deleted GPO:
In the Group Policy Management Console tree, click Change Control in
the forest and domain in which you want to manage GPOs.
On the Contents tab, click the Recycle Bin tab to display the deleted GPOs.
Right-click the GPO to restore, and then click Restore.
Type a comment to be displayed in the history of the GPO, and then click OK.
When the Progress window indicates that overall progress is
complete, click Close. The GPO is removed from the Recycle Bin tab
and is displayed on the Controlled tab.
Source: Restore a Deleted GPO

VmWare vSphere: send automatically mail/notification on event

I'm new on vsphere and I have an important question.
Is there a section where I can set parameters that allow a vsphere to send me notifications/email when a condition happens?
For example when a virtual machine cpu usage go over a value that I have set as 'alarm value' or when a virtual machine disk space usage go over a value vsphere send an email/notification that inform me.
I try to navigate over the menu but I don't find anything like this.
can I use an external app?
Haven't done it myself but according to the documentation:
In the Actions tab of the Alarm Settings dialog box, click Add to
add an action.
In the Actions column, select Send a notification email from the drop-down menu.
In the Configuration column, enter recipient addresses. Use commas to separate multiple addresses.
If you're not familiar with alarms at all you may want to take a look at their Alarm Example.

Is there a way to view logs from three different remote nodes on one tab on Chainsaw

Is there a way to view logs from three different remote nodes on one tab? Right now I get three tabs open for three nodes.
Here is my log4j config for the same app deployed on three different linux boxes
log4j.appender.HUB=org.apache.log4j.net.SocketHubAppender
log4j.appender.HUB.port=39867
log4j.appender.HUB.LocationInfo=true
log4j.appender.HUB.Threshold=INFO
log4j.appender.HUB.application=remotehost
Yes.
You can create a new tab from existing events via the 'view, create tab from expression' menu item - it will combine events matching the expression into a new tab. As new events which match the expression arrive, they will also be added to the new tab.
This isn't persistent - restart Chainsaw and you have to go through that process again.
If you want to permanently change things, you can modify the 'tab name/event routing expression' under Chainsaw preferences. As events come in, the expression in the 'event routing expression' box is resolved with the values for the current event. If a tab exists with that tab name, the events are added to that tab. If no tab exists, a new tab is created.
An example expression you could use in the 'view, create tab from expression' expression box (assuming the events you are interested in all have an 'application' column with 'remoteHost' as the value in that column):
PROP.application=remoteHost
This second option just builds a string - isn't really an expression like the search and filter expression syntax...
An example tab name/event routing expression you could use to get all events with 'remoteHost' as the application on a tab called 'remoteHost':
PROP.application
By the way, I would suggest checking out the latest developer snapshot of Chainsaw, available here:
http://people.apache.org/~sdeboy