Skip to content

Commit

Permalink
added missing file template-hwx-post.json, other minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Claudio Fahey committed Mar 12, 2015
1 parent 302ab4f commit 9b555e5
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bde/create_cdh_users.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

gid_base=601
uid_base=601
gid_base=1000
uid_base=1000

#for user in hdfs mapred hbase hive yarn oozie sentry impala spark hue sqoop2 solr sqoop httpfs llama zookeper flume sample; do
# userdel -f -r $user
Expand Down
2 changes: 1 addition & 1 deletion bde/remote_mount_nfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ NFSPATH=$3
echo ${USER_HOST}
ssh ${USER_HOST} "umount ${MOUNT} ; mkdir -p ${MOUNT}" || exit
ssh ${USER_HOST} "grep -v ${MOUNT} /etc/fstab > /tmp/fstab ; cp /tmp/fstab /etc/fstab" || exit
ssh ${USER_HOST} "echo ${NFSPATH} ${MOUNT} nfs nolock,nfsvers=3,tcp,rw,hard,intr,timeo=600,retrans=2,rsize=131072,wsize=524288 >> /etc/fstab" || exit
ssh ${USER_HOST} "echo ${NFSPATH} ${MOUNT} nfs nolock,nfsvers=3,tcp,rw,hard,intr,timeo=600,retrans=2,rsize=524288,wsize=524288 >> /etc/fstab" || exit
ssh ${USER_HOST} "mount -a; ls -lh ${MOUNT}" || exit

22 changes: 22 additions & 0 deletions etc/template-hwx-post.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"ser_host": "https://bde.lab.example.com:8443",
"ser_username": "root",
"ser_password": "your_vsphere_password",
"skip_configure_network": false,
"dhcp_domain": ".lab.example.com",
"cluster_name": "mycluster1",
"host_file_name": "etc/mycluster1-hosts.txt",
"node_password": "your_vm_root_password",
"name_filter_regex": "",
"tools_root": "/mnt/scripts/isilon-hadoop-tools",
"nfs_mounts": [
{"mount_point": "/mnt/scripts", "path": "subnet0-pool0.isiloncluster1.lab.example.com:/ifs/isiloncluster1/scripts"}
],
"ssh_commands": [
"/mnt/scripts/isilon-hadoop-tools/bde/mount_data_directories.pl",
"cp -Rv /mnt/scripts/isilon-hadoop-tools/bde/centos6.4-overwrite/* /",
"sysctl -p ; true",
"echo never > /sys/kernel/mm/redhat_transparent_hugepage/defrag"
]
}

0 comments on commit 9b555e5

Please sign in to comment.