Best posts made by matteo nunziati
-
installing hyper-v server 2016 on dl380g9 microSD storage
UPDATE
After the miserable MOBO failure, I've reinstalled the system again, but, this time, the "install windows as usual" didn't work anymore. This is a symptom that somwthin was "strange" with first run. Anyway there is an hardcore a-la-slackware-linux solution for installation. I've updated the how-to accordingly.premise
ok, yes, it's a microSD I know...
anyway this is the how-to for anyone in need.
I've wasted something like 2 days to figure out how to do this, despite being this a supported and certified solution. HP support has been partially useful. Infact Intelligent Provisioning (automatic provisioning for a given OS) is broken.preparation
- remove all of your disks, if you have disks into the arrays you will not be able to install on the microsd <- yay! this is 2017 and still we play these games
- enter bios settings and be sure that USB3 is disable (you can reenable later) and VID is enabled
- make a handy hyper-v bootable usb or you will be out of luck
VID is the "virtual installation disk" and contains all the drivers required for the dl380.
installation
- enter the bios one-time boot menu end select to boot from the USB pen
- when the windows setup appears, choose the little link on the lower-left corner: "repair pc", then enter toolboxes and run a DOS command shell
- use diskpart to setup partitions on the microSD: verify which disk is your microSD, I consider it here as disk 0
diskpart list disk select disk 0 clean <- this erases the disk!!! convert gpt create partition efi size=100 format quick fs=fat32 label="System" assign letter="S" create partition msr size=16 create partition primary format quick fs=ntfs label="Windows" assign letter="W" exit
- from command line:
powercfg /s 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c dism /Apply-Image /ImageFile:D:\install.wim /Index:1 /ApplyDir:W:\ <- MIND that D: is your USB pen letter, adjust accordingly
- wait for the extraction of the entire OS on the microSD, then
bcdboot W:\Windows /s S:
- reboot, automatic, several times, just remove the USB and let the server start the normal way.
windows will boot and ask for an admin password. mind that this installation is not localized: just use letters and numbers you are able to recognize once you will adjust your localization.
final thoughts
It is damnedsimplestraightforward, when you have discovered:- the right combination of bios settings which correctly allows you to install
- you have understood that Intelligent Provisioning, the HP tool for setting up bios for you, is broken, will create an unbootable NTFS efi partition and will broken your USB media.
hope this will save time to someone else!
bye,
MPS: used guides: partitioning, installation
-
RE: If you are new drop in say hello and introduce yourself please!
@scottalanmiller , all
hello.
I'm an almost 40 yo guy from Italy. Had a career as machine vision consultant, then I've started to work for a SMB (50 people including warehouse) in the glass market.
It's 1 year since I've started the job. In theory the tech office of the company asked for a coder, but it emerged out that they have no IT staff, no IT at all (but a xeon ws running as a server) and I've started scratching my head in order to remove the huge chaos in the company.
Basic knowledge on linux and kvm, mostly a coder in Python and C++. Always struggling with the "IT-is-just-a-cost" and "do-it-ourselves-will-cost-less" mood in a 13.000.000 € revenue company.
Recently I've started reading spiceworks, where I've met some of the guys who also post here (notably SAM). Then started looking at some posts here too!
-
A recommendation for Buffalo NASes (or at least their support)
ok, not involved with buffalo, just a customer of theirs. but this is my story.
a couple of years ago I wasn't aware of Buffalo as a NAS vendor. I've found their appliances in the current company.
Today , back from my citrix event I've received a mail from the NAS daily check: SMART has detected "6 bad sectors" in one of the 4 3TB disks. <- they sell populated units in Italy.Now the NAS is still covered by the default 3-year warranty, so I've called the tech support. Yes, I'm in Italy and they provide phone support localized in my language in the 9x5 timeframe. This is great, ok, but what about L1 support... everyone knows it: "hey did you check the power plug? oh, it is plugged...err.. sorry I've to ask L2 for this."
No! As with other enterprise grade companies, Buffalo L1 is really skilled people, I've asked them for other issues and always L1 solved them, being them replica issues, firmware issues etc...
OK, back in topic. I call them...
me: my daily SMART check mailed me about 6 bad sectors in 1 of the 4 disks: disk is still working and raid is not degraded but I would like to have a feedback (I actually wanted them to replace the drive).buffalo: please give me your S/N... ok you buyed a populated NAS and it is still under warranty period. I suggest to replace the drive ASAP before it will deteriorate. Please, send back the info I will ask you by e-mail and we will send a new HDD in 24 hours. you have 15 days to return the broken one.
Honestly, I'm not aware of a vendor in the SMB/ROBO/SOHO italian market, which:
- covers every NAS with a 3+2 year warranty
- sells you populated units covering HDD damages
- has a support center close to you, in your country, givin 9x5 support to both resellers and end users
- provides 24h replacement at vendor expense (including the returned unit)
- does this even for small 2-bay units!
they HW is not so great and the SW quite old and clumsy, but this kind of support/service is great for vendor standards in my country and always lets me think about buying a new one.
well... at least when you can't afford a SAM-SD of course
-
RE: how do you reboot your linux VMs in hyper-v?
LATEST NEWS:
yesterday, after a number of tests VM did freeze at reboot command rather than shutdown. As a last resort I've chosen to format SD/rest bios and restart from scratch.
My installation procedure did not work anymore... hell 2 times was right the third has failed...
called HPE this morning, they have asked me to do some tests via Intelligent Provisioning. IP. chrashed with missing linux kernel file (IP is based on linux)
they will start mobo substitution procedures tomorrow morning.
F*#@ wasted 15 days.
15 D.A.Y.S.
ever seen a failing server MOBO? I've. And I've provisioned just 3 servers in my life!
-
RE: Creating a free SMB 3.0 file server on Hyper-V 2016. Part 1: Installation and configuration
@oksana you should mention here that this is in violation of MS eula
-
RE: how do you reboot your linux VMs in hyper-v?
and after a lot of episodes, I've fixed the thing.
please let me state this again: I HAVE.
I.
Not the HPE support, not the reseller tech support.
I HAVE.
I = An almost idiot ex-embedded sw developer illogically cast into the sysadmin role of a non-sense company!
TL; DR:
there was a mismatch between OS version, bios version, controllers firmware version, controller drivers version. Selecting the right combination has (apprarently) fixed the issue!how storage controllers affect reboot signals is still a mistery... but actually all was related to the smart paging I mentioned before. Moving it from the default location caused all the issues.
I have discovered the "bug" recreating a new vm with copy-pasted hdd but with hypervisor defaults... 2 twins VM one running one not... only difference: location of the smart paging file. XD -
RE: Best tool to manage Centos KVM ? + Guide
It depends on what you want: virt-manager is considered the de-facto standard with few servers and VMs. Windows support is a mess in my experience. My workstation is a win10 machine with a linux VM constantly spawned, as my company uses win10 everywhere but I need a lot of linux stuff. So, when I need to go back to VM admin I simply open virt-manager in the linux VM on my workstation <- hoestly I do this rarely as my machine are created and kept running all the time.
Another tool for lightweight admin, still a bit lacking in features, is webvirt manager. It is a web app that you can even virtualize on a KVM host, then, you can connect the webvirt VM to the host (a la XOA).
I've use it for a while at the beginning but then I've gone back to virt-manager.
Moving to a more complex setup you could mind about ovirt: it is an orchestrator a la vServer and it requires a lot of stuff installed on top of libvirt-kvm. So, unless you need something like a data-center pane, avoid it. It will requires a lot of resources and setup.
-
wetting my feet with CM software
just for the curious, I'm trying to configure a couple of VM with ansible and salt just to compare them.
here is my diary with the gists.notes:
- this is a work in progress
- this is really n00b stuff: I'm a coder not a sys admin
- I'm not the kind of man than reads the full doc and then start code with order <- I rather create a lot of chaos and then I reorder and formalize after docs
- the document is a sort of diary updated live in these days whenever I've time.
bye bye
-
RE: wetting my feet with CM software
Once up and running, Salt is really the winner to me, for a number of reasons:
- it can leverage full Jinjia2 templating straight inside state files (playbooks) letting you avoiding to split playbooks or add all of those ‘when’ directives all around;
- its file.managed state is a proper diff-patch automatic routine able to check for file state without you to be required to create patches or so like you have to with Ansible: it is just auto-magic;
- while distro specificities are always there Salt tends to abstract away as most as possible the underlying OS you are configuring, leading to certain reductions in number of lines/verbosity. It is just a bit more “dense”. While not incredibly more dense, it is still more compact;
- I’ve not dig this in depth, but Salt allows you to keep your config files in a git repo in the cloud (say github or bitbucket) and deploy them from here. I’m talking about config templates or so, like a crontab file etc... Again I’ve not tested this so I can not comment on it, but it is a really nice idea. Ansible can leverage git in a way or another, but has not builtin modules for file redistribution straight from git.
-
RE: Benefits of using open source GPL software
@stacksofplates said in Benefits of using open source GPL software:
@matteo-nunziati said in Benefits of using open source GPL software:
@stacksofplates said in Benefits of using open source GPL software:
@Dashrender said in Benefits of using open source GPL software:
@scottalanmiller said in Benefits of using open source GPL software:
@Dashrender said in Benefits of using open source GPL software:
@scottalanmiller said in Benefits of using open source GPL software:
@stacksofplates said in Benefits of using open source GPL software:
@Dashrender said in Benefits of using open source GPL software:
@scottalanmiller said in Benefits of using open source GPL software:
@Dashrender said in Benefits of using open source GPL software:
Other than being free to use, what value does this give the people using it?
Open source does NOT mean free to use. It means free to support, inspect and modify. Often it is free to use, but that is not implied by the term open source nor by the GPL license.
OH? the GPL license doesn't mean that anything licensed under GPL has to be given away free?
Source code, that's all. Not a fully built and functioning version.
And you only have to give away the source if someone gets the binary legitimately. If you use GPL software internally, you need never give even the source away.
This doesn't even make sense. Is it GPL if you use it internally? I suppose you could license it under GPL, but why would you bother?
Of course it is GPL if you use it internally. You bother so that you are ready to release. Or, 99.9999% of the time, you do it because you have no choice because you used GPL code.
again, doesn't matter if you don't release it, as you already said.
It does for GPL. If you used any other GPL code and modified it in any way, you are required to provide that to the upstream provider.
No you don't. You have to provide source only if you redistribute it. not if you use it. Also you can charge for source if you redistribute software. You cannot charge for the source if you sell appliances (HW) based on open source code.
Back to main OP questions, GPL/BSD and so are useful because:
- you get more support form community. something quite difficult with closed source . In the latter case it is mostly empirical evidence, with opensource you can look at the code. Alao you can still buy enterprise support with opensource.
- I've done it a lot of code inspection to help myself understand where I was wrong. Something I can't do when I stuck with closed source. Here I must buy support.
- opensource is really audited by a larger audience
Ah I thought it was even if you just modify it. How would your users use it without it being distributed though?
well I think it really boils down to what redistribution is. If you consider internal use, IMHO you do not redistribute (also souce is usually available inside the same company, at least at my scale). If you give to a third party, then yes you are redistributing.
BTW a remarcable example of user usage without redistribution is web apps: this is why FSF created the AGPL.
-
RE: Centos Wifi Drivers not present Help Needed
@lakshmana said in Centos Wifi Drivers not present Help Needed:
I have installed CentOS Linux 7 (Core). After installation the same Sony Laptop which is not detecting the Wifi Drivers. nm-ttols are already present in the machine but tried to check in Network connections in GUI but there is no option for Wifi. Anyone help me?
Generally speaking, use fast releasing distro for consumer hw. Maybe third party repos can help but you end up with a patchwork.
-
RE: How to change you Server 2016 Evaluation into a Standard License
@jaredbusch repetedly done on VMs. I install trial and then add serial in this way.
-
RE: Ethernet link going down and then up after 3 seconds.
@pete-s said in Ethernet link going down and then up after 3 seconds.:
@momurda said in Ethernet link going down and then up after 3 seconds.:
What services are on this?
What does the switch it is connected to tell you?It's a file server. No disruption in service has been noticed.
The switch is one of the HP procurve smart-switches. Can't remember what model but it's gigabit. I don't know what kind of logging it has, if any.
In my experience spanning tree on managed switches can cause random "holes". If it is a procurve 2xxx or higher it should have a console with a log command. A handy one able to filter warnings and so.
Would be interesting to log into the switch and check the file server port. -
RE: Why Are UTMs Not Recommended Generally
@hobbit666 said in Why Are UTMs Not Recommended Generally:
I understand the no need for UTM to block stuff as most routers will do it. But what about things like content filtering? How do you block unwanted websites being accesed?
usually with proper VM acting as content filters/proxies
-
RE: How can I build this displaylink driver for fedora 29
@JaredBusch said in How can I build this displaylink driver for fedora 29:
I have a standard Dell USB dock but want to use it with a Fedora 29 user.
https://github.com/displaylink-rpm/displaylink-rpm
That repo has a pull request in for the Fedora 29 updates, but I figured I could build it early for testing. Also I want to get more familiar with doing this on Linux in general.
I have no
*devel
bits installed on my system. Obviously, I can clone it down and run make, but I wonder if I need any other resources?Inside the "ci" folder there is a script to let fedora downlad everything and compile via makefile
-
RE: Stanford Removes Java in Favor of JavaScript in Intro to Computer Science Course
@scottalanmiller also python is way more general purpouse. Hell I've written the entire code of a machine vision industrial app in python (with binds) and it was production code not lab stuff.
Even the CNC part was wrapped with python (controller was pure c from the linux cnc project) and the damn thing was really good!
If you ask me it will be my language of choice along with c/c++
-
RE: Creating a free SMB 3.0 file server on Hyper-V 2016. Part 1: Installation and configuration
@nashbrydges said in Creating a free SMB 3.0 file server on Hyper-V 2016. Part 1: Installation and configuration:
@matteo-nunziati said in Creating a free SMB 3.0 file server on Hyper-V 2016. Part 1: Installation and configuration:
@oksana you should mention here that this is in violation of MS eula
It's clearly mentioned in the linked article.
Yes it is. They are really clear on this. But the pointer here is misleading imho.
-
RE: What Are You Doing Right Now
waiting for my daughter to fall WELL asleep in my bed, so that I can move her to her bed and finally put myself in my bed.
it's midnight here. really tough night this night.