RE: Windows Server 2016 Templates for CloudStack

2018-07-27 Thread Paul Angus
Many moons ago a wrote a little powershell that ran only on first startup which 
grabbed the data and updated the windows box and rebooted it. You have to set 
the security to allow it to run, the script sets it back to default... 
(please don’t judge me).

$DHCP= (ipconfig /all | findstr /C:"DHCP Server").split()[-1]
$DNSSUFFDATA=Get-WmiObject -class "Win32_NetworkAdapterConfiguration" | Where 
{$_.DNSDomain -notlike ""} | Select-Object DNSDomain
$DNSSUFF=$DNSSUFFDATA.DNSDomain
$NEWHOSTNAME = Invoke-WebRequest -URI 
http://$DHCP/latest/meta-data/local-hostname -UseBasicParsing
Rename-Computer -NewName $NEWHOSTNAME -Force
netdom computername $NEWHOSTNAME /Add:$NEWHOSTNAME.$DNSSUFF
netdom computername $NEWHOSTNAME /MakePrimary:$NEWHOSTNAME.$DNSSUFF
set-ExecutionPolicy -ExecutionPolicy Restricted -scope CurrentUser
Restart-Computer




paul.an...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 


-Original Message-
From: Andrija Panic  
Sent: 27 July 2018 20:22
To: users 
Subject: Re: Windows Server 2016 Templates for Cloudstack

We are using original one (cloud instance manager) sucessfully - at least on 
older template (from say 8 months ago...) - not sure if versions have been 
changing or not - here is what we use (version check) 
https://snag.gy/prZTPB.jpg so you can try ti compare... Unless some new mega 
security by MS to ban setting pass(I guess you confirmed the service is 
running, after install ?)

Though, hostname is not set indeed - it's random windows style...

On Fri, 27 Jul 2018 at 16:48,  wrote:

> Thank you, I’ll look into it.
>
>
> Simon Völker
> Fraunhofer-Gesellschaft e.V.
> Abteilung C7 Kommunikationsmanagement
> Schloss Birlinghoven IZB, 53754 Sankt Augustin
> Telefon: (02241) 14-2311
> E-mail: simon.voel...@zv.fraunhofer.de simon.voel...@zv.fraunhofer.de>
>
>
>
> Am 27.07.2018 um 11:09 schrieb Dag Sonstebo 
>  >:
>
> Hi Simon,
>
> With regards to hostname this should just be a question of setting 
> your Windows template to pick up hostname from DHCP.
>
> Admin passwords – if the existing install doesn’t work you could look 
> at a cloud-init derivative for Windows, looks like 
> https://cloudbase.it/cloudbase-init/ may do the trick?
>
> Regards,
> Dag Sonstebo
> Cloud Architect
> ShapeBlue
>
> On 27/07/2018, 09:53, "simon.voel...@zv.fraunhofer.de simon.voel...@zv.fraunhofer.de>"  simon.voel...@zv.fraunhofer.de>> wrote:
>
>Hi,
>
>we are currently updating templates we provide to our customers.
> However, we are running into problems with Windows Server 2016 and the 
> cloudstack functionality of setting an administrator password and a 
> hostname. The CloudInstanceManager we used for older versions does not 
> seem to work anymore. Does anybody know a successor to the Cloud 
> Instance Manager or a workaround to make the functions work in Server 2016?
>
>Regards
>
>Simon Völker
>Fraunhofer-Gesellschaft e.V.
>Abteilung C7 Kommunikationsmanagement
>Schloss Birlinghoven IZB, 53754 Sankt Augustin
>Telefon: (02241) 14-2311
>E-mail: simon.voel...@zv.fraunhofer.de simon.voel...@zv.fraunhofer.de>
>
>
>
>
>
>
> dag.sonst...@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK @shapeblue
>
>
>
>
>

-- 

Andrija Panić


Re: Windows Server 2016 Templates for Cloudstack

2018-07-27 Thread Andrija Panic
We are using original one (cloud instance manager) sucessfully - at least
on older template (from say 8 months ago...) - not sure if versions have
been changing or not - here is what we use (version check)
https://snag.gy/prZTPB.jpg so you can try ti compare... Unless some new
mega security by MS to ban setting pass(I guess you confirmed the
service is running, after install ?)

Though, hostname is not set indeed - it's random windows style...

On Fri, 27 Jul 2018 at 16:48,  wrote:

