Team,
Can anyone help me for this..On Thu, Apr 10, 2014 at 4:24 PM, Vishal Totare < " target="_blank"> > wrote:
But now am getting the different error.Hi Denis,Now have set the value in default.rb file (which defaults as nil: for url) under the attribute folder in java cookbook.
On Thu, Apr 10, 2014 at 2:35 PM, Vishal Totare < " target="_blank"> > wrote:
Denis,
Can you please elaborate now what to do to resolve the issue.
Regards,
Vishal Totare
On Thu, Apr 10, 2014 at 1:52 PM, Dennis Lovely < " target="_blank"> > wrote:
Right before the Recipe Compile Error block is the error message you're looking for:
FATAL: No download url set for java installer.
If you're running the community java cookbook, I expect its because nowhere are you trying to set that value, which defaults as nil:
https://github.com/socrata-cookbooks/java/blob/master/attributes/default.rb#L30HTHOn Thu, Apr 10, 2014 at 12:50 AM, Vishal Totare < " target="_blank"> > wrote:
But now am going to install tomcat, then getting the attached error.HI Dennis,Thanks after giving the -r recipe[mysql::server] parameter in my command then successfully able to install mysql server.
On Thu, Apr 10, 2014 at 12:01 PM, Dennis Lovely < " target="_blank"> > wrote:
When you're calling recipe[cookbookName], you're not implicitly specifying a recipe from that cookbook which you want to consume, so chef makes an assumption that if a default recipe exists, try to use it in this case. Effectively, calling recipe[cookbookName] is the same as recipe[cookbookName::default] As there's no default recipe in the mysql community cookbook, your run will fail, and you'll need to explicitly set the recipe you want to consume. If you're trying to bootstrap a mysql server, use recipe[mysql::server]. Mysql of course is the cookbook name, and server is the recipe that lives inside the recipes directory of this cookbook.HTHOn Wed, Apr 9, 2014 at 10:07 PM, Vishal Totare < " target="_blank"> > wrote:
Team,I am trying to install mysql on my windows machine,To install mysql, have performed the below steps.
1) # knife cookbook site install mysql
2) # knife cookbook upload mysql
3) knife node run_list add knife_windows_mysql "recipe[mysql]"But after executing the below command.
knife bootstrap windows winrm 54.187.59.189 -x vishal -P vishal -r "recipe[mysql]"
Getting the attached error.Vishal Totare
Regards,On Wed, Apr 9, 2014 at 10:25 PM, Vishal Totare < " target="_blank"> > wrote:
Vishal TotareBut am able to login with user/password, which i have mentioned in powershell in command "windows-instance-data-winrm.txt".Regards,
On Wed, Apr 9, 2014 at 10:12 PM, Vishal Totare < " target="_blank"> > wrote:Vishal TotareYeph, am not able to login into the machine using the above details.But am able to access the machine by Decrypted password of my key... How come ?Since am creating the machine without giving any key detail.
Regards,On Wed, Apr 9, 2014 at 8:26 PM, Nathen Harvey < " target="_blank"> > wrote:
looks like knife is unable to login with the credentials you've provided. Are you able to login to that windows machine with the following credentials?username: opscodepassword: passwordI suspect not. But that's what you've told knife to use.On Wed, Apr 9, 2014 at 9:03 AM, Vishal Totare < " target="_blank"> > wrote:
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.