Team,Almost i have resolved the issue. But now i am getting the attached error.
On Wed, Apr 9, 2014 at 4:15 PM, Vishal Totare < " target="_blank"> > wrote:
No issue will raise question into mailing list.Hi Tesibai,Ok thanks for the update... i though you all are from opscode.
On Wed, Apr 9, 2014 at 3:59 PM, Tensibai < " target="_blank"> > wrote:Vishal, please understand you're writing to a community mailing-list here.
We're not all opscode employee, we're helping when we can on free time so don't expect to have dedicated/hyper fast answers.
As advice I would direct you to follow this https://learnchef.opscode.com/ which explain bases on recipes/roles etc.
I hope you'll be successfull whith it.
Regards
Tensibai
Le 2014-04-09 11:03, Vishal Totare a écrit :
Hi Nathen,After long time i got the below attached error.
On Wed, Apr 9, 2014 at 12:34 PM, Vishal Totare < " target="_blank"> > wrote:
Vishal TotareFind the snap for your reference..Regards,
On Wed, Apr 9, 2014 at 12:23 PM, Vishal Totare < " target="_blank"> > wrote:
Vishal TotareRegards,Nathen,I believe as you are only a right person to resolve my problem. So please help on this.
On Wed, Apr 9, 2014 at 11:08 AM, Vishal Totare < " target="_blank"> > wrote:
Hi Nathen & Team,
Any update please...
On Tue, Apr 8, 2014 at 10:55 PM, Vishal Totare < " target="_blank"> > wrote:
Team,Please assist on the same.
On Tue, Apr 8, 2014 at 10:33 PM, Vishal Totare < " target="_blank"> > wrote:
Vishal TotareTeam,If require then i can share my machine while performing the steps.Please let me know your availability.Regards,
On Tue, Apr 8, 2014 at 10:15 PM, Vishal Totare < " target="_blank"> > wrote:
Vishal TotareRegards,Means, am not come again my bash prompt as did it for linux instance at the time of creating by knife ec2 command in aws.But as per my pervious snap while creating windows machine along with the role, am getting long connectivity for "Waiting for winram".As per my understanding, first am going to initialize/create windows instance in AWS.Nathen,But without creating windows machine, How can i execute the above command.
On Tue, Apr 8, 2014 at 6:34 PM, Nathen Harvey < " target="_blank"> > wrote:
Have you set-up the node the way he mentions in the doc?winrm quickconfig -qwinrm set winrm/config/winrs @{MaxMemoryPerShellMB="300"}winrm set winrm/config @{MaxTimeoutms="1800000"}winrm set winrm/config/service @{AllowUnencrypted="true"}winrm set winrm/config/service/auth @{Basic="true"}Also, I noticed you're trying to use a t1.micro. That simply may not be a large enough instance to be performant.-Nathen
On Tue, Apr 8, 2014 at 7:41 AM, Vishal Totare < " target="_blank"> > wrote:
Hi Nathen,But my concern:-
Thanks for the document...
I have created chef-client on linux machine.
I am executing the command from linux machine (chef-client) to create windows instance in AWS by using below command.# knife ec2 server create "role[base-windows]" --region=us-west-2 --availability-zone=us-west-2a --image ami-20147a10 --flavor=t1.micro --groups chef_communicator -i ~/.ssh/chef-client.pem --node-name knife_windows_node_mysql
But machine is created in AWS & while executing Waiting for winrm..........its taking too much time & we are not getting my roles/recipe into the windows machine.
Since have mentioned in recipe to install IIS, tomcat, mysql.
Please suggest & find the snap for more reference.
On Tue, Apr 8, 2014 at 4:51 PM, Nathen Harvey < " target="_blank"> > wrote:
Vishal,You might want to check out this tutorial that Sambit Kumar Mahanta (@sambit12 on twitter) recently posted.-Nathen
On Tue, Apr 8, 2014 at 6:19 AM, Vishal Totare < " target="_blank"> > wrote:
Vishal TotareTeam,Any update...Regards,
On Tue, Apr 8, 2014 at 10:48 AM, Vishal Totare < " target="_blank"> > wrote:
5) Then added recipe in role & then uploaded the role too.4) Added the run_list in my chef-server using below command.3) Uploaded the same.2) Then executed the same in cookbooks folder.1) Using below command, have downloaded the mysql cookbook.As suggested, For mysql cookbook have performed the below steps.Hi Nathen,Thanks!!
# knife cookbook site download mysql 5.0.2
# tar -xzvf mysql -C cookbooks/
# knife cookbook upload mysql
# knife node run_list add target1 "recipe[mysql]"
# knife role from file base-windows.rb
6) And the last executed the below command to create node in my AWS environment.
# knife ec2 server create "role[base-windows]" --region=us-west-2 --availability-zone=us-west-2a --image ami-20147a10 --flavor=t1.micro --groups chef_communicator -i ~/.ssh/chef-client.pem --node-name knife_windows_node_mysql
Afterwards waiting for winram is taking too much time & have seen in the console as machine has been created but whatever role we need to define that will not be apply to my created windows instance. Means when i physically checked the java, ntp, mysql service in my services.msc then unable to find it.
So, Please help me on this since i performing the same task from last two days and even unable to get where i can check why waiting for winram is taking too much time.Note:- I have already open 22,80,443,3389,3306 port for new windows machine.Regards,
Vishal Totare
On Sun, Apr 6, 2014 at 3:35 PM, Nathen Harvey < " target="_blank"> > wrote:
Vishal,Have you created cookbooks for each of your components (java, tomcat, mysql, and iis)? Or have you found cookbooks that will do what you want for each of these?If not, that's the place to start. You might find that these cookbooks from the community site offer some good patterns for how to build your cookbooks. You might even be able to use these directly.Once you've created the necessary cookbooks, you'll be able to specify the run list using '-r' flag for run list. Using this, you'll specify the comma separated list of roles/recipes to apply.For example, something like:knife ec2 server create -r "recipe[java],recipe[tomcat],role[database],role[webserver]"Good luck!Nathen
On Sat, Apr 5, 2014 at 2:15 PM, Vishal Totare < " target="_blank"> > wrote:
Hi Team,
We are able to create ec2 (linux) instance using knife ec2 command along with
created recipe.
Now, the same way i need to create windows machine along with below
application.
1) Java
2) tomact
3) mysql
4) IIS
Can anyone please help me for the same. Since i am only able to create windows
machin using knife ec2 command but not known how to install the above
application on created windows machine in the same command.
Please assist on high priority.
Regards,
Vishal Totare
Archive powered by MHonArc 2.6.16.