> Thank you, I’ll look into it.
>
>
> Simon Völker
> Fraunhofer-Gesellschaft e.V.
> Abteilung C7 Kommunikationsmanagement
> Schloss Birlinghoven IZB, 53754 Sankt Augustin
> Telefon: (02241) 14-2311
> E-mail: simon.voel...@zv.fraunhofer.de simon.voel...@zv.fraunhofer.de>
>
>
>
> Am 27.07.2018 um 11:09 schrieb Dag Sonstebo  >:
>
> Hi Simon,
>
> With regards to hostname this should just be a question of setting your
> Windows template to pick up hostname from DHCP.
>
> Admin passwords – if the existing install doesn’t work you could look at a
> cloud-init derivative for Windows, looks like
> https://cloudbase.it/cloudbase-init/ may do the trick?
>
> Regards,
> Dag Sonstebo
> Cloud Architect
> ShapeBlue
>
> On 27/07/2018, 09:53, "simon.voel...@zv.fraunhofer.de simon.voel...@zv.fraunhofer.de>"  simon.voel...@zv.fraunhofer.de>> wrote:
>
>Hi,
>
>we are currently updating templates we provide to our customers.
> However, we are running into problems with Windows Server 2016 and the
> cloudstack functionality of setting an administrator password and a
> hostname. The CloudInstanceManager we used for older versions does not seem
> to work anymore. Does anybody know a successor to the Cloud Instance
> Manager or a workaround to make the functions work in Server 2016?
>
>Regards
>
>Simon Völker
>Fraunhofer-Gesellschaft e.V.
>Abteilung C7 Kommunikationsmanagement
>Schloss Birlinghoven IZB, 53754 Sankt Augustin
>Telefon: (02241) 14-2311
>E-mail: simon.voel...@zv.fraunhofer.de simon.voel...@zv.fraunhofer.de>
>
>
>
>
>
>
> dag.sonst...@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>
>
>
>
>

-- 

Andrija Panić


Re: CloudStack ELK log management plugin

2018-07-27 Thread Rodrigo Jorge
Thank you for shared with us, good JOB !

Rodrigo

Em sex, 27 de jul de 2018 às 07:31, Paul Angus 
escreveu:

> That’s cool, looking forward to trying it out!
>
>
> Kind regards,
>
> Paul Angus
>
> paul.an...@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>
>
>
>
> -Original Message-
> From: Dag Sonstebo 
> Sent: 27 July 2018 11:14
> To: users@cloudstack.apache.org; dev 
> Subject: Re: CloudStack ELK log management plugin
>
> Hi Ivan – well done and good work!
>
> Regards,
> Dag Sonstebo
> Cloud Architect
> ShapeBlue
>
> On 27/07/2018, 11:11, "Ivan Kudryavtsev"  wrote:
>
> Dear CloudStack community,
>
> Today we announce the first public release of CloudStack plugin for
> virtual
> machines log management. The plugin uses ELK stack (specifically
> Filebeat,
> Logstash, Elasticsearch) to gather, organize and access virtual
> machines
> log through Apache CloudStack API.
>
> We publish the plugin under the Apache 2 License and will be happy if
> you
> find the product useful. If ApacheCloudStack community and leaders
> welcome
> inclusion of the plugin in the main source tree, then we will be happy
> to
> do it. However, now, It's delivered as a separate plug-in which can be
> deployed as a prebuilt JAR or compiled by the interested user
> him/herself.
>
> As for UI, we are out of capacity for UI development and unable to
> provide
> the plugin with the UI but If someone could write UI part of it. We are
> ready to collaborate and help with it.
>
> Project link, source code and documentation:
> https://github.com/bwsw/cloud-plugin-vm-logs
>
>
>
> --
> With best regards, Ivan Kudryavtsev
> Bitworks Software, Ltd.
> Cell: +7-923-414-1515
> WWW: http://bitworks.software/ 
>
>
>
> dag.sonst...@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK @shapeblue
>
>
>
>


Re: Windows Server 2016 Templates for Cloudstack

2018-07-27 Thread simon.voelker
Thank you, I’ll look into it.


Simon Völker
Fraunhofer-Gesellschaft e.V.
Abteilung C7 Kommunikationsmanagement
Schloss Birlinghoven IZB, 53754 Sankt Augustin
Telefon: (02241) 14-2311
E-mail: simon.voel...@zv.fraunhofer.de



Am 27.07.2018 um 11:09 schrieb Dag Sonstebo 
mailto:dag.sonst...@shapeblue.com>>:

Hi Simon,

With regards to hostname this should just be a question of setting your Windows 
template to pick up hostname from DHCP.

Admin passwords – if the existing install doesn’t work you could look at a 
cloud-init derivative for Windows, looks like 
https://cloudbase.it/cloudbase-init/ may do the trick?

Regards,
Dag Sonstebo
Cloud Architect
ShapeBlue

On 27/07/2018, 09:53, 
"simon.voel...@zv.fraunhofer.de" 
mailto:simon.voel...@zv.fraunhofer.de>> wrote:

   Hi,

   we are currently updating templates we provide to our customers. However, we 
are running into problems with Windows Server 2016 and the cloudstack 
functionality of setting an administrator password and a hostname. The 
CloudInstanceManager we used for older versions does not seem to work anymore. 
Does anybody know a successor to the Cloud Instance Manager or a workaround to 
make the functions work in Server 2016?

   Regards

   Simon Völker
   Fraunhofer-Gesellschaft e.V.
   Abteilung C7 Kommunikationsmanagement
   Schloss Birlinghoven IZB, 53754 Sankt Augustin
   Telefon: (02241) 14-2311
   E-mail: 
simon.voel...@zv.fraunhofer.de






dag.sonst...@shapeblue.com
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue






Combining Apache CloudStack Documentation

2018-07-27 Thread Paul Angus
Hi All,

Thank you to everyone for their appreciation of this little project.  In line 
with that and a couple of the comments, I've tweaked and added some links and 
fixed a load of internal links and references within the docs.

I've had a new repo created under our project [1] and linked it to ReadTheDocs 
[2].  I've been through all of the RTD settings and applied the same as the 
original ones had - including adding all of the existing maintainers.  It's 
just missing a web-hook, which I think infra will need to sort.

I've also done a load of work in the 'Doc Writers' section of the cwiki [3], to 
make getting started easier for people.

The 'new style' documentation is open for business wrt pull requests and merges 
by community people - so please get stuck in.

For anyone who is used to working with our documentation, please have a look at 
the Advanced Information section of [4] as it explains a couple of backend 
things that I've done, you should find that it makes things easier, but it 
explains why they're there and how they work.

[1] https://github.com/apache/cloudstack-documentation
[2] https://cloudstack-documentation.readthedocs.io/
[3] 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Doc+Writers?src=breadcrumbs-parent
[4] 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Getting+Started+Writing+Documentation

I'm on holiday with the family for a couple of weeks.
My TODO list when I return is:

- Update website to reflect new documentation location + 'pre 4.11 
documentation'
- update the redirect from http://docs.cloudstack.apache.org to the new 
location.
- add webhook to github repo to trigger builds when a commit happens
- Update pre 4.11 docs to make it clear that 4.11+ exists and add a link
- Make it clear on github that updates should be in new repo (maybe make 
readonly)
- port across any updates made to the old docs to the new docs during 
transition.





Kind regards,

Paul Angus


paul.an...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 



RE: CloudStack ELK log management plugin

2018-07-27 Thread Paul Angus
That’s cool, looking forward to trying it out!


Kind regards,

Paul Angus

paul.an...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 


-Original Message-
From: Dag Sonstebo  
Sent: 27 July 2018 11:14
To: users@cloudstack.apache.org; dev 
Subject: Re: CloudStack ELK log management plugin

Hi Ivan – well done and good work!

Regards,
Dag Sonstebo
Cloud Architect
ShapeBlue

On 27/07/2018, 11:11, "Ivan Kudryavtsev"  wrote:

Dear CloudStack community,

Today we announce the first public release of CloudStack plugin for virtual
machines log management. The plugin uses ELK stack (specifically Filebeat,
Logstash, Elasticsearch) to gather, organize and access virtual machines
log through Apache CloudStack API.

We publish the plugin under the Apache 2 License and will be happy if you
find the product useful. If ApacheCloudStack community and leaders welcome
inclusion of the plugin in the main source tree, then we will be happy to
do it. However, now, It's delivered as a separate plug-in which can be
deployed as a prebuilt JAR or compiled by the interested user him/herself.

As for UI, we are out of capacity for UI development and unable to provide
the plugin with the UI but If someone could write UI part of it. We are
ready to collaborate and help with it.

Project link, source code and documentation:
https://github.com/bwsw/cloud-plugin-vm-logs



-- 
With best regards, Ivan Kudryavtsev
Bitworks Software, Ltd.
Cell: +7-923-414-1515
WWW: http://bitworks.software/ 



dag.sonst...@shapeblue.com
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK @shapeblue
  
 



CEPH / CloudStack features

2018-07-27 Thread Dag Sonstebo
Hi all,

I’m trying to find out more about CEPH compatibility with CloudStack / KVM – 
i.e. trying to put together a feature matrix of what works  and what doesn’t 
compared to NFS (or other block storage platforms).
There’s not a lot of up to date information on this – the configuration guide 
on [1] is all I’ve located so far apart from a couple of one-liners in the 
official documentation.

Could I get some feedback from the Ceph users in the community?

Regards,
Dag Sonstebo

[1] http://docs.ceph.com/docs/master/rbd/rbd-cloudstack/

dag.sonst...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 



Re: CloudStack ELK log management plugin

2018-07-27 Thread Dag Sonstebo
Hi Ivan – well done and good work!

Regards,
Dag Sonstebo
Cloud Architect
ShapeBlue

On 27/07/2018, 11:11, "Ivan Kudryavtsev"  wrote:

Dear CloudStack community,

Today we announce the first public release of CloudStack plugin for virtual
machines log management. The plugin uses ELK stack (specifically Filebeat,
Logstash, Elasticsearch) to gather, organize and access virtual machines
log through Apache CloudStack API.

We publish the plugin under the Apache 2 License and will be happy if you
find the product useful. If ApacheCloudStack community and leaders welcome
inclusion of the plugin in the main source tree, then we will be happy to
do it. However, now, It's delivered as a separate plug-in which can be
deployed as a prebuilt JAR or compiled by the interested user him/herself.

As for UI, we are out of capacity for UI development and unable to provide
the plugin with the UI but If someone could write UI part of it. We are
ready to collaborate and help with it.

Project link, source code and documentation:
https://github.com/bwsw/cloud-plugin-vm-logs



-- 
With best regards, Ivan Kudryavtsev
Bitworks Software, Ltd.
Cell: +7-923-414-1515
WWW: http://bitworks.software/ 



dag.sonst...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 



CloudStack ELK log management plugin

2018-07-27 Thread Ivan Kudryavtsev
Dear CloudStack community,

Today we announce the first public release of CloudStack plugin for virtual
machines log management. The plugin uses ELK stack (specifically Filebeat,
Logstash, Elasticsearch) to gather, organize and access virtual machines
log through Apache CloudStack API.

We publish the plugin under the Apache 2 License and will be happy if you
find the product useful. If ApacheCloudStack community and leaders welcome
inclusion of the plugin in the main source tree, then we will be happy to
do it. However, now, It's delivered as a separate plug-in which can be
deployed as a prebuilt JAR or compiled by the interested user him/herself.

As for UI, we are out of capacity for UI development and unable to provide
the plugin with the UI but If someone could write UI part of it. We are
ready to collaborate and help with it.

Project link, source code and documentation:
https://github.com/bwsw/cloud-plugin-vm-logs



-- 
With best regards, Ivan Kudryavtsev
Bitworks Software, Ltd.
Cell: +7-923-414-1515
WWW: http://bitworks.software/ 


Re: Windows Server 2016 Templates for Cloudstack

2018-07-27 Thread Dag Sonstebo
Hi Simon,

With regards to hostname this should just be a question of setting your Windows 
template to pick up hostname from DHCP. 

Admin passwords – if the existing install doesn’t work you could look at a 
cloud-init derivative for Windows, looks like 
https://cloudbase.it/cloudbase-init/ may do the trick?

Regards,
Dag Sonstebo
Cloud Architect
ShapeBlue

On 27/07/2018, 09:53, "simon.voel...@zv.fraunhofer.de" 
 wrote:

Hi,

we are currently updating templates we provide to our customers. However, 
we are running into problems with Windows Server 2016 and the cloudstack 
functionality of setting an administrator password and a hostname. The 
CloudInstanceManager we used for older versions does not seem to work anymore. 
Does anybody know a successor to the Cloud Instance Manager or a workaround to 
make the functions work in Server 2016?

Regards

Simon Völker
Fraunhofer-Gesellschaft e.V.
Abteilung C7 Kommunikationsmanagement
Schloss Birlinghoven IZB, 53754 Sankt Augustin
Telefon: (02241) 14-2311
E-mail: 
simon.voel...@zv.fraunhofer.de






dag.sonst...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 



Windows Server 2016 Templates for Cloudstack

2018-07-27 Thread simon.voelker
Hi,

we are currently updating templates we provide to our customers. However, we 
are running into problems with Windows Server 2016 and the cloudstack 
functionality of setting an administrator password and a hostname. The 
CloudInstanceManager we used for older versions does not seem to work anymore. 
Does anybody know a successor to the Cloud Instance Manager or a workaround to 
make the functions work in Server 2016?

Regards

Simon Völker
Fraunhofer-Gesellschaft e.V.
Abteilung C7 Kommunikationsmanagement
Schloss Birlinghoven IZB, 53754 Sankt Augustin
Telefon: (02241) 14-2311
E-mail: simon.voel...@zv.fraunhofer.